Difference between revisions of "Lvremove"

From wikieduonline
Jump to navigation Jump to search
Line 13: Line 13:
 
</pre>
 
</pre>
  
<pre>
+
<code>
 
lvremove /dev/rhvh/[[swap]]
 
lvremove /dev/rhvh/[[swap]]
 
   Logical volume rhvh/swap in use.
 
   Logical volume rhvh/swap in use.
</pre>
+
</code>
  
 
Related commands: <code>[[vgremove]]</code>
 
Related commands: <code>[[vgremove]]</code>

Revision as of 07:51, 17 December 2019


lvremove /dev/VG_01/LV_01
Do you really want to remove and DISCARD active logical volume VG_01/LV_01? [y/n]: y
  Logical volume "LV_01" successfully removed
lvremove WRONG_NAME
  Volume group "WRONG_NAME" not found
  Cannot process volume group WRONG_NAME

lvremove /dev/rhvh/swap

 Logical volume rhvh/swap in use.

Related commands: vgremove

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: