dev nodes assignement ?
Hello,
Is /dev/sdX scsi dev node assignment based *only* on the pci-slot the HBA's are in? or also upon the order in which the LLDD is loaded?
In other words does the mid-layer scan+make-a-list of all HBA's on the system (and thereby assigning the /dev name) and then when a LLDD is loaded, tells it the HBA-list?
OR
Does each LLDD does a pci-scan and assign /dev name for HBA's that it can handle -- in which case the order of LLDD getting loaded is also important in deciding the /dev/sdX name.
Please clarify,
Thanks in advance
A.
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
first come first serve. devfs defines the device nodes using access path (host/channel/id/lun) which is a bit more usable for hotswap situtations, assuming your id's don't change.
Thanks
-steve
Quoted 28 lines · devnetfs
Hello,
Is
/dev/sdXscsi dev node assignment based *only* on the pci-slot the HBA's are in? or also upon the order in which the LLDD is loaded?In other words does the mid-layer scan+make-a-list of all HBA's on the system (and thereby assigning the /dev name) and then when a LLDD is loaded, tells it the HBA-list? OR
Does each LLDD does a pci-scan and assign /dev name for HBA's that it can handle -- in which case the order of LLDD getting loaded is also important in deciding the/dev/sdXname.Please clarify, Thanks in advance
A.__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 6 lines
Is
/dev/sdXscsi dev node assignment based *only* on the pci-slot the HBA's are in? or also upon the order in which the LLDD is loaded?
First of all, let's acknowledge that the /dev/sdX device special file assignments are done manually by the user and are permanent. /dev/sdX is assigned to a major and minor number.
So the actual question is about minor number assignments.
Quoted 4 lines
... OR
Does each LLDD do a pci-scan and assign [minor numbers] for HBA's that it can handle -- in which case the order of LLDD getting loaded is also important in deciding the [minor number].
Yes.
Thanks Bryan and Steve for clarifying my (long standing) doubt :)
Regards,
A.
Quoted 7 lines · --- Bryan Henderson
Quoted 2 lines
Is
/dev/sdXscsi dev node assignment based *only* on the pci-slot the HBA's are in? or also upon the order in which the LLDD isloaded?First of all, let's acknowledge that the
/dev/sdXdevice special file assignments are done manually by the user and are permanent./dev/sdXis assigned to a major and minor number.
Quoted 6 lines
So the actual question is about minor number assignments.
Quoted 4 lines
... OR
Does each LLDD do a pci-scan and assign [minor numbers] for HBA's that it can handle -- in which case the order of LLDD getting loaded is alsoimportant in deciding the [minor number].Yes.
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com