I've followed this blog post https://blog.evoluso.com/proxmox-remove-lvm-local-data/.
Basically, i wanted to wipe the local-lvm, however, i end up with resizing root partition.
I've run the following code:
Now my local-lvm is merged into root partition.
I would like to rebuild the local-lvm, can someone support me to do this?
This is my current lsblk:
I would like to have 900GB for my local-lvm and have the remaining in the root partition.
Is this feasible?
Thanks
Basically, i wanted to wipe the local-lvm, however, i end up with resizing root partition.
I've run the following code:
Code:
1. Remove /dev/pve/data
lvremove /dev/pve/data
2. Resize root partition
lvresize -l +100%FREE /dev/pve/root
3. Completing
resize2fs /dev/mapper/pve-root
Now my local-lvm is merged into root partition.
I would like to rebuild the local-lvm, can someone support me to do this?
This is my current lsblk:
Code:
root@pve:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 953.9G 0 disk
├─sda1 8:1 0 1007K 0 part
├─sda2 8:2 0 512M 0 part /boot/efi
└─sda3 8:3 0 953.4G 0 part
├─pve-swap 252:0 0 8G 0 lvm [SWAP]
└─pve-root 252:1 0 945.4G 0 lvm /
sr0 11:0 1 1024M 0 rom
I would like to have 900GB for my local-lvm and have the remaining in the root partition.
Is this feasible?
Thanks