Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Anaconda's default partitioning scheme when installing to an SSD+HDD system (F21)

I've had the good fortune of getting a new workstation equipped with a 256GB SDD and a 1TB HDD. I've essentially split each drive in half to dual boot Windows 7 and Fedora 21. My intention is to use the SSD for the OS + frequently accessed files while using the HDD for bulk storage and any "write heavy" operations that might put unnecessary wear on the SSD. After installing Windows 7 to the two "half"-drives, I insalled Fedora using Anaconda's automatic "dual-boot" option to install along side a currently present OS.

Anaconda reacted by setting up LVM, with one volume group for all of the remaining free space on both drives. It then created three logical partitions within it: swap (17 GB), root (54 GB), and home (557 GB). The output of fdisk --list is shown below.

Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xac7c8796

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048    206847    204800   100M  7 HPFS/NTFS/exFAT
/dev/sda2          206848 250161151 249954304 119.2G  7 HPFS/NTFS/exFAT
/dev/sda3       250161152 251185151   1024000   500M 83 Linux
/dev/sda4       251185152 500117503 248932352 118.7G  5 Extended
/dev/sda5       251187200 500117503 248930304 118.7G 8e Linux LVM

Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x55355c42

Device     Boot     Start        End   Sectors   Size Id Type
/dev/sdb1            2048  976762879 976760832 465.8G  7 HPFS/NTFS/exFAT
/dev/sdb2       976762880 1953523711 976760832 465.8G 8e Linux LVM

Disk /dev/mapper/fedora_dh3203--t1700--1-swap: 15.7 GiB, 16844324864 bytes, 32899072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/fedora_dh3203--t1700--1-root: 50 GiB, 53687091200 bytes, 104857600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/fedora_dh3203--t1700--1-home: 518.7 GiB, 556949045248 bytes, 1087791104 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/sdc: 14.9 GiB, 16008609792 bytes, 31266816 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x929e2b69

Device     Boot Start      End  Sectors  Size Id Type
/dev/sdc1        2048 31266815 31264768 14.9G  c W95 FAT32 (LBA)

Is this setup efficient as far as utilizing the disks? In other words, is LVM aware of how to best split up data between the SSD/HDD physical drives for good performance?

From this StackExchange question, the answer seems to be no, and that it's not a great idea to have SSD and HDD physical partitions residing in the same volume group. However, I haven't been able to find too much more information on this topic aside from that thread, and the technologies around SSD drives seem to be changing fast enough to warrant my trying to make sure I have the right info.

Assuming that this is correct and that I've messed up, what my options for setting up a better partitioning scheme? This would preferably involve a minimal amount of re-installing things, but the system is new and I haven't even finished moving my data onto it yet, so it might be worth doing.

The answer to this SX thread seems to describe a good setup for my hardware, but it looks like I'd need to reinstall at the very least. Are there any less invasive options? Are the more invasive options (e.g. setting up RAID) worth it?

Lastly, I also may shrink or remove the Windows partitions if they prove unnecessary, so I'd also like a setup which could easily allow for that, if possible.

Thank you!!

PS: I've read the Appendix in Fedora's installation manual on linux disk partitioning concepts. However, I'm not totally familiar with everything, so forgive me for inaccuracies in my question.