Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

cant' t reduce vg00

SOLVED
Go to solution
HDgio
Regular Advisor

cant' t reduce vg00

Hello
I have a vg00 with a disk failure
I have reduced a logical volume but a can't reduce with vgreduce -f vg00.
If I rename the lvmtab in lvmtab.save ad pergorm a vgscan -a the new lvmtab lost a vg00
what it becomes /dev/ and not /dev/vg00
Can help me
5 REPLIES
Sridhar Bhaskarla
Honored Contributor
Solution

Re: cant' t reduce vg00

Hi,

It's not a good idea to run vgscan in this situation as the disk is missing. Restore your saved lvmtab.

If this is a mirror disk, you will need to follow proper procedure to restore the mirror. There have been numerous threads on restoring the mirror disk. Search the forums.

If this is a data disk and|or if you have root logical volumes such as /usr, /var, /opt etc without a mirror, then you may have to use your latest ignite tape|image to restore the OS.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Robert-Jan Goossens
Honored Contributor

Re: cant' t reduce vg00

Hi,

Check this link,

http://www.unixadm.net/howto/bad_disk.html

regards,
Robert-Jan
Jean-Luc Oudart
Honored Contributor

Re: cant' t reduce vg00

Hi,

May be this thread will answer your question :
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=193387

Regards,
Jean-Luc
fiat lux
Enrico P.
Honored Contributor

Re: cant' t reduce vg00

Hi,
have you tried with?

#vgreduce -l pv_path

Enrico
HDgio
Regular Advisor

Re: cant' t reduce vg00

Thanks to all
I' have resolved with:
vgcfrestore on a mirror disk
vgchange -a y /vg
vgsyng /vg
mkboot -l /dev/rdsk/
mkboot -a "hpux -lq
;0)/stand/vmunix" /dev/rdsk/
lvlnboot -R
lvlnboot -v

But why the vgreduce -f /dev doesn't work to eliminate the failure disk ???
Bye and always thanks