I am still new on lvm, and I saw its robust if it used wisely. But I need really to understand the differences between lvm linear and striped methods on real hardware.
I did some searches and I found the linear method stores data in Physical Extent “PE” one by one which makes the life of the hard disk more shorter than usual “Hotspot area”. But the striped method distributes data to Physical Extent “PE” which saves the hard disk and increases the hard disk performance.
So, I want to setup this lvm schema/model on my pc:
First I have two hard disks the first one is a HDD and the second is a SSD:
sda HDD 1TB
sdb SSD 128GB
I will setup Windows for gaming stuff, alongside linux “fedor/arch/ubuntu…etc” with UEFI, So my schema will be like this
WHERE: group1 is one volume group “VG”
Does the schema I mentioned look logical to you? Any suggestions?
First problem here, Is lvm striped method worth to setup or I just stay with the default one lvm linear method.
Second problem how the data will be stored? I made one Volume group contains part of sdd and part of sdd, this part is confusing to me. I know lvm doesn’t care about hard disk types. But still confusing.
Third as you a fedora user, did you face any problems with lvm? Is there any thing I have to keep in my mind when I use lvm with fedora?
You are only going to get a performance benefit from striping when you’re going across multiple drives. But since you have one SSD and one spinning media drive, you’re going to get mixed results from that at best.
The main advantage of LVM here would be if you’re not sure how much to use for /home and how much to use for /stuff — LVM makes it easier to adjust that.
Personally, I’d put both /home and / on the SSD (possibly not as separate partitions, or as btrfs subvolumes) and have just /linux-data on the slower drive. That way, your own configuration files and workspace stuff also loads quickly.