I've never used LVM before, after trying vgs and vgdisplay, I get nothing on on the screen, the command goes through but just blank.
Especially when running commands like lvreduce that might destroy data...especially without the needed prequisites like shrinking filesystems and partitions on that LV first.not having a grasp of the basics and trying commands blindly leads to pitfalls
Did the command reduce it by 32G or reduce it to 32G. In this case it is the same answer but I'm looking at different numbers. I couldn't find the syntax definition of "lvreduce" anywhere in the Proxmox admin guide! All I could find was "resize".excellent tutorial, a lot of fear but actually it was 2 commands:
and from 64GB it became 32GBCode:lvm lvreduce -L -32g pve/vm-103-disk-0 qm rescan
I couldn't find the syntax definition of "lvreduce" anywhere in the Proxmox admin guide!
man lvreduce
show the docs to that command:-L|--size [-]Size[m|UNIT]
Specifies the new size of the LV. The --size and
--extents options are alternate methods of specifying
size. The total number of physical extents used will be
greater when redundant data is needed for RAID levels.
When the plus + or minus - prefix is used, the value is
not an absolute size, but is relative and added or
subtracted from the current size.
-34g
.