LVM Reducing LVs Without Data Loss
I am trying to move space around on my server but am getting some warnings like the following that are keeping me from proceeding:
[/os_images]# lvreduce -L 19G /dev/VolGroup00/backuplv
WARNING: Reducing active logical volume to 19.00 GB
THIS MAY DESTROY YOUR DATA (filesystem etc.)
Do you really want to reduce backuplv? [y/n]:
I have unmounted the filesystem /backup so I am not sure why the warning says the logical volume is still active. Is there a way to unactivate the logical volume? Is there a way to reduce an LVM filesystem with 100% assurance that there won't be data corruption? And finally, is there a way to shrink a mounted/online filesystem without the risk of data loss?
Thank you whoever helps!