1833490 Members
2888 Online
110052 Solutions
New Discussion

removing disk

 
SOLVED
Go to solution
Sajjad Sahir
Honored Contributor

removing disk

Ioscan out put not showing the follwing disk
but it is present under /dev/dsk directory
I want to remove this disk from my unix system
permanently how is it possible
the problem is there is no ioscan out put of this so i can't find hardware address to remove this disk
c13t0d6
5 REPLIES 5
Torsten.
Acclaimed Contributor
Solution

Re: removing disk

If not reported by ioscan - the disk is not there (or failed).

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!   
Sajjad Sahir
Honored Contributor

Re: removing disk

Dear torsten
u mean disk is not there
i am i right
so how i can remove this entry from /dev/dsk
directory
Davis Paul
Valued Contributor

Re: removing disk

Hi Sajjad,
If there is no ioscan o/p means no need to do anything
Regards,
Davis Paul.
TTr
Honored Contributor

Re: removing disk

If you are asking how to clear the "NO-HW" lines from the ioscan listing, the only way to do that is to reboot.

To remove the /dev/dsk, /dev/rdsk files for nonexistent devices using rmsf.

If you can not reboot, leave it alone, the "NO-HW" lines do not affect anything.
Michael Steele_2
Honored Contributor

Re: removing disk

As mentioned above all good and bad disks will be listed in 'ioscan' with a 'CLAIMED' or 'NO_HW' state.

For older machines its not unusal for disks to come and go and when they go some clean-up is required. In this case someone forgot to remove the old device files. This is not an issue, just a personal decision about how clean you want your house to be.

Use 'rmsf'. See the man page before executing as this may not be the exact syntax of what you want.

rmsf -k -H 0/0/2.4

Where -H 0/0/2.4 is denotes the HW address of the device file that you want to remove.
Support Fatherhood - Stop Family Law