[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.

Re: [12.04 Server] hotplug SATA not detected

Originally Posted by Benaiah

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?

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.