LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-24-2006, 12:51 PM   #1
ScottReed
Member
 
Registered: Dec 2005
Location: Montana
Distribution: Debian "squeeze"
Posts: 157

Rep: Reputation: 30
Mounting firewire hard drives *SOLUTION*


I run a computer services business and I recently switched from Windows Server 2003 entirely over to my linux box. I do backups of customers hard drives by mounting them via ieee1394 and up until the switch to my linux box I had never had any trouble in W2K3 with firewire devices.

The issue I ran into on the linux box is that my kernel isn't re-scanning the bus when I unmount one drive and plug in another. A reboot always fixed it.

I tried to d/l and compile gscanbus, but that project is sort of old and it doesnt compile due to incompatibilites and old code.

I finally worked out a solution and I would like to share it with everyone in-case some of you experience the same problem I *had*. I hunted down and got rescan-scsi-bus.sh

It solved all my problems. I now simply unmount /dev/sdb1, power off the firewire enclosure, put the next hard disk in, fire it up and run (as root) rescan-scsi-bus.sh. Then I simply mount /dev/sdb1 and i'm golden.

Link to the script...
http://www.errorsect.com/files/rescan-scsi-bus.sh

Last edited by ScottReed; 01-24-2006 at 08:05 PM.
 
Old 01-25-2006, 02:35 PM   #2
tlowk
Member
 
Registered: Nov 2003
Location: Belgium
Distribution: Slackware
Posts: 184

Rep: Reputation: 36
there is another way with 2.6

your approach works for 2.4 but 2.6 also has a more advanced approach via 'udev' which even allows to have for a specific device always the same blockdevice, this also works for usb devices.

udevinfo -a -p /sys/block/sda

shows the properties you can use to recognize a specific device.

regards,

tlowk
 
  


Reply


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
Firewire hard drive not mounting aenimax Linux - Hardware 8 11-11-2005 04:13 AM
Help mounting firewire hard drives in debian sarge touser Linux - Hardware 1 05-07-2005 03:26 PM
chaining firewire hard drives? Moebius Linux - Hardware 1 08-15-2004 02:44 AM
USB / firewire hard drives with Linux? MadCactus Linux - General 2 08-15-2003 02:39 PM
Mounting firewire hard drives taymanoo7 Linux - Hardware 1 04-07-2003 07:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration