Difference between revisions of "Lvremove"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
lvremove - Remove logical volume(s) from the syste
  
  
Line 13: Line 14:
 
</pre>
 
</pre>
  
<code>
+
<pre>
lvremove /dev/rhvh/[[swap]]
+
lvremove /dev/rhvh/swap
 
   Logical volume rhvh/swap in use.
 
   Logical volume rhvh/swap in use.
</code>
+
</pre>
  
 
Related commands: <code>[[vgremove]]</code>
 
Related commands: <code>[[vgremove]]</code>

Latest revision as of 08:01, 17 December 2019

lvremove - Remove logical volume(s) from the syste


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[edit]

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: