1834463 Members
2815 Online
110067 Solutions
New Discussion

Re: Removing disks

 
Dave Forber
Occasional Advisor

Removing disks

I have an RP8400 running 11i. It used to have a number of luns presented from an external SAN via a HBA card. The luns have been removed from their volume groups and the HBA is no longer used.

When i run an ioscan, I can still see these luns, albeit with no hardware indicated.

How can I remove the reference to these old, no longer present luns?

Thanks.
3 REPLIES 3

Re: Removing disks

Dave, try a rmsf for each device. Like this:
rmsf -a /dev/dsk/c8t0d3

After that, run a "insf -e" , and a new ioscan.
Mel Burslan
Honored Contributor

Re: Removing disks

even if you remove the the device files with rmsf and run a new ioscan without the -k option to rescan your hardware, I think you will still see these hardware paths until the next time you reboot.

Before this reboot, one more thing to make sure, is to de-zone these HBA's from the fibreoptic fabric to make sure they do not get any info from the SAN side.

HTH
________________________________
UNIX because I majored in cryptology...
vinod_25
Valued Contributor

Re: Removing disks

Hi Dave

The man page gives the following definition:
# man ioscan

NO_HW the hardware at this address is no
longer responding

The NO_HW from ioscan means that when the box was booted the device was
responding but now it is not. The NO_HW can come from either a device that is
bad or from a device that has been moved/removed.

If the NO_HW comes from a fibre device being moved/removed, then the NO_HW
entry should not cause any problems with the system or the system performance.

During bootup the kernel builds an I/O tree that resides in memory. Entries can
be added to the kernel I/O tree but in the past they could not be removed. The
rmsf command has been modified to remove these entries.

The NO_HW entry can be removed from the ioscan output by using the command:

rmsf -H HW_PATH

regards

The man page gives the following definition:
# man ioscan

NO_HW the hardware at this address is no
longer responding

The NO_HW from ioscan means that when the box was booted the device was
responding but now it is not. The NO_HW can come from either a device that is
bad or from a device that has been moved/removed.
Vinod K