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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

incorrect hdisk number

Status
Not open for further replies.

bcre3306

MIS
May 7, 2002
45
US
I came into work this morning and my RS/6000 H70 was totally hung. So I did a hard boot on it and it seemed to come up fine. Later I noticed that one of my emc drives was showing up incorrectly. Istead of showing as hdisk5 it is now showing up as hdisk6. So now my filesystem is not mounted. I tried to add hdisk6 to the datavg group but it tells me everything will be lost from the disk. I need to either get this drive to show back up as hdisk5 or mount the filesystem on hdisk6. Anybvody have any suggestions.

IBM RS/6000 H70
Symmetrix 3850

Thanks
 
Disk has disconnected from adapter - and then redetected

1 name hdisk5 wont help - quick & cheap answer is Restore Backup

2 longer - reboot

3 even longer - boot to maintenance and recover by hand

4 expensive - IBM will do it at hour rate or redirect to #1

check smitty errpt if drive is not abour to die in either case
 
You can synchronize your disk names by doing the following in a script:

AS ALWAYS HAVE A GOOD BACKUP:

lsdev -Cc disk | awk '{ print $1 }' | while read HDname; do
odmdelete -q "name = $HDname" -o CuAt
odmdelete -q "value = $HDname" -o CuAt
odmdelete -q "name = $HDname" -o CuDv
odmdelete -q "value3 = $HDname" -o CuDvDr
odmdelete -q "name = $HDname" -o CuVPD
done
rm -f /dev/hdisk*
rm -f /dev/rhdisk*
savebase

When the shell script completes successfully, run the following command to shut down and reboot the system.

shutdown -Fr

 
Hello,

Why system administrator do not do the very very very basic steps to debug the problem.

1) errpt -a to see what kind of error is listed.
2) if the disk was part of the vg then and not is not the part of the vg
then some thing happended hardware wise.

lsdev -Cc disk

does hdisk5 show up in defined state and hdisk6 show up in available state.

does it have the number or

lspv does it have a number or no number.

how is the EMC disk attached.

 
I'll bet hdisk5 is "defined" and hdisk6 is available; but they're the same disk.

Yes - check errpt.

Next do a lsdev -Cl hdisk5 and lsdev -Cl hdisk6

If they are the same, rmdev -dl hdisk5;rmdev -dl hdisk6

Re-run cfgmgr.

You may want to look into exportvg and importvg again, just to be sure you recover your data properly.

If you are running BCV's on the EMC unit, consider doing a reverse restore from the BCV.

Bill.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top