Operating System - HP-UX
1756622 Members
2492 Online
108849 Solutions
New Discussion юеВ

psd_status problem on HPUX 11.31

 
SOLVED
Go to solution
Slawek Ksiazek
Regular Advisor

psd_status problem on HPUX 11.31

Hi

I have question why on HPUX 11.31 (Agile naming mode) psd_status return 0 and 1

Disk hardware path = 64000/0xfa00/0x0
Disk status = 1
Disk major identifier = 3
Disk minor identifier = 0


Disk hardware path = 64000/0xfa00/0x1
Disk status = 0
Disk major identifier = 3
Disk minor identifier = 1


On HPUX 11.31 (with legacy DSF naming ) all is ok

...
Disk hardware path = 0/0/2/1/1.1.27.0.0.0.1
Disk status = 0
Disk major identifier = 31
Disk minor identifier = 917760


Disk hardware path = 0/0/2/1/1.1.27.0.0.0.2
Disk status = 0
Disk major identifier = 31
Disk minor identifier = 918016
...


Why and where is problem?

Thanks a lot for help

SK

Ps. I add as a attachment my c test program
2 REPLIES 2
Dennis Handly
Acclaimed Contributor
Solution

Re: psd_status problem on HPUX 11.31

>why on HPUX 11.31 (Agile naming mode) psd_status return 0 and 1

The man page says 1 is open and 0 is closed.

On my system, 64000/0xfa00/0x0 and 64000/0xfa00/0x2 are open.

>Why and where is problem?

Why do you think there is a problem?
Slawek Ksiazek
Regular Advisor

Re: psd_status problem on HPUX 11.31

my question was incorrect