Paco Hope #BLM on Nostr: Anybody got any experience or resources for this #linux and #LVM thing I need to do? ...
Anybody got any experience or resources for this #linux and #LVM thing I need to do?
I have a new server I'm installing the xcp-ng hypervisor on. Right now, it has 10 disk slots, 2 for the RAID root volume, and 8 for the #LVM #RAID set. But I have this intermediate step I need to go through first and that's where I have a question.
Let's call the drives A - J. Right now A/B is a root partition mirrored pair. That's how they're gonna stay. They're small 233Gb. Drives C-J will be 8 x 2TB drives in a RAID 6 config. Right now, drives C and D are in the system in a non-redundant temporary config, holding about 5 VMs of important stuff. (Yes I have backups, no I don't want to use those backups 😃 )
What I want to do is put the additional 6 drives (E-J) in and make a RAID6 volume group. Then I'll migrate all the VMs from the non-redundant disks onto that VG. Then I'll wipefs those 2 non-redundant disks, and add them to the volume group. That gets me my 8-disk, RAID6 array.
I guess, since I don't have a ton of experience with LVM, I'm asking "is it really that easy?" Anything I should look out for?
It seems straightforward to create a RAID6 setup with only 6 disks. After I wipe disks C and D, it seems straightforward to say "Hey Volume Group, Here's some more PVs to use". But do I need to do anything more sophisticated? E.g., designating drives to have certain roles when I first create that 6-disk array? Is there something I'm not thinking about?
#selfhost #selfhosting
I have a new server I'm installing the xcp-ng hypervisor on. Right now, it has 10 disk slots, 2 for the RAID root volume, and 8 for the #LVM #RAID set. But I have this intermediate step I need to go through first and that's where I have a question.
Let's call the drives A - J. Right now A/B is a root partition mirrored pair. That's how they're gonna stay. They're small 233Gb. Drives C-J will be 8 x 2TB drives in a RAID 6 config. Right now, drives C and D are in the system in a non-redundant temporary config, holding about 5 VMs of important stuff. (Yes I have backups, no I don't want to use those backups 😃 )
What I want to do is put the additional 6 drives (E-J) in and make a RAID6 volume group. Then I'll migrate all the VMs from the non-redundant disks onto that VG. Then I'll wipefs those 2 non-redundant disks, and add them to the volume group. That gets me my 8-disk, RAID6 array.
I guess, since I don't have a ton of experience with LVM, I'm asking "is it really that easy?" Anything I should look out for?
It seems straightforward to create a RAID6 setup with only 6 disks. After I wipe disks C and D, it seems straightforward to say "Hey Volume Group, Here's some more PVs to use". But do I need to do anything more sophisticated? E.g., designating drives to have certain roles when I first create that 6-disk array? Is there something I'm not thinking about?
#selfhost #selfhosting