Results 1 to 3 of 3

Thread: hotplug SATA not detected - 12.04 server

  1. #1
    Join Date
    Aug 2010
    Beans
    4

    [12.04 Server] hotplug SATA not detected

    Hi

    I have a 12.04 server install with 3 hard drives, all SATA.

    I have checked the MB and AHCI is enabled. I installed the server with AHCI enabled on the MB.

    When I remove a drive, it disappears from the system, when I plug it back in it does not appear in /proc/partitions even after a partprobe. I have looked around on the internet for a few hours and from what I can tell it should be detecting the drive automatically.


    Code:
    ~# modprobe --list | grep ahci
    kernel/drivers/ata/acard-ahci.ko
    kernel/drivers/ata/ahci_platform.ko
    Code:
    ~# lsmod | grep ahci
    ~#
    What else should I provide and what suggestions do you have?
    Last edited by Benaiah; June 6th, 2012 at 02:39 PM. Reason: changed title

  2. #2
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,505
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: [12.04 Server] hotplug SATA not detected

    Quote Originally Posted by Benaiah View Post
    Hi

    I have a 12.04 server install with 3 hard drives, all SATA.

    I have checked the MB and AHCI is enabled. I installed the server with AHCI enabled on the MB.

    When I remove a drive, it disappears from the system, when I plug it back in it does not appear in /proc/partitions even after a partprobe. I have looked around on the internet for a few hours and from what I can tell it should be detecting the drive automatically.
    ..........
    What else should I provide and what suggestions do you have?
    Add yourself to this bug:

    https://bugs.launchpad.net/ubuntu/+s...al/+bug/153768

    I just upgraded from 10.04 to 12.04 and what used to work now does not.
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  3. #3
    Join Date
    Nov 2009
    Beans
    1

    Re: hotplug SATA not detected - 12.04 server

    In case you are still having problems, and need a workaround, I had the same problem. Drives were discovered as soon as plugged in in 11.04, but were only detected on the first hot-plug in 12.04. This worked for me:

    # apt-get install scsitools
    # rescan-scsi-bus

    The rescan-scsi-bus command found all my drives, (those already known and two previously undetected eSata drives) and dropped them into /proc/partitions.

    rescan-scsi-bus is a shell file, so presumably you could cherry-pick the contents and grab just the commands needed for your eSata drives. I didn't bother, since the command runs in about 10 seconds, and that is good enough for me.

    The manual page for rescan-scsi-bus is here.

    Good Luck!

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
  •