FreeBSD RELENG_7 scsi and usb, usb disks take precedence

2008-10-16 Thread Svein Skogen (List Mail Account)
-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

2008-10-16 Thread Svein Skogen (List Mail Account)
-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]