1849248 Members
5031 Online
104042 Solutions
New Discussion

rmsf -H

 
Emilio Brusa
Frequent Advisor

rmsf -H

Hola estoy tratando de hacer un script que borre todos mis hardware path con NO_HW en mi hpux
11.i--- disk 794 0/0/8/0/0.1.7.39.0) .15.2 sdisk NO_HW DEVICE HP (I have 60 of that everyday)

As only I have that machine to prove and iam not on vvery well in scrippting.

My questions are.. if I execute by mistake rmsf -H 0/0/8/0/0.1.7.39.0.11.7 against a device that already exists ok---disk 111 0/0/8/0/0.1.6.42.0.0.3 sdisk CLAIMED DEVICE HP

what happens is?
Can I end up losing the information of my disk?
what can i do?

Thanks a lot.
E.
3 REPLIES 3
Victor Fridyev
Honored Contributor

Re: rmsf -H

Hi,

This is not a big problem, don't worry, just run the following command:
insf -e -H 0/0/8/0/0.1.6.42.0.0.3

If you are afraid that deleted more disk devices, run:
insf -e -C disk

Good luck
Entities are not to be multiplied beyond necessity - RTFM
Emilio Brusa
Frequent Advisor

Re: rmsf -H

thanks victor
ups..
sorry by my spanish-english
With Insf -e -C disk, the special files back again...ok
but if one good special file erases by mistake, that disk is not disabled until I don't run the insf -and -C?

thanks
E.
Sanjay_6
Honored Contributor

Re: rmsf -H

Hi,

doing rmsf will just delete the device file and will do nothing to the disk in question. You need to do a destructive write to damage the disk. doing rmsf just removes the device files.

you can do insf -e to recreate the device files and reaccess the disk in question.

Do man rmsf and insf for more help.

Hope this helps.

Regds