Date: Sun, 24 Jan 1999 00:44:52 -0700 (MST) From: "Kenneth D. Merry" <ken@plutotech.com> To: rohrbach@nacamar.net Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: SCSI question... and some enum idea Message-ID: <199901240744.AAA07177@panzer.plutotech.com> In-Reply-To: <19990123041739.G4581@nacamar.net> from "Karsten W. Rohrbach" at "Jan 23, 99 04:17:39 am"
next in thread | previous in thread | raw e-mail | index | archive | help
Karsten W. Rohrbach wrote... > i got a box with 2940u2w(aic789x) and raid array on an infortrend ift3102 > running here. the ift does create multiple luns for the different logical > disks - and it works excellent for me. > > btw, what came to my mind in this context was the enumeration of disk > devices (da?)... on some $$$ un*x boxes you got a scheme where the device > inode enumeration is fixed to the bus, scsi id and lun of the device > (pretty good idea that) so that if you sometimes add or remove your second > disk the third doesnt get the second and gets a mount error with wrong > filesystem type... so you would use /dev/disk/bus0id0lun0a or something as > root device... is this a good idea or is it rather nasty? i am often > swapping in/out our cd toaster of my department which is jumpered to id4 > and i'm a lazy bastard, so my drive on id5 and the cdrom on id6 change > device numbers sometimes... You can hardwire devices in your kernel config file to achieve the same effect, with more flexibility. You can do things like: controller ahc0 controller scbus0 at ahc0 device da0 at scbus0 target 0 unit 0 device cd0 at scbus0 target 5 unit 0 device cd1 at scbus0 target 6 unit 0 device cd2 at scbus0 target 4 unit 0 See LINT, or cam(4) for more details. [ which reminds me of a PR I need to fix and close ] Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901240744.AAA07177>