1753971 Members
7669 Online
108811 Solutions
New Discussion

rmsf -x is it risky?

 
Tim Medford
Valued Contributor

rmsf -x is it risky?

I am eliminating some unused storage from our production system.  I have already removed all LVM structures from it, and have un-presented the storage from the EVA.  I am looking for a simple way to clean up all the stale device files that now say NO_HW during an ioscan.

 

Looks like the best option might be rmsf -x, but wondered if there's any risks in running that on a production system while it's live?  It will no do anything to the legitimate device files, correct?

 

Thanks in advance,

Tim

2 REPLIES 2
hpuxrox
Respected Contributor

Re: rmsf -x is it risky?

I normally avoid the cleanup and let a reboot flush them out, but that just me. if you must, your risk is limited to the human error involved.

 

Bill Hassell
Honored Contributor

Re: rmsf -x is it risky?

rmsf -x is safe. Device files can always be recreated after they are removed (ioscan+insf) but can't be removed if the device is open (ie, LVM or VxVM, etc).



Bill Hassell, sysadmin