Re: FreeBSD RELENG_7 scsi and usb, usb disks take precedence
Dan Nelson [EMAIL PROTECTED] writes: Hi, No patching needed. You can wire down the unit number of your scsi bus and drive with boot hints as described in the scsi(4) manpage. Wire the adaptec card down as scbus0, and wire the device at scbus0.0 down as da0. Nice. I've never used scsi related hints ATM. I've learned something today © ;) -- bof mot de passe invalide ca veut dire quoi? Que tu peux s'assoir dans les places réservées des autobus. -+- LW in GNU : Pour l'invalide, c'est l'opéra ou la concorde. -+- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD RELENG_7 scsi and usb, usb disks take precedence
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm writing this, in hope that someone has a quick-and-dirty trick to solve a minor problem I have. My home server, running RELENG_7 is booting off a 10Krpm scsi drive, connected to an adaptec controller. This device is /dev/da0. However, should I accidentally reboot the server with ANY usb block device, FreeBSD assumes that the USB controller is the first scsi chain in the computer, and assigns the lower da numbers to the usb block devices, placing the actual scsi disk as the last da device. Is there any way to tell FreeBSD permanently I want my adaptec controller's scsi chain to be the first, no matter what USB devices you find? If this is documented somewhere, feel free to point me to the correct man page. Regards, Svein Skogen -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkj3Kl0ACgkQtVbTV+BEzaN0mACeJRcLvDU3W5mu7MUuQmL5Uqpt 5p8AnjcigRJQixlj2J5/WBqSmA2MdcDh =R+MG -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD RELENG_7 scsi and usb, usb disks take precedence
Svein Skogen (List Mail Account) [EMAIL PROTECTED] writes: Hi, Is there any way to tell FreeBSD permanently I want my adaptec controller's scsi chain to be the first, no matter what USB devices you find? You can circumvent this behaviour by using GEOM labels : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-glabel.html Regards -- CEJe ne sais pas si vous etes la personne adequat mais il y a un CEdégénéré mental qui veut enculer tous le monde sur frsf ne vous inquiétez pas, ce n'est pas possible via Usenet :) -+-LW in Guide du Neuneu Usenet - Après les mouches, à qui le tour ? -+- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD RELENG_7 scsi and usb, usb disks take precedence
Svein Skogen (List Mail Account) [EMAIL PROTECTED] writes: Hi, With all due respect, if sysinstall isn't able to write those labels, this is hardly the solution to the problem... ;) Sysinstall, even if it has proven to be useful, is outdated in many respects, it doesn't cope really well with GEOM or ZFS for example. Using GEOM labels ensure that fstab will always be consistent, so *this is* a solution. Now, you can try to patch the kernel to make it probe devices in a predefined sorted order, but I guess it will be much more difficult ;) -- Car en normandie nous aimons beaucoup le jeu du saute-moutons. Et j'interdis ici les parisiens centralistes et snobinards de profiter de cet aveu pour briller d'un calembour à tendance zoophile et bocagophobe -+- LC in www.le-gnu.net - Sauter n'est pas jouir -+- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD RELENG_7 scsi and usb, usb disks take precedence
In the last episode (Oct 16), Eric Masson said: Svein Skogen (List Mail Account) [EMAIL PROTECTED] writes: With all due respect, if sysinstall isn't able to write those labels, this is hardly the solution to the problem... ;) Sysinstall, even if it has proven to be useful, is outdated in many respects, it doesn't cope really well with GEOM or ZFS for example. Using GEOM labels ensure that fstab will always be consistent, so *this is* a solution. Now, you can try to patch the kernel to make it probe devices in a predefined sorted order, but I guess it will be much more difficult ;) No patching needed. You can wire down the unit number of your scsi bus and drive with boot hints as described in the scsi(4) manpage. Wire the adaptec card down as scbus0, and wire the device at scbus0.0 down as da0. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD RELENG_7 scsi and usb, usb disks take precedence
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan Nelson wrote: In the last episode (Oct 16), Eric Masson said: Svein Skogen (List Mail Account) [EMAIL PROTECTED] writes: With all due respect, if sysinstall isn't able to write those labels, this is hardly the solution to the problem... ;) Sysinstall, even if it has proven to be useful, is outdated in many respects, it doesn't cope really well with GEOM or ZFS for example. Using GEOM labels ensure that fstab will always be consistent, so *this is* a solution. Now, you can try to patch the kernel to make it probe devices in a predefined sorted order, but I guess it will be much more difficult ;) No patching needed. You can wire down the unit number of your scsi bus and drive with boot hints as described in the scsi(4) manpage. Wire the adaptec card down as scbus0, and wire the device at scbus0.0 down as da0. Thank you. :) //Svein -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkj3hWsACgkQtVbTV+BEzaOsfgCfWYOjk23XVQhESghcBb6IGuNH xkIAnRSpdXWZ9yLxQMiFlV++8cAsmTgT =Qkdr -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]