Results 1 to 8 of 8

Thread: Hotpluging SATA and eSATA drives

  1. #1
    Join Date
    Jul 2011
    Location
    South-Africa
    Beans
    678
    Distro
    Ubuntu 12.04 Precise Pangolin

    Hotpluging SATA and eSATA drives

    Hay all,

    I have this external 1TB drive with eSATA. It is hotplugable but when I plug into my computer (ubuntu 10.04_32) and into my laptop (ubuntu studio 10.04_64) it is not detected or mounted (It has 2 partitions equal in size).

    How can I mount this drive if it is plugged in AFTER boot, I really dont want to reboot the PC each time I add or remove the drive.

    Thanks
    Switched away from windows XP to Ubuntu 9.04. Never turned around to look back.

  2. #2
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Hotpluging SATA and eSATA drives

    maybe you need to log out/in

    https://wiki.ubuntu.com/X/InputHotplug

  3. #3
    Join Date
    Mar 2010
    Location
    ρθΦ=000
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Hotpluging SATA and eSATA drives

    +1 for dino99's post, though it seems to me that I haven't had to relog with my eSata external hard drive in 10.04 LTS. If it still isn't auto-mounting, you can manually mount it following these instructions

  4. #4
    Join Date
    Jul 2011
    Location
    South-Africa
    Beans
    678
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Hotpluging SATA and eSATA drives

    Hay,

    Seems like I haven't given enough information about my issue.

    I tried the loging out and then back in. No luck.

    The drive is not picked up at all if it is connected after boot. Not with gparted, or disk utility. So I cannot run something like:

    Code:
    sudo mount /dev/sdb1 /Multimedia
    only as an example.


    But after a reboot, the drive is picked up normaly and I can mount it by going to Places and the clicking on the drive partition I wish to mount.


    I have read elsewhere on the internet there is a BIOS option that depicts if a sata device is detected when it is hotpluged, or only during startup. Is this true? Should I be looking at hardware level rather than software level?

    Thanks a lot
    Cherz
    Switched away from windows XP to Ubuntu 9.04. Never turned around to look back.

  5. #5
    Join Date
    Mar 2010
    Location
    ρθΦ=000
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Hotpluging SATA and eSATA drives

    You have initialized and partitioned your disk, correct? If not, do that, then keep reading.

    In BIOS (hit [F2] during POST to enter BIOS), check for the hard drive mode - you should have it set to ACHI (versus IDE or RAID). Save your changes and reboot, then try to see if it works properly.

  6. #6
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Hotpluging SATA and eSATA drives

    such kind of job is normally done via the "mountall" package

    sudo apt-get install --reinstall mountall

    and your /etc/fstab might be similar than mine :

    proc /proc proc defaults 0 2
    UUID=5d8d1ee1-f5af-40a1-a45d-dbc570808523 /home ext3 defaults,relatime 0 2
    UUID=0a9ca7f0-6eeb-4b21-b70f-670fa600de16 none swap sw 0 0

    as you see, it is minimalist: only /home & swap partitions, dont need more.

  7. #7
    Join Date
    Jul 2011
    Location
    South-Africa
    Beans
    678
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Hotpluging SATA and eSATA drives

    check for the hard drive mode - you should have it set to ACHI
    AAAAH that worked!.. Thanks. Now the drive is detected correcly (partitions and all) as I expect it to.. Exactly the same way as it is if it is attached before boot.

    Thanks for all the help guys (or girls lolz)

    Cherz
    Switched away from windows XP to Ubuntu 9.04. Never turned around to look back.

  8. #8
    Join Date
    Mar 2010
    Location
    ρθΦ=000
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Hotpluging SATA and eSATA drives

    Awesome glad all is working now!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •