1850899 Members
2781 Online
104056 Solutions
New Discussion

rmsf doesn't work fine?

 
SOLVED
Go to solution
Mauro Gatti
Valued Contributor

rmsf doesn't work fine?

Hi all, I've got a K class with HP-UX 10.20
I removed some volumes located on a Symmetrix storage from my k class. So I tried to remove associated special file doing

rmsf -H

Next I did an "ioscan" and again an "ioscun -funC disk" and I see for any sf removed a row like:
disk 63 10/16/4.1.4 disc3 NO_HW DEVICE EMC SYMMETRIX

Why didn't rmsf delete system definition for these volumes?

Thank You





Ubi maior, minor cessat!
11 REPLIES 11
Robert-Jan Goossens
Honored Contributor

Re: rmsf doesn't work fine?

Hi Mauro,

rmsf removes the file not the hardware, ioscan is an active scan, the command scans all the devices for any hardware. Removing the file will not prevent ioscan to see the harware.

Hope this helps,
Robert-Jan
T G Manikandan
Honored Contributor
Solution

Re: rmsf doesn't work fine?

rmsf will only remove the device files associated with the hardware.

To take off those entries the server will require a reboot.
Only a reboot will clear the NO_HW messages.

Mauro Gatti
Valued Contributor

Re: rmsf doesn't work fine?

I know but I unmapped these volumes from SCSI interfaces where my server is linked to symmetrix.
Symmetrix reports these volumes as "unmapped" so my server shouldn't see them!
Ubi maior, minor cessat!
Fabio Ettore
Honored Contributor

Re: rmsf doesn't work fine?

Ciao Mauro,

what do you mean for 'volumes'?
If you mean disks then you should shutdown server and remove physical devices. After boot you should not see the disks by ioscan (of course you won't see device files too).
Have I understood well?

Best regards,
Ettore
WISH? IMPROVEMENT!
Mauro Gatti
Valued Contributor

Re: rmsf doesn't work fine?

Ok Manikandam, I'll try as soon as possible.
Do you know if this behavior there is also on HP-UX 11.11?
Ubi maior, minor cessat!
Fabio Ettore
Honored Contributor

Re: rmsf doesn't work fine?

Sorry, while I am posting you have posted too.
If volumes are 'unmapped' on symmetrix then problem is not on HP-UX systems. It sees fine disks by ioscan and rmsf doesn't solve your problem.
Have you heard Symmetrix about that message?

Ettore
WISH? IMPROVEMENT!
T G Manikandan
Honored Contributor

Re: rmsf doesn't work fine?

I do not see a change in 11.11
Mauro Gatti
Valued Contributor

Re: rmsf doesn't work fine?

Ciao Ettore,
I think so; You understood well :-)
"volumes" are disks.
I remembered on HP-UX 11.11 there was an "online" refreshing of volumes status after a "rmsf"... So I belived 10.20 does the same thing.

It is possible I have bad memory :-)



Ubi maior, minor cessat!
Mauro Gatti
Valued Contributor

Re: rmsf doesn't work fine?

Strange... on another 10.20 server (second cluster node)these entries was deleted completely.
Maybe does service guard create any interference?
Ubi maior, minor cessat!
Fabio Ettore
Honored Contributor

Re: rmsf doesn't work fine?

I agree with you....strange case.
I don't understand how to rmsf could delete completely a disk reference on an HP-UX 10.20 system.
Anyway I don't think that something changed for 11.11. Then I think, of course if these 'unmapped' disks are shared between two systems then could be involved Service Guard. But I don't work on Symmetrix disks and don't understand what's going on these 'unmapped' messages'. Mauro, a question:
were these disks NO_HW before or after rmsf command?
If they were NO_HW before of rmsf command too then I would suggest you to open an hardware call. Probably there are hardware problems on those disks and then were seen 'unmapped' from Symmetrix.
Otherwise if they were NO_HW after rmsf command then you should reboot system to clean them.

I hope this helps you.

Best regards,
Ettore
WISH? IMPROVEMENT!
Gerhard Roets
Esteemed Contributor

Re: rmsf doesn't work fine?

You can try the following

Ok firstly some theory
ioscan -fu........ inspects the "usable" config refer to the ioscan man page.

So try to do a "ioscan -fn" and then an ioscan -fun and the output might change from the one to the next.

My 10c worth maybe you are just looking at some cached config which has gone a astray.

Regards
Gerhard