How can I deactivate and shrink the Logical volume mounted as /tmp safely ?
lvm> lvreduce --size 30GB /dev/vg_server4/LogVolTmp
WARNING: Reducing active and open logical volume to 30.00 GiB
THIS MAY DESTROY YOUR DATA (filesystem etc.)
Do you really want to reduce LogVolTmp? [y/n]:
thanks
/tmprunning. Also some filesystem (e.g. btrfs) supports online shrinking, so unmount may not be necessary either. Is it a system you cannot afford downtime or so? – Tom Yan Apr 11 '16 at 17:36