1833777 Members
2136 Online
110063 Solutions
New Discussion

Re-create VGs

 
Deepu Chakravarty
Regular Advisor

Re-create VGs

One of our server has lost two disks. So all VGs allocated to these disks are not mounting. lvmtab shows all disks sans these two disks. Now we want to remove all current VGs shown in lvmtab (except root disks) and entire disk space in the server make available and want to recreate all VGs with the space left in the server after two disks lost. How we can do this? Suggestions/Steps required.
2 REPLIES 2
Bart Paulusse
Respected Contributor

Re: Re-create VGs

Hi,

do you want to throw away the data on the other disks as well?
If so vgexport will remove the VGs.
Steven E. Protter
Exalted Contributor

Re: Re-create VGs

Shalom,

Note: vgexport does NOT erase data.

The recovery path does depend on whether you care about the data. Depending on how many disks failed, the data may not be recoverable.

If you merely want to recreate and then restore the data from backups, here is your document:

http://docs.hp.com/en/B2355-90672/ch03s10.html

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com