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.
lvreducethe logical volume exactly to the file system
- 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?