Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Corrupt /usr

Status
Not open for further replies.

baileyj

Technical User
May 17, 2001
9
GB
We have had a disk failure on hdisk0 (rootvg), unfortunately there is no mirror, this
is because the M/C was built in another location, all data on 2nd SCSI hdisk1, then
moved to new location, mirrored down to SSA. Forgot to break the mirror and put
hdisk1 back into rootvg and mirror. Now hdisk0 got disk problems and /usr seems
corrupt. hdisk1 has been put back into rootvg, but /usr (/dev/hd2) is now in a
stale state and we cannot get it mirrored to hdisk1 to allow for hdisk0 swappout.
Does anyone know how we can recover /usr without any backup, can we copy from
another M/C or get from install CDs?

I know this is a monumental mess-up any help much appreciated.
 
First off, you won't get one from a CD Anywhere. What is "M/C" ?

Anyway -

Do an lslv -l hd2
See if the other hdisk is still assigned. If it is, do a "reducevg" on it. You may have to specify the PVID on the reducevg command, rather than the hdisk#.
Once that is done, do a "syncvg -l hd2".
Once that is done, if it works, I'd boot into maintenance mode, get into a maintenance shell "before mounting filesystems", and then do an fsck on /dev/hd2.

I'm sure others will offer correct/better advice as well. But be careful as you go forward, and look for common ideas/suggestions in the responses. The general trends should help you.

Bill.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top