Score:1

LVM with uneven proportional "stripe" distribution over 2 disks of different sizes

np flag

Is there a way to create a "striped" LV in a VG with 2 disks of different sizes in such a way it utilizes 100% of the available space? Linear LV would work, but I want to have the load proportionally distributed over the 2 SSDs, one 500GB and the other 1TB.

Score:1
cn flag

There is the -i flag to lvcreate that lets you specify the number of stripes, but I'm not sure how it would handle more stripes than disks.

You could always partition your larger disk into two and then use each partition as a volume in LVM (I think), effectively telling LVM that there are 2 disks on the larger physical disk. I think it would work but I've never tried it!

Given the price of disks, I would simply buy a new disk to make a matched pair.

np flag
It works. It doesn't scale amazingly, but it works. Did a quick 4GB `dd` benchmarking and the 512GB SSD had a seq write of ~ 1.1 GB/s, 1TB had 1.3 GB/s, and a 3 stripe LV using 512GB SSD and 2 LVs on 1TB SSD as PVs had 1.6 GB/s.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.