Operating System - HP-UX
1837077 Members
2608 Online
110112 Solutions
New Discussion

Re: Diskinfo show wrong information.

 
lafargeadmin
Advisor

Diskinfo show wrong information.

Hi experts,

I have present 15 Gb Vdisk from SAN to a server. But diskinfo is showing wrong information. refer below for output.

apcrss31@admin2:>diskinfo /dev/rdsk/c12t5d0
SCSI describe of /dev/rdsk/c12t5d0:
vendor: HP
product id: HSV100
type: direct access
size: 10485760 Kbytes
bytes per sector: 512

9 REPLIES 9
Torsten.
Acclaimed Contributor

Re: Diskinfo show wrong information.

Hi,

did you expand an existing vdisk?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
lafargeadmin
Advisor

Re: Diskinfo show wrong information.

Hi Torsten,

Thanks for your reply.

I believe that the 10 Gb vdisk was presented previously and have removed. Now I have present a new vdisk with 15 Gb with the same LUN id. But it is still showing the 10 Gb diskspace on diskinfo. How can I remove the LUN id on HP-UX. I have tried the spmgr display shows;

#spmgr display
TGT/LUN Device WWLUN_ID H/W_Path #_Paths
5/ 0 c12t5d0 6005-08B4-0001-3BB9-0001-3000-0143-0000 4
Error

Controller Path_Instance HBA Preferred? Path_Status
P66C5E1AAPZ09J no
c4t5d1 td0 no ****FAILED
c5t5d1 td1 no ****FAILED

Controller Path_Instance HBA Preferred? Path_Status
P66C5E1AAPZ05W no
c9t5d1 td0 no ****FAILED
c8t5d1 td1 no ****FAILED

now I am removing the LUN
#spmgr delete 6005-08B4-0001-3BB9-0001-3000-0143-0000
Error: Device mounted or otherwise busy.

I am receiving the above error.

I have also done with rmsf -H , before removing the LUN.

Please advice.
Rasheed Tamton
Honored Contributor

Re: Diskinfo show wrong information.

Hi lafargeadmin

Did you do a
ioscan -fCdisk
after the lun modification.

May be you have to do like this.
# rmsf /dev/dsk/c12t5d0
# rmsf /dev/rdsk/c12t5d0
ioscan -fCdisk
and insf -e
marvik
Regular Advisor

Re: Diskinfo show wrong information.

Hi Lafargeadmin,

Even doing
rmsf -H
ioscan -funC disk
insf -e

should do the things for you.

Cheers
Marvik
DuKul
Regular Advisor

Re: Diskinfo show wrong information.

yes, rmsf -H could do the job.

anyway if it could not, you should reboot :-(
lafargeadmin
Advisor

Re: Diskinfo show wrong information.

Hi Rashid, marvik and dukul,

No help on those work around. I have already tried that before I post on this forum.

I suspect the LUN is having issue.

I can rmsf tgt address and the hardware path. But when I ioscan -funCdisk to verify the path has been removed, the path no longer there. but ioscan -fnCdisk the hardware path appears again.

Now I want to totally remove the LUN with #spmgr delete 6005-08B4-0001-3BB9-0001-3000-0143-0000
Error: Command Failed.

showing the above error.



Rasheed Tamton
Honored Contributor

Re: Diskinfo show wrong information.

lafargeadmin
Advisor

Re: Diskinfo show wrong information.

Hi Rasheed,

I have done with the work around too, still no luck.

Maybe it required a reboot.
Rasheed Tamton
Honored Contributor

Re: Diskinfo show wrong information.

Yes! That is always the final option.

Regards.