On the naming of discs
As noted in the install documentation, Linux and HPUX name their discs differently. HPUX follows the spec and numbers from 7 down to 0, Linux follows the PC aberration and numbers from 0 up to 7. Alan's just pointed out to me that we have the capability to reverse this. However, it's going to change everyone's numbering. Do we want to switch?
Signature · 1 line
Revolutions do not require corporate support.
Quoted 4 lines · Matthew Wilcox
As noted in the install documentation, Linux and HPUX name their discs differently. HPUX follows the spec and numbers from 7 down to 0, Linux follows the PC aberration and numbers from 0 up to 7.
The problem is not how disks are enumerated. HPUX does it exactly the same way - SCSI spec defines how the SCSI bus is to be walked.
The real problem is how devices are "named". Adding or removing devices may cause existing devices to get new names when the system is rebooted. And adding/removing devices on one SCSI bus will affect how devices on other SCSI busses are named.
Even though HPUX's naming convention isn't perfect (eg /dev/rdsk/c1t2d3), it works well for SCSI devices - regardless of type and when added.
grant
Grant Grundler
Unix Systems Enablement Lab
+1.408.447.7253
Quoted 5 lines
Quoted 2 lines
discs differently. HPUX follows the spec and numbers from 7 down to 0, Linux follows the PC aberration and numbers from 0 up to 7.
The problem is not how disks are enumerated. HPUX does it exactly the same way - SCSI spec defines how the SCSI bus is to be walked.
ANSI order is 15->0 order PC order 0->15
Quoted 4 lines
The real problem is how devices are "named". Adding or removing devices may cause existing devices to get new names when the system is rebooted. And adding/removing devices on one SCSI bus will affect how devices on other SCSI busses are named.
This isnt a kernel related issue