Vgremove

From wikieduonline
Revision as of 14:35, 16 December 2019 by Welcome (talk | contribs)
Jump to navigation Jump to search
vgremove VG_TO_DELETE
Do you really want to remove volume group "VG_TO_DELETE" containing 1 logical volumes? [y/n]: y
  Logical volume "LV_TO_DELETE" successfully removed
  Volume group "VG_TO_DELETE" successfully removed
vgremove VG_TO_DELETE
Do you really want to remove volume group "VG_TO_DELETE" containing 1 logical volumes? [y/n]: y
Do you really want to remove and DISCARD active logical volume VG_TO_DELETE/LV_TO_DELETE? [y/n]:
  Logical volume "LV_TO_DELETE" successfully removed
  Volume group "VG_TO_DELETE" successfully removed

vgremove with errors:

vgremove VG_TO_DELETE
Do you really want to remove volume group "VG_TO_DELETE" containing 1 logical volumes? [y/n]: y
Do you really want to remove and DISCARD active logical volume VG_TO_DELETE/LV_TO_DELETE? [y/n]:
  Incorrect metadata area header checksum on /dev/mapper/3600a09803831417a5a244f5665797a48 at offset 4096
  WARNING: Failed to write an MDA of VG VG_TO_DELETE.
  Incorrect metadata area header checksum on /dev/mapper/3600a09803831417a5a244f5665797a49 at offset 4096
  WARNING: Failed to write an MDA of VG VG_TO_DELETE.
  Failed to write VG VG_TO_DELETE.
  Incorrect metadata area header checksum on /dev/mapper/3600a09803831417a5a244f5665797a49 at offset 4096
  Incorrect metadata area header checksum on /dev/mapper/3600a09803831417a5a244f5665797a48 at offset 4096
vgremove VG_TO_DELETE
Do you really want to remove volume group "VG_TO_DELETE" containing 1 logical volumes? [y/n]: y
Do you really want to remove and DISCARD active logical volume VG_TO_DELETE/LV_TO_DELETE? [y/n]:
  WARNING: Failed to write an MDA of VG VG_TO_DELETE.
  Failed to write VG VG_TO_DELETE.


Related commands: rescan-scsi-bus.sh vgremove lvremove pvremove


See also

scan: pvscan vgscan
LVM: lvs lvmscan lvm fullreport lvmreport lvmconfig lvmdump lvmcheck lvm dumpconfig
Scan: pvs vgs lvs pvscan vgscan
PV: pvcreate pvremove pvscan pvremove pvscan pvs pvchange pvck pvdisplay pvresize
LV: lvdisplay lvcreate lvremove, lvresize, lvextend, lvreduce, lvrename
VG: vgdisplay,vgcreate,vgremove, vgextend, vgreduce, vgscan, vgchange, vgrename, vgcfgbackup, vgcfgrestore, vgimportclone, vgck
Check commands: pvck vgck

Advertising: