Operating System - HP-UX
1753282 Members
5509 Online
108792 Solutions
New Discussion юеВ

Re: Is there vgcfrestore command for IA64 servers

 
EJ Stremler
Frequent Advisor

Is there vgcfrestore command for IA64 servers

We encountered a drive in vg00 becoming unavailable. We have a primary and a secondary drive that was mirrored. We replaced the bad secondary drive. I know the commands for Itanium servers are different than PA-RISC when setting up a root disk and mirror. We tried a vgcfrestore and get errors.

if126:/etc/lvmconf> vgcfgrestore -n vg00 /dev/rdsk/c3t0d0s2
vgcfgrestore: Could not open Physical Volume "/dev/rdsk/c3t0d0s2".

How do we replace a disk and restore the LVM configuration on this IA64 server, so we don't have to reduce out the mirrors? Thanks,, Ed...
6 REPLIES 6
Marvin Strong
Honored Contributor

Re: Is there vgcfrestore command for IA64 servers

based on your error vgcfgrestore is trying to work. Double check that you are using the correct device.

Pete Randall
Outstanding Contributor

Re: Is there vgcfrestore command for IA64 servers

Jaime Bolanos Rojas.
Honored Contributor

Re: Is there vgcfrestore command for IA64 servers

Ed,

Do a pvchange -a n /dev/dsk/cxtydz on the new disk, then do the vgcfgrestore and then finally a pvchange -a y /dev/.....

Regards,

Jaime.
Work hard when the need comes out.
Steven E. Protter
Exalted Contributor

Re: Is there vgcfrestore command for IA64 servers

Shalom,

yes the command is there. If it were not there or not on the path, the system response would be:

not found

ioscan -fnCdisk

See if the disk is present and functioning in any way.

xstm for diagnosis.

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
Patrick Wallek
Honored Contributor

Re: Is there vgcfrestore command for IA64 servers

Since this is an Itanium machine, you need to use the 'idisk' utility to partition the new drive. The link Pete gave you details what you need to do.
Andrew Rutter
Honored Contributor

Re: Is there vgcfrestore command for IA64 servers

Ed,

its telling you that it cannot restore as there are no aprtitions been created like Patrick has said

you need to first prepare the drive and divide it up into 2 or3 partitions like the other drive. this depends upon whether its 11.22 or 11.23 installed

you use a utility called idisk for this.

I've attached a doc which shows you the steps for mirroring a drive on itanium, it doesnt have all the standard lvm commands for vgcfgrestore but has all the other bits for partitioning the drive and populating the other sections and checking them

Andy