Operating System - HP-UX
1833783 Members
2134 Online
110063 Solutions
New Discussion

FC60 with 2 disks gone bad

 
SOLVED
Go to solution
Gerry Tully
Frequent Advisor

FC60 with 2 disks gone bad

Wiped out vg02 and now that the disks are replaced I'm trying to reconfigure the volume group. I used to have the manuals but can't find them right now. Anyone have the procedure I should follow? Thanks
Any Ideas?
8 REPLIES 8
Steven E. Protter
Exalted Contributor
Solution

Re: FC60 with 2 disks gone bad

pvcreate -f /dev/dsk/c#t#d#

replace the # signs with real numbers.

If the disks were removed from the volume group:

vgextend /dev/vg02 /dev/dsk/c#t#d#

The next steps depend on your pre-crash configuration. If these were mirror disks, the mirrors should rebuild automatically.

I am certain this relates to a prior thread in which I had no participation.

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
Pete Randall
Outstanding Contributor

Re: FC60 with 2 disks gone bad

Gerry,

Generally, FC60(s) LUNS are configured into some level of RAID which should provide protection against this sort of thing - assuming that they were RAID 0/1 and you didn't lose both halves of a mirrored pair. I guess from your description that these were either RAID 1 or RAID 5 and the loss of multiple disks would not be survivable. In that event, I assume you would need to re-create the LUN by unbinding and rebinding it:
amcfg -D
amcfg -L : -d ,...... 0r

You will then need to restore whatever data resided in that LUN (after recreating the LVM information). I personally would check with HP to verify that this is the proper procedure before proceeding.


Pete


Pete
Helen French
Honored Contributor

Re: FC60 with 2 disks gone bad

The recovery process depend upon the hardware RAID you have on the disk array. If the failed drives were from different LUNs which were configured to use for RAID 5, you donot need to do anything except replacing the failed drives. But if it's from the same LUN (and RAID 5), recreate LUN first, then vgxfgrestore and restore data.
Life is a promise, fulfill it!
Gerry Tully
Frequent Advisor

Re: FC60 with 2 disks gone bad

Pete, actually it was raid 0/1 and we did lose both halves of the mirrored pair
Any Ideas?
Pete Randall
Outstanding Contributor

Re: FC60 with 2 disks gone bad

Gerry,

In that case, my assumption is that you need to re-build the LUN itself, but, as I said, I would double check that assumption. It's conceivable that you can just restore the LVM configuration once the disks are replaced. I can't find any specific reference to this in the FC60 user's guide (I'll see if I can find a link to the doc for you).


Pete


Pete
Helen French
Honored Contributor

Re: FC60 with 2 disks gone bad

Since you 've lost both pairs of the mirrored LUN, you may need to recrate the LUN. I would first replace the disk and check if it's automatically reconfigured, but if not do it manually. Once the LUN is recreated, restore the LVM defenitions using 'vgcfgrestore' and then restore data from backup. (Note: It's good practice to keep the LUN disks in different enclosures because then a single disk system failure will not fail the system).

These are the manuals for FC60:
http://h20015.www2.hp.com/en/manualCategory.jhtml?lc=en&pagetype=manual&prodId=hpsurestor19163&sw_lang=en
Life is a promise, fulfill it!
Pete Randall
Outstanding Contributor

Re: FC60 with 2 disks gone bad

Gerry,

If you can get to this link

http://h20015.www2.hp.com/en/manualCategory.jhtml?lc=en&pagetype=manual&prodId=hpsurestor19163&sw_lang=en

the first two links are the "User's Guide" and the "Advanced User's Guide".


Pete


Pete
Eugeny Brychkov
Honored Contributor

Re: FC60 with 2 disks gone bad

Did you try to call HP? If both disks were really BAD then of course no way, although if disk(s) is failed and is marginal then it can be unfailed and one bad disk replaced and mirror consistency recovered and then that marginal disk replaced
Eugeny