Difference between revisions of "Lvremove"

From wikieduonline
Jump to navigation Jump to search
(Created page with " == See also == * {{lvm commands}} * Device mapper Category:Linux")
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
lvremove - Remove logical volume(s) from the syste
  
  
 +
<pre>
 +
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
 +
</pre>
  
 +
<pre>
 +
lvremove WRONG_NAME
 +
  Volume group "WRONG_NAME" not found
 +
  Cannot process volume group WRONG_NAME
 +
</pre>
 +
 +
<pre>
 +
lvremove /dev/rhvh/swap
 +
  Logical volume rhvh/swap in use.
 +
</pre>
 +
 +
Related commands: <code>[[vgremove]]</code>
  
 
== See also ==
 
== See also ==

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: