Re: USB harddrives and device associations

From: matt zagrabelny (mzagrabe_at_d.umn.edu)
Date: 08/31/04

  • Next message: matt zagrabelny: "Re: Kernel Compile"
    To: debian-user@lists.debian.org
    Date: Tue, 31 Aug 2004 13:25:42 -0500
    
    

    On Mon, 2004-08-30 at 13:10, Darryl Clarke wrote:
    > Hi,
    >
    > This may be a simple question, or complicated.
    >
    > I have a lot of USB drives that I deal with and I'm getting quite
    > annoyed that whenever I switch drives the /dev/sdX association changes
    > too. I started on /dev/sda and now I'm currently on /dev/sdp and I
    > have to edit my fstab every time I switch drives around.
    >
    > Even if I put it in the same port, the associated device changes.
    >
    > So, here's my question. Is there a way to have the device associated
    > be the same based on which USB port I plug it into?
    >
    > example: (one root hub '1' with 4 ports and a 4 port hub plugged into it)
    > port USB 1-1 -> /dev/sda
    > port USB 1-2 -> /dev/sdb
    > port USB 1-3 -> /dev/sdc
    > port USB 1-4 -> this is a 4 port hub
    > port USB 1-4.1 -> /dev/sdd
    > port USB 1-4.2 -> /dev/sde
    > port USB 1-4.3 -> /dev/sdf
    > port USB 1-4.4 -> /dev/sdg
    > etc.
    >
    > That is basically how it would end up after the first boot. However,
    > if I unplug /dev/sda and plug in a different drive it will get
    > /dev/sdh and so on.
    >
    > I dabbled in using LABEL based mounting, but unfortunately that only
    > works with extfs and a lot of these drives are FAT32 so I need to have
    > the dev stay consistant so I can not have to edit /etc/fstab every
    > time the associated device changes.
    >
    > I'm open to any suggestions on alternate handling methods of what is
    > now only a few drives, but will be in the future hundreds. (only about
    > 7 to 10 plugged in at once though ;))

    i have the same question. ive gotten responses on debian-user before
    that reference a possible solution by using the scsitools package or the
    hotplug package. ive never further explored these options, but it would
    be nice to be able to plug in more than one usb device without having to
    edit /etc/fstab.

    -matt

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: matt zagrabelny: "Re: Kernel Compile"

    Relevant Pages

    • Re: Largest External HDD I Can Use With a Dimension 8200?
      ... Got the problem with the external Maxtor OneTouch II drive resolved. ... I totally uninstalled and reinstalled the Maxtor software, and used a different USB port on the back of my D-8300. ... These problems with ALL THE USB DEVICES started about 6 months ago, and increased with frequency until recently they became intolerable. ... I use the two front USB ports to connect my PNY Flash Drives, and get errors when plugging in to forward connector, but not the back one. ...
      (alt.sys.pc-clone.dell)
    • Re: Installing Fedora without a CDROM: my HOWTO
      ... Here is my HOWTO on installing Linux from a USB drive, ... disk or USB key rather than a CDROM boot disk. ... Put auxillary files (special drivers, post setup install config, ... This way I can mount any number of hard drives in the ...
      (Fedora)
    • Re: SATA HDD in external USB2 case no longer recognised after 1st reboot
      ... only to find that the SATA drive was no longer ... is it normal that I have 5 USB controllers in my device ... manager, ... both my external drives are Maxtor, but I know the "Maxtor 6 Y160P0 USB ...
      (microsoft.public.windowsxp.hardware)
    • Re: Bootable USB HDD
      ... with the ability to boot from USB is required. ... both of whom stated that USB external drives ... >>>>USB external hard drives. ...
      (microsoft.public.windowsxp.hardware)
    • Re: Bootable USB HDD
      ... External USB Storage ... the boot order in the ... >that state that "you can boot from a USB external hard ... both of whom stated that USB external drives ...
      (microsoft.public.windowsxp.hardware)