View previous topic :: View next topic |
Author |
Message |
turtles Veteran
Joined: 31 Dec 2004 Posts: 1698
|
Posted: Fri Jan 03, 2025 8:33 pm Post subject: LVM and Raid1 with different size physical volumes |
|
|
How does LVM and Raid1 work with different size physical volumes in one volume group (VG)?
For example I have two matching drives in a VG, one has just one LVM partition the other has a few small partitions along with the big LVM one so they are not identical but close.
I have one Logical Volume I am installing Gentoo on I gave it a chunk of space.
But how to I allocate the rest of the space without wasting any?
with Code: | lvcreate --mirrors 1 --type raid -l 100% | ?
Thanks all and happy new year. _________________ Donate to Gentoo |
|
Back to top |
|
|
Akashchauhan n00b
Joined: 27 Jan 2025 Posts: 1
|
Posted: Mon Jan 27, 2025 12:35 pm Post subject: |
|
|
LVM with RAID1 will mirror the LV across both drives and use the smallest available space. It would be better to create or allocate other logical volumes so that both drives fit well. |
|
Back to top |
|
|
|