Re: How does CAM determine the order to number drives ?

From: Michael Grant (mg-fbsd3_at_grant.org)
Date: 07/31/04

  • Next message: Dmitry Morozovsky: "Re: How does CAM determine the order to number drives ?"
    Date: Sat, 31 Jul 2004 16:05:54 -0400
    To: Pete French <petefrench@ticketswitch.com>
    
    

    Yes, I know this situation all to well. In my case, I ended up
    physically plugging and unplugging drives until they ended up in the
    right place.

    I would sure love to see a way to fix a drive to an identifier. This
    has to be the one thing that has wasted more of my time than anything
    else in freebsd. For example, when I had a drive die on me a couple
    months back, when the machine rebooted, the dead drive still in the
    system, da2 became da1 and things just did not work well.

    If someone knows of a way to tie physical drives to the nodes in /dev,
    please let me know. I've heard that this auto drive numbering
    is a bios "feature" which is impossible to get around.

    Michael Grant

    On Sat, Jul 31, 2004 at 08:25:58PM +0100, Pete French wrote:
    > Hi, I have a small server which boots from an
    > Adaptec 2940 controller under CAM, and serves drives
    > off a Compaq 4200 RAID controller.
    >
    > I have spent the afternoon ttrying to upgrade the
    > RAID controller from a 4200 to a 5300. The 5300 uses
    > the CISS driver rather than the IDA driver, and this
    > lives under CAM too. Thus my RAID drives have changed
    > from being idad devices to being da devices.
    >
    > Unfortunately the RAID controller gets scanned first
    > so I now have a da0 and a da1 where I didnt before, and my
    > root drive has moved to da2.
    >
    > I can't persuade it to boot like this - it refuses to mount
    > the root from da2. The simplest solution, of course, would
    > be to somehow force the CAM system to scan the Adaptec
    > controller first, so that the root device is back in da0
    > where it belongs. But I cant find out if there is a way
    > of dojing this, or indeed how the system determines the order
    > at all.
    >
    > Any suggestions ?
    >
    > -pcf.
    >
    > PS: System is 4.10-RELEASE, though I suspect this is irrelevent
    > _______________________________________________
    > freebsd-stable@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  • Next message: Dmitry Morozovsky: "Re: How does CAM determine the order to number drives ?"

    Relevant Pages

    • Re: Post-install problems w/FC5 on Sun Fire x4200
      ... The RAID controller has four drives configured as two logical, ... The FC5 installation goes without a hitch, but after rebooting I never get a grub display. ... I've tried installing grub to both the MBR and the boot partition with no difference. ...
      (Fedora)
    • Drive configuration Best Practices
      ... Several years ago I was told by different hardware vendors and Microsoft ... Let's say we have three 80GB SCSI drives and we want raid 5. ... system partition of 20 GB, another partition for user data and quotas ... Create these three partitions via the RAID controller and install the os, ...
      (microsoft.public.windows.server.sbs)
    • Unable to boot Win2k after disk copy
      ... BIOS set to boot off of the Raid controller and the Raid controller set to boot off of the first hard disk. ... Again I am not using Raid at all but have been using my hard drive under the Raid controller so that I can free up the 4 slots of my IDE controller for DVD drives, ...
      (microsoft.public.win2000.general)
    • Re: Replace RAID controller in exchange server
      ... If the RAID controller is the same model, ... the drives in and it will read the config from the drives and boot up. ... I had to put all the drives in another server with a 5i and put the 5300 ...
      (microsoft.public.exchange2000.general)
    • Re: How does CAM determine the order to number drives ?
      ... On Sat, 31 Jul 2004, Michael Grant wrote: ... MG> physically plugging and unplugging drives until they ended up in the ... MG> If someone knows of a way to tie physical drives to the nodes in /dev, ... MG>> off a Compaq 4200 RAID controller. ...
      (freebsd-stable)