Ken Dreger: Dr. "D" <[EMAIL PROTECTED]> writes:
>SuSE Instsys linuxlpar:/dev # insmod dasd dasd=460,462
>Using /lib/modules/2.2.16/block/dasd.o
>
>THEN:
>
> SuSE Instsys linuxlpar:/dev # cat /proc/dasd/devices }more
> 0460(ECKD) at (94:0) is   dasda:n/f
> 0462(ECKD) at (94:4) is   dasdb:n/f
>
> So it looks like the logical NAME of "dasda" is assigned to
> 460 and "dasdb" is
> assigned to 462 !!!  if only I knew that long ago !!

Close.  *YOU* made the assignment when when you specified "dasd=460,462".
Specifically, the "dasd=" parameter on the "dasd" device driver
identifies the disk drives you want to have available to Linux.
It reserves one drive-letter for each disk address you specify,
and reserves it *FOR THAT DISK ADDRESS*.  If you'd typed
"dasd=460-462" then 462 would have been /dev/dasdc instead of
/dev/dasdb, and /dev/dasdb would be reserved for devices 461.
Likewise, "dasd=462,460" would have swapped them: 462 would be
dasda and 460 would be dasdb.

> now it looks like I may have 2 drives with the same label ??
>
> now way to tell......

Yup.  If you want a specific label, you need to tell "dasdfmt"
what to set, using the "-l" option.

Ross Patterson
Computer Associates

Reply via email to