LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-27-2007, 04:50 PM   #1
mauryr
LQ Newbie
 
Registered: Feb 2007
Posts: 3

Rep: Reputation: 0
HotPlugging IDE hard drives on internal removable bay


Hello, I am fairly new to linux.
I setup a debian box to be my server for sql, svn and a few other things, and I also setup a cron job to backup all this stuff into a tar archive daily. I have a removable ide tray & hdd and I would like to use it to store the backup archives to keep an off-site copy. Now, my problem is if I wanna use this hdd, I need to plug it in and reboot, because I found no way to make linux recognize it (even manually would be fine enough, I could just check in the backup script, if the device is present, then make the off site copy, otherwise just continue).
So, does anyone know if there is a way to do this without rebooting?

Thanks.
 
Old 02-28-2007, 10:07 AM   #2
Wells
Member
 
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 383

Rep: Reputation: 31
I assume that this drive is plugging directly into the IDE chain on the system. More than likely the IDE chipset on your motherboard is not hot-plug compatible, which is why you are having problems.

A better solution for you would probably be to get one of the IDE to USB conversion kits that are out there, as USB supports hot-pluggin a lot better than standard IDE chipsets.

The conversion kits for external drive carriers are pretty inexpensive, as well.
 
Old 02-28-2007, 11:20 AM   #3
mauryr
LQ Newbie
 
Registered: Feb 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Yes, I believe the controller is not hot plug compatible, yet I know for a fact if I run windows on this machine I can plug a hard drive, refresh the drives with a click, and it works without giving any trouble to the system's stability. I was hoping this would be possible on linux as well, but I guess not. Thanks for your reply.
 
Old 02-28-2007, 11:24 AM   #4
Wells
Member
 
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 383

Rep: Reputation: 31
Hrm... if that is the case, then it MAY be possible, but I think you would have to be loading the IDE drivers as a module and then, in order to get them to work with the just inserted drive, you would have to unload and reload them in order to get a fresh scan of the drives on the controller.

This is obviously impractical for a machine where you already have some IDE drives on the same controller.

The other possibility is that there is some sort of command you can send to the IDE driver to rescan for new drives, but I have no idea where this would be.
 
Old 02-28-2007, 01:13 PM   #5
mauryr
LQ Newbie
 
Registered: Feb 2007
Posts: 3

Original Poster
Rep: Reputation: 0
That'd be exactly what I am looking for, if anyone has any idea, please let me know ^ ^
 
  


Reply

Tags
backup, hotplug, ide


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
2 hard drives, XP on my main sata drives, 10.2 on my IDE LILO doesnt show on boot up Dachy Slackware 14 01-03-2008 07:01 AM
Unmounting removable IDE hard drive gusx Linux - Hardware 3 09-29-2005 10:18 AM
Hotplugging an Addonics USB enclosure containing an IDE hard drive TomF Linux - Hardware 0 10-24-2004 01:03 AM
Linux won't boot in removable drive tray. But has no poblem in Internal bay. Mike Hotel Linux - Laptop and Netbook 0 06-16-2004 05:28 PM
Removable IDE Drives (Fat32) TheSwine Linux - Hardware 1 03-15-2004 01:07 AM


All times are GMT -5. The time now is 03:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration