how to use lvremove command with its examples

  • About lvremove: To remove a logical volume
  • It comes from: “lvm2-2.02.72” package.
  • Configuration Files:
  • Path: /sbin/lvremove

Examples:

1. To remove the logical volume

$ lvremove LV00

2. To forcefully remove the logical volume

$ lvremove -f LV00
$ lvremove –force LV00

3. To disable udev synchronization

$ lvremove –noudevsync

4. To remove all logical volumes under any VG

$ lvremove VG00

Related Commands: lvcreate, lvdisplay, lvchange, lvm, lvs, lvscan, vgremove 

Leave a Reply

Your email address will not be published. Required fields are marked *