Questions tagged [partition]

A partition is a means of logically dividing a computing resource (most frequently disk storage)

Partitions are a way to logically divide a computing resource. Most frequently this is applied to MBR Disk storage. For instance a hard drive or other storage media so that each partition is logically independent of one another. This can be done for a variety of reasons including security, separating multiple operating systems, utilizing multiple file systems, or other benefits realized by the logical separation.

1109 questions
14
votes
4 answers

Why does slice C or slice 2 cover the entire disk

Something that I was discussing with a couple of friends and we were unable to figure it out. In FreeBSD and OpenSolaris/Solaris when you partition a drive a partition is created that covers the whole disk: da0s1c c0d0s2 For example, the output of…
X-Istence
  • 752
  • 1
  • 8
  • 18
14
votes
2 answers

Non-interactively create one partition with all available disk size

This is disgusting to me, but it works: echo -e "n\np\n1\n\n\nt\nc\na\n1\nw" | fdisk /dev/sdb I would like to know a more prudent or elegant way to accomplish this. The entire boot record and partition table is being zeroed prior to this task, so…
andyortlieb
  • 1,092
  • 1
  • 12
  • 25
14
votes
4 answers

Recommended disk/partition setup for a SQL Server

I'm looking for some advice regarding the best way to set up my disks/partitions for SQL Server. Here are some of my major concerns: How should the SQL files be seperated (data files, logs, temp)? Is it better to RAID a lot of HDDs and partition the…
Shane
  • 1,869
  • 4
  • 20
  • 34
13
votes
1 answer

combine partitions to one disk image

I have 3 images. Each image was done by cloning (by dd) a partition (these partitions formatted using ext3 file system). One partition is boot-able with GRUB1 (CentOS) How can I combine them to one disk image? (I can copy the partitions images using…
Dima
  • 485
  • 3
  • 7
  • 15
13
votes
11 answers

How big should the swap partition be?

for some years, I've read that it's a good idea to create a swap partition having the double space of my RAM. does it still apply today? or this isn't needed anymore? I have a server with 8 GiB of RAM and I need to create a swap partition, and I was…
cd1
  • 1,484
  • 4
  • 12
  • 17
12
votes
2 answers

Mount Point Does Not Exist, Despite Creating It

I'm trying to install Arch on a Virtualbox VM. I'm following along this guide, and this video. Not sure if relevant, but the VDI file is on an external hard drive. I've created 3 partitions as per the video: /dev/sda1 linux-swap (~5 GB) /dev/sda2…
xyhhx
  • 893
  • 1
  • 7
  • 12
12
votes
2 answers

How to remove old kernels on CentOS 6 (to free up boot partition)?

How does one determine which kernels to remove in order to free up some space on /boot partition. Here is a scenario (some background info). 1. Parititon info (in case it helps) # df -h Filesystem Size Used Avail Use% Mounted on ... /dev/sda1 …
Shef
  • 284
  • 1
  • 3
  • 10
12
votes
9 answers

How can I increase the size of a Windows 2003 NTFS partition?

I have a very important server running Windows Server 2003 and my System partition is becoming too small, it's slowing down the machine. I have already tried all the cleaning stuff and transferring some "unimportant softs" on the "Saves" partition…
waszkiewicz
  • 1,002
  • 3
  • 17
  • 36
11
votes
2 answers

Shrink partition to exactly fit the underlying filesystem size

Recently i shrinked an ext4 filesystem size to 500GB df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 493G 64G 404G 14% / now i want to shrink the partition size to fit exactly to the filesystem size. I tried to used…
Vikelidis Kostas
  • 967
  • 1
  • 6
  • 16
11
votes
2 answers

How to mount new logical volume (adding to fstab and mtab)?

I created a new LV for the first time using this command: lvcreate -L 20G -n iew-vm-lv /dev/ubuntu-vg #create the new LV When I try running mount /dev/ubuntu-vg/iew-vm-lv, I get the following error: mount: can't find /dev/ubuntu-vg/iew-vm-lv in…
Nate
  • 449
  • 6
  • 11
  • 24
11
votes
5 answers

Resizing partition fdisk fails with invalid argument

I recently resized a VPS from a 50GB SSD to a 300GB SSD through my hoster's control panel. I now am trying to resize my main partition with fdisk to be able to use all the new space. However, fdisk gives me a warning upon starting: GPT PMBR size…
Bart Pelle
  • 421
  • 1
  • 3
  • 7
11
votes
1 answer

Are ZFS pools or LVM volume groups more reliable for utilizing many partitions?

When deciding whether to use LVM volume groups or ZFS pools in configuring new file servers, what needs to be considered? Is there a "better" choice in the realm of multi-purpose file servers? Unlike this previous question, I don't want to layer the…
warren
  • 18,369
  • 23
  • 84
  • 135
11
votes
3 answers

Where does Ubuntu store partition UUIDs on disk?

Exactly what part of the disk is a UUID stored on? MBR? Somewhere within the partition? Is it a calculated value, or randomly generated and recorded?
jldugger
  • 14,342
  • 20
  • 77
  • 129
11
votes
9 answers

What's the best file-system for storing virtual machine images?

I'm planning how to partition my hard drive. I want to have 2 partitions - one for Ubuntu, the main operating system, and the other for virtual machine images, as I want to run virtual machines of Windows and MacOS through VirtualBox. My question is…
11
votes
1 answer

What is the difference between the Linux and Linux LVM partition type?

Fdisk shows multiple partition types. What is the difference between choosing 83) Linux and 8e) Linux LVM? Choosing 83) Linux also works fine for using LVM, even creating a physical volume on /dev/sdb without a partition table works. Does picking a…
ujjain
  • 3,983
  • 16
  • 53
  • 91
1 2
3
73 74