mywindowsdownloads.blogspot.com
Click here for all Free Linux Downloads
Removing logical volume
1. Firstly, disable swapping for associated logical volume- /dev/vol_gr0/log_vol2
# swapoff -v /dev/vol_gr0/log_vol2
2. Remove the logical volume of size 512 MB, using the following command:
# lvm lvremove /dev/vol_gr0/log_vol2
3. Remove the entry, as following, from /etc/fstab file:
/dev/vol_gr0/log_vol2 swap swap defaults 0 0
4. Test that the logical volume has been properly removed or not:
# cat /proc/swaps
Removing swap file
1. disable the swap file named as /swapfile
# swapoff -v /swapfile
2. Remove its entry, like following, from /etc/fstab file:
/swapfile swap swap defaults 0 0
3. Remove swap file named as /swapfile
# rm /swapfile
No comments:
Post a Comment