Operating System - HP-UX
1827207 Members
2426 Online
109716 Solutions
New Discussion

/dev/dsk and /dev/rdsk cleanup

 
SOLVED
Go to solution
Nikee Reddy
Regular Advisor

/dev/dsk and /dev/rdsk cleanup

Hello,

Recently we have migrated the system data from SYMM to SAN. After migrating the data we have unplugged all the SYMM cable from the host. Also we have done clean-up process on the volume group side tooo.

Here my question is, how can I clean-up the disk information from /dev/dsk and /dev/rdsk?

Thanks,
Nikee
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: /dev/dsk and /dev/rdsk cleanup

Use the command rmsf on the driver files individually.

You can go with a slash and burn approach and then run insf -e and insf -C to rebuild the drivers after the switch.

I choose the more conservative approach.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Kim_18
Advisor
Solution

Re: /dev/dsk and /dev/rdsk cleanup

use rmsf to remove the special files
rmsf /dev/dsk/c....
rmsf /dev/rdsk/c.....

Hope that helps
Kim
Michael Tully
Honored Contributor

Re: /dev/dsk and /dev/rdsk cleanup

An easy way to get rid of a whole heap is to remove the whole hardware address path.

e.g. This will remove .1 .2 .3 .4 etc

# rmsf -H 1/0/10/0/0.3.25.0.0.0
Anyone for a Mutiny ?