Editing Vgremove

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{lowercase}}
 
<code>vgremove</code> command removes a [[volume group]] https://linux.die.net/man/8/vgremove
 
 
 
<pre>
 
<pre>
 
vgremove VG_TO_DELETE
 
vgremove VG_TO_DELETE
Line 39: Line 36:
 
</pre>
 
</pre>
  
 
+
<pre>
vgremove [[rhvh]]
+
vgremove rhvh
Do you really want to remove volume group "rhvh"  
+
Do you really want to remove volume group "rhvh" containing 9 logical volumes? [y/n]: y
containing 9 logical volumes? [y/n]: y
+
Removing pool "pool00" will remove 8 dependent volume(s). Proceed? [y/n]: y
Removing pool "pool00" will remove 8 dependent  
+
Do you really want to remove and DISCARD logical volume rhvh/var_log_audit? [y/n]: y
volume(s). Proceed? [y/n]: y
+
  /etc/lvm/profile/imgbased-pool.profile: stat failed: No such file or directory
Do you really want to remove and DISCARD logical  
+
  Internal error: trying to load profile imgbased-pool in critical section.
volume rhvh/var_log_audit? [y/n]: y
+
  /usr/sbin/thin_check: execvp failed: No such file or directory
  /etc/lvm/profile/imgbased-pool.profile: stat failed:  
+
  Check of pool rhvh/pool00 failed (status:2). Manual repair required!
No such file or directory
+
  Failed to update pool rhvh/pool00.
  Internal error: trying to load profile imgbased-pool in  
+
</pre>
critical section.
+
<code>apt-get install thin-provisioning-tools</code><ref>https://medium.com/@ernstae/removing-a-volume-group-with-thin-provisioned-logical-volumes-8c9b9864a68b</ref>
  /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.
 
 
 
 
 
<code>[[apt-get install thin-provisioning-tools]]</code><ref>https://medium.com/@ernstae/removing-a-volume-group-with-thin-provisioned-logical-volumes-8c9b9864a68b</ref>
 
 
<pre>
 
<pre>
 
vgremove rhvh
 
vgremove rhvh
Line 66: Line 55:
 
</pre>
 
</pre>
  
== Related commands ==
+
Related commands: <code>[[rescan-scsi-bus.sh]]</code> <code>[[vgremove]]</code> <code>[[lvremove]]</code> <code>[[pvremove]]</code>
* <code>[[rescan-scsi-bus.sh]]</code>
 
* <code>[[vgremove]]</code>
 
* <code>[[lvremove]]</code>
 
* <code>[[pvremove]]</code>
 
* [[rm]]
 
  
 
== See also ==
 
== See also ==
* {{VG}}
 
 
* {{lvm commands}}
 
* {{lvm commands}}
 
* {{Linux Fibre Channel}}
 
* {{Linux Fibre Channel}}
  
 
[[Category:Linux]]
 
[[Category:Linux]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: