HPE EVA Storage
1825723 Members
2906 Online
109687 Solutions
New Discussion

Why did HP use the switch port number to create device files?

 
Thomas J. Harrold
Trusted Contributor

Why did HP use the switch port number to create device files?

Is there a good technical reason why HP creates the devices files based on switch domain ID and port number? It would certainly be nice to be able to move a cable to any port (say if a port fails...), and not have to export/import.

-tjh
I learn something new everyday. (usually because I break something new everyday)
2 REPLIES 2
Paul Barmettler
Frequent Advisor

Re: Why did HP use the switch port number to create device files?

Hi Thomas,

this behavior is not an invention of HP.
It's part of the Fibre Channel Protokoll (FCP).

Bye
Insu Kim
Honored Contributor

Re: Why did HP use the switch port number to create device files?

HPUX is a hardware path oriented operating system.

When HPUX is booting, it does an ioscan and compares the hardware path information to what is stored in the
/etc/ioconfig file.
If it finds a match, it will assign the instance number in the /etc/ioconfig file to the matching hardware path.
If it does not find a match, it will assign the next available instance number to the path. This permits
the system to maintain the same instance numbers across reboots of the system.

If software address is allowd, these hardware paths and their associated device files could change at any time.
To avoid this, soft address is not allowed by the HPUX FC driver.

Hope this helps,
Never say "no" first.