Question re: deleting an LV...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Due to a misunderstanding about how LVM snapshots work when I set up this system, I now need to delete an LV I had created to use for this purpose (I thought I had to pre-create the LV).

Currently I have:

 # lvscan
  ACTIVE            '/dev/vg/tmp' [5.00 GiB] inherit
  ACTIVE            '/dev/vg/log' [5.00 GiB] inherit
  ACTIVE            '/dev/vg/vtmp' [5.00 GiB] inherit
  ACTIVE            '/dev/vg/var' [700.00 GiB] inherit
  ACTIVE            '/dev/vg/snaps' [4.00 GiB] inherit

I just need to delete the /dev/vg/snaps LV, so that that 4GB is available for my LVM snapshots.

Am I correct that all I have to do is:

# umount /dev/vg/snaps
# lvremove /dev/vg/snaps

Then remove this line from fstab?

This would then result in my VG having 4GB available for taking LVM snapshots?

Thanks

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux