Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I hibernated my computer (suspend to disk) and added a new SATA disk. After resuming, my Ubuntu 10.10 does not recognize the new disk (while the BIOS did when starting up).

How can I get my machine to recognize the new hard drive without rebooting?

share|improve this question
1  
I'm not sure if that's supposed to work. A different approach would be to attach the disk after Ubuntu loaded (SATA should be hot-pluggable, but if it is, depends on your motherboard). –  htorque Jul 8 '11 at 6:58
add comment

1 Answer

up vote 1 down vote accepted

I found the answer in a blog entry:

$ echo "- - -" > /sys/class/scsi_host/host0/scan

I did that for all 4 channels, and voila - /dev/sdb is there now.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.