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

From: Dmitry Morozovsky (marck_at_rinet.ru)
Date: 07/31/04

  • Next message: Matthew Seaman: "Re: How does CAM determine the order to number drives ?"
    Date: Sun, 1 Aug 2004 00:15:30 +0400 (MSD)
    To: Michael Grant <mg-fbsd3@grant.org>
    
    

    On Sat, 31 Jul 2004, Michael Grant wrote:

    MG> Yes, I know this situation all to well. In my case, I ended up
    MG> physically plugging and unplugging drives until they ended up in the
    MG> right place.
    MG>
    MG> I would sure love to see a way to fix a drive to an identifier. This
    MG> has to be the one thing that has wasted more of my time than anything
    MG> else in freebsd. For example, when I had a drive die on me a couple
    MG> months back, when the machine rebooted, the dead drive still in the
    MG> system, da2 became da1 and things just did not work well.
    MG>
    MG> If someone knows of a way to tie physical drives to the nodes in /dev,
    MG> please let me know. I've heard that this auto drive numbering
    MG> is a bios "feature" which is impossible to get around.

    root_disk_unit="2"

    in /boot/loader.conf ?

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

    Sincerely,
    D.Marck [DM5020, MCK-RIPE, DM3-RIPN]
    ------------------------------------------------------------------------
    *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
    ------------------------------------------------------------------------
    _______________________________________________
    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: Matthew Seaman: "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)
    • Re: Extra harddrive needed on SBS2003
      ... The RAID controller needs to be told to present the drive to the OS. ... It should list the physical drives and allow you to do something with the uncommited drive. ... SBS remote support services. ... drive is brand new long format it with ntfs then hook it up. ...
      (microsoft.public.windows.server.sbs)
    • 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)
    • Re: raid controller
      ... In his article he states four major reasons to discourage RAID; ... Without RAID you could do a traditional backup at 8:00 AM and at 8:30 AM ... But It's asking for 'RAID Controller' ... hard drives with drive/s C on both drives. ...
      (microsoft.public.windowsxp.basics)
    • 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)