a problem of hard disks ordering...
Malcolm Kay
malcolm.kay at internode.on.net
Fri Oct 10 22:44:54 PDT 2003
On Sat, 11 Oct 2003 08:34, Raphaël Marmier wrote:
> I have recently installed FreeBSD 4.8 on a small Compaq Proliant server
> with a built-in Adaptec SCSI3 controller and a SmartArray 532 raid
> controller.
> The root device is on the volume provided by the raid controller, which
> is accessible under /dev/da#, like the built-in scsi.
>
> I like to add a scsi drive on the built-in scsi to use for storing
> "worthless" data such as /usr/src, /usr/ports and /usr/obj, so it's
> fast and doesn't hog the production volume.
>
> My problem is that when I add a drive to the built-in controller, it
> gets mapped to /dev/da0, pushing the SmartArray's volume to /dev/da1 !!!
>
> I need this server to be able to survive a disk failure, IMHO, should
> include the ability to reboot properly. However, with such a setup, the
> failure of any non-raid disk would prevent the os from booting (wrong
> fstab), which somehow defeats the purpose of having raid in the first
> place. This is a dns and mail server, so it MUST be able to come up
> again, whatever the reason of the shutdown.
>
> Is there a way to force the order the da driver maps drive?
>
No personal experience but I believe you can "wire down" both the
the drives and the scsi controllers. Take a look at the man pages
da(4) and scsi(4)
Malcolm
More information about the freebsd-questions
mailing list