i don't want to get a separate disk for this so i was thinking i can resize the default partitions, create a new one and then sync.
i was able to resize the default data partition using the following:
umount /dev/mapper/pve-data
e2fsck -f /dev/mapper/pve-data
resize2fs /dev/mapper/pve-data 5000M
lvresize -L 5G /dev/mapper/pve-data
e2fsck -f /dev/mapper/pve-data
resize2fs /dev/mapper/pve-data
the next thing i would like to do is create a new partition and mount it to /drbd and add it to the pve group. that's where i'm having issues. does anyone have any tips on how i can create the a partition that's 150G, part of pve, and located on /drbd?
i was able to resize the default data partition using the following:
umount /dev/mapper/pve-data
e2fsck -f /dev/mapper/pve-data
resize2fs /dev/mapper/pve-data 5000M
lvresize -L 5G /dev/mapper/pve-data
e2fsck -f /dev/mapper/pve-data
resize2fs /dev/mapper/pve-data
the next thing i would like to do is create a new partition and mount it to /drbd and add it to the pve group. that's where i'm having issues. does anyone have any tips on how i can create the a partition that's 150G, part of pve, and located on /drbd?