Re: SCSI disk names change when adding / removing devices.

From: Jeff Vian (jvian10_at_charter.net)
Date: 07/12/04

  • Next message: Philippe: "Re: Sound instability - HDW pb"
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Sun, 11 Jul 2004 22:32:45 -0500
    
    

    On Sun, 2004-07-11 at 21:56, Naoki wrote:
    > Hi all,
    >
    > I have a problem, when I install my OS ( FC2 ) on my nice machine
    > with an internal scsi controller my two disks are sda and sdb, which is
    > all nice and expected. But then when I add a new scsi card and hook up
    > the external disk array the new array now becomes sda which has a very
    > negative effect, can't boot..
    >
    > Any helpful hints? I could label the disks sure but then swap is still
    > on sda2 and that's a problem.
    >
    > -n.
    >

    BTW, For your planning for future use of scsi.. AFAICT, scsi devices
    are named in the order seen. It is thus necessary to know which adapter
    will be seen first, as well as the scsi ID of the drives.

    On the bus of a single adapter, drives are named in ID sequence. If you
    have a drive with id 5 and another with id 9, the first will be sda and
    the second will be sdb. If you add one at id 8, it becomes sdb and the
    one at id 9 is now sdc. If you then add one at id 0, all the ones with
    higher ids are bumped to different names.

    Thus for simplicity you should fill the scsi ids starting at 0 and going
    sequentially so you do not have unexpected problems of this sort.

    Then you also have to know which pci slots are probed first so you do
    not have the problems you just saw.

    It is easy once understood, but can be puzzling for the uninitiated.

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Philippe: "Re: Sound instability - HDW pb"

    Relevant Pages

    • RE: Boot loader problem after addiing SCSI disk
      ... Unfortunately the three scsi devices are not identical. ... The old sda and sdb are two internal raided file systems on two 3ware 8 ... port PATA controllers, ...
      (RedHat)
    • FC2 -> F7 via yum
      ... the drive renaming of everything (ATA and SCSI) to sd$ ... hda -> sda ... hdb -> sdb ...
      (Fedora)
    • Re: SCSI disk names change when adding / removing devices.
      ... > with an internal scsi controller my two disks are sda and sdb, ... But then when I add a new scsi card and hook up ... I could label the disks sure but then swap is still ...
      (Fedora)
    • Re: libata in 2.4.24?
      ... As a result SCSI disks are reliable for database ... if the OS driver has not issued a FLUSH CACHE ... I hope you mean the drives don't report completion until the data is on ...
      (Linux-Kernel)
    • Re: Transferring Linux hard drive to a new system
      ... MS> In about a couple of weeks I'll be moving my Linux server to something ... MS> and never saw another problem again on the clean install. ... SCSI disks though. ...
      (comp.os.linux.misc)