We did the following:
- Added a volume (500G) to the volume group
- Extended the logical volume on the volume group
We did not extend the filesystem on the logical volume.
Then we decided, that it is not a good idea.
Now we want to safely remove the volume again.
The plan:
lvreduce
the logical volume exactly to the file system- vgreduce
Questions:
- How to exactly find out the size of the file system?
- Does LVM automatically detect, that the space provided by the new phyiscal volume is no longer used and allows unplugging of the volume?
Answer
Debian seems to create backups of the vg configuration at /etc/lvm/archive
- it should be possible to use such an old config.
No comments:
Post a Comment