Operating System - HP-UX
1834643 Members
2894 Online
110069 Solutions
New Discussion

Removing LUNs from OS HP-UX 11.11

 
sfgroups
Advisor

Removing LUNs from OS HP-UX 11.11

Hi,

I have HP-UX 11.11, we have removed 6 LUNs from SAN storage, but still ioscan returns these device names. diskinfo command give error message.

How will I remove these devices from OS?

Thanks

Here is output of removed LUNs.

ioscan -funC disk |egrep 'c16t0d5|c16t0d7|c16t1d3|c16t1d6|c16t2d2|c17t0d6'
/dev/dsk/c16t0d5 /dev/rdsk/c16t0d5
/dev/dsk/c16t0d7 /dev/rdsk/c16t0d7
/dev/dsk/c16t1d3 /dev/rdsk/c16t1d3
/dev/dsk/c16t1d6 /dev/rdsk/c16t1d6
/dev/dsk/c16t2d2 /dev/rdsk/c16t2d2
/dev/dsk/c17t0d6 /dev/rdsk/c17t0d6


$ioscan -funC disk |egrep 'c16t0d5|c16t0d7|c16t1d3|c16t1d6|c16t2d2|c17t0d6' | awk ' { print $2 } ' | whi>
diskinfo: can't SIOC_INQUIRY /dev/rdsk/c16t0d5: I/O error
diskinfo: can't SIOC_INQUIRY /dev/rdsk/c16t0d7: I/O error
diskinfo: can't SIOC_INQUIRY /dev/rdsk/c16t1d3: I/O error
diskinfo: can't SIOC_INQUIRY /dev/rdsk/c16t1d6: I/O error
diskinfo: can't SIOC_INQUIRY /dev/rdsk/c16t2d2: I/O error
diskinfo: can't SIOC_INQUIRY /dev/rdsk/c17t0d6: I/O error

2 REPLIES 2
Tiziano Contorno _
Valued Contributor

Re: Removing LUNs from OS HP-UX 11.11

Hi, use rmsf(1M).

Regards.
Torsten.
Acclaimed Contributor

Re: Removing LUNs from OS HP-UX 11.11

You will see the LUNs as long as they are available to the host.
But you can remove the device files with "rmsf".

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!