Operating System - HP-UX
1827244 Members
2279 Online
109716 Solutions
New Discussion

Removed disks from HP-UX, can't see new disks

 
justmirsk
New Member

Removed disks from HP-UX, can't see new disks

Hello Everyone,
I would like to start off by saying that I am not an HP-UX admin, but I have been tasked with figuring this out and I really need some assistance. We have a Unix admin but he is unable to figure this out and I am trying to assist him. Some background info first, we needed to remove some disks in HP-UX to recreate the RAID group to be RAID 1/0 instead of RAID 5 for Database performance enhancements. What we did:

1. Removed Logical Volumes
2. Removed Volume Groups
3. shutdown HP-UX
4. Removed LUN association in EMC Navisphere
5. Started Unix
6. ran ioscan -fnC (disk still show up)
7. ran diskinfo on c32t0d0 and I received an error message stating SIOC_INQUIRY

This is the point we started researching. I found instructions stating to do the following:

First remove the old device files using rmsf one bye one.
#rmsf

Then remove the devices files pertaining to the entire hardware path using -H option
#rmsf -H

Present the lun again.

#ioscan -fn

#insf -eH
or just
#insf -e

#ioscan -fnC disk

We did this, however the disks still show up as "claimed" when running the ioscan -fnC. There is not associated special file with these disks.

I could really use some assistance on troubleshooting this and getting it resolved. Our Unix admin decided to take a break for the night and clear his head before doing anymore, so it will be tomorrow morning before we can try any suggestions. Thanks in advance for any assistance you can provide.

JustMirsk
5 REPLIES 5
R.K. #
Honored Contributor

Re: Removed disks from HP-UX, can't see new disks

Hello,

YOu can try following things:


- /var/adm/syslog/syslog.log # check for any error for HW path of disk

- CSTM
# cstm
cstm>map #see device number for your disk by HW path
cstm>sel dev 7 (7 is the dev num for my disk)
cstm>info
cstm>il

- from diskinfo, you already got the error

- pvdisplay -v /dev/dsk/c32t0d0

- Please post :
# ioscan -fnC disk
Don't fix what ain't broke
R.K. #
Honored Contributor

Re: Removed disks from HP-UX, can't see new disks

You can also see what this command gives:

# lssf /dev/rdsk/c32t0d0
Don't fix what ain't broke
sujit kumar singh
Honored Contributor

Re: Removed disks from HP-UX, can't see new disks

hi

can you please post the ioscan -fnC disk O/p staing which are the old disks and if any is there new disks also.

strings /etc/lvmtab

which disksyou wished removing
also what is the storage, make sure that you are presenting the LUNS from the storage as being presented to HP_UX OS in case this is an EVA.
regards
sujit
justmirsk
New Member

Re: Removed disks from HP-UX, can't see new disks

Hello Everyone! I am sorry for the delayed response, we were able to correct the problem. It seems that Powerpath was causing our headaches. We had to run the powermt check command to remove dead paths from its config. Once the paths were removed we updated the config and saved, we were now able to add in the new disks with no problems. Thanks to all who posted suggestions!
justmirsk
New Member

Re: Removed disks from HP-UX, can't see new disks

I forgot to close the thread with my previous comment, please see previous comment for resolution.

JustMirsk