Ask Your Question

RunInCircles's profile - activity

2017-01-24 14:19:14 -0600 received badge  Popular Question (source)
2017-01-24 14:19:14 -0600 received badge  Famous Question (source)
2017-01-24 14:19:14 -0600 received badge  Notable Question (source)
2015-05-18 13:38:02 -0600 received badge  Scholar (source)
2015-05-18 13:38:02 -0600 received badge  Scholar (source)
2015-05-18 13:37:52 -0600 commented answer Anaconda's default partitioning scheme when installing to an SSD+HDD system (F21)

Thanks for the tip! I was actually able to apply this to my home partition after I did a reinstall. It's probably overkill in a certain sense, but the man pages on the lvm utilities are pretty helpful and it wasn't too hard to do.

2015-05-14 21:56:02 -0600 received badge  Supporter (source)
2015-05-14 21:30:39 -0600 received badge  Good Question (source)
2015-05-14 17:22:43 -0600 received badge  Nice Question (source)
2015-05-14 16:04:22 -0600 commented question Anaconda's default partitioning scheme when installing to an SSD+HDD system (F21)

Thanks for your suggestion! Interesting that Anaconda would default to using LVM for the "workstation" edition in that case, but it perhaps would be convenient if you wanted to transparently treat multiple drives as one big one. In regards to your suggestion, I wonder if it is possible to consolidate my logical volume (spanning one partition on each drive) to a single partition on only the SSD. That is, without reinstalling from scratch. Of course, using LVM wouldn't be necessary in this case, anyway.

2015-05-14 15:51:01 -0600 received badge  Student (source)
2015-05-14 15:40:28 -0600 asked a question 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 ... (more)