I am running pve 4.4. I have the entire installation and pve-data on a single 250GB SSD. I have a spare 2TB HDD that I wanted to add for additional VM storage.
I ran through this document not realizing it was outdated:
https://pve.proxmox.com/wiki/Extending_Local_Container_Storage
I ran through the steps until I got to resize2fs command and received the following error:
resize2fs: Bad magic number in super-block while trying to open /dev/mapper/pve-data
After googling this, I realized that I was following an outdated way of extending the storage capacity of pve-data.
I'm trying to figure out how to undo what I did (that is, remove the 2TB drive from pve-data and resize pve-data down to what it was before) so that I can then add a new volume with the 2TB (the way I should have from the beginning).
pvremove on the drive's UUID gives me a "not found" error and running lvresize using the original pve-data size (Current LE) reminds me that volumes cannot be reduce in size.
Everything's working right now and I'm going to backup my VMs/LXCs/proxmox installation just in case. But before I mess anything else up I wanted to see if someone knows an easy way to remove a drive from a volume group.
chris
I ran through this document not realizing it was outdated:
https://pve.proxmox.com/wiki/Extending_Local_Container_Storage
I ran through the steps until I got to resize2fs command and received the following error:
resize2fs: Bad magic number in super-block while trying to open /dev/mapper/pve-data
After googling this, I realized that I was following an outdated way of extending the storage capacity of pve-data.
I'm trying to figure out how to undo what I did (that is, remove the 2TB drive from pve-data and resize pve-data down to what it was before) so that I can then add a new volume with the 2TB (the way I should have from the beginning).
pvremove on the drive's UUID gives me a "not found" error and running lvresize using the original pve-data size (Current LE) reminds me that volumes cannot be reduce in size.
Everything's working right now and I'm going to backup my VMs/LXCs/proxmox installation just in case. But before I mess anything else up I wanted to see if someone knows an easy way to remove a drive from a volume group.
chris