Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Syntax for pvremove, lvremove and vgremove

SOLVED
Go to solution
senthil_kumar_2
Regular Advisor

Syntax for pvremove, lvremove and vgremove

Hi All,

I would like to know the exact syntax with examples for pvremove, lvremove and vgremove
5 REPLIES
Patrick Wallek
Honored Contributor

Re: Syntax for pvremove, lvremove and vgremove

Have a look at the man pages. They usually offer examples.

# man pvremove

# man lvremove

# man vgremove
boomerang
Frequent Advisor
Solution

Re: Syntax for pvremove, lvremove and vgremove

As said above man is the best place to search for examples.

Some Examples:
Remove a logical volume without requiring user confirmation:

lvremove -f /dev/vg01/lvol5

Remove volume group /dev/vg02 from the system:

vgremove /dev/vg02

Remove a Physical volume

pvremove /dev/rdsk/c6t3d0

See the below doc also
http://docs.hp.com/en/5992-4616/ch03s01.html
Jean-Luc Oudart
Honored Contributor

Re: Syntax for pvremove, lvremove and vgremove

You did not specify which OS version you are using.
below link for hp doc "Common LVM tasks" for 11iv3.

http://docs.hp.com/en/5992-6576/ch03s03.html

regards
Jean-Luc
fiat lux
Kranti Mahmud
Honored Contributor

Re: Syntax for pvremove, lvremove and vgremove

Hi Senthil,

Check the man page as:

# man pvremove
# man lvremove
# man vgremove

Or you can check the following links:

http://docs.hp.com/en/B2355-90692/pvremove.1M.html
http://docs.hp.com/en/B2355-90691/lvremove.1M.html
http://docs.hp.com/en/B2355-90692/vgremove.1M.html

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!
senthil_kumar_2
Regular Advisor

Re: Syntax for pvremove, lvremove and vgremove

I am closing this thread.