Vgremove

From wikieduonline
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.
vgremove rhvh
Do you really want to remove volume group "rhvh" containing 9 logical volumes? [y/n]: y
Removing pool "pool00" will remove 8 dependent volume(s). Proceed? [y/n]: y
Do you really want to remove and DISCARD logical volume rhvh/var_log_audit? [y/n]: y
  /etc/lvm/profile/imgbased-pool.profile: stat failed: No such file or directory
  Internal error: trying to load profile imgbased-pool in critical section.
  /usr/sbin/thin_check: execvp failed: No such file or directory
  Check of pool rhvh/pool00 failed (status:2). Manual repair required!
  Failed to update pool rhvh/pool00.

apt-get install thin-provisioning-tools[1]


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

See also

Advertising: