LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-13-2006, 05:30 PM   #1
Thebinaryman
LQ Newbie
 
Registered: Jun 2005
Location: Hartford, WI, USA
Distribution: Ubuntu Linux 8.04 LTS
Posts: 15

Rep: Reputation: 0
usb hard drive enclosure issues


i'm running fedora core 5. i have only a 20gb hard drive in my computer (ide), and its a micro atx case (only one internal 3.5" bay). so i wanted more space. i have another 20gb unpartitioned hard drive (ide) that had worked perfectly fine in one of my older computers that i thought i could use externaly, and so i bought this enclosure because it was cheap, and one of its reviews said it would work in linux.

so i got it today, popped my hd in it, and plugged it in ...no recognization. later i figured it shouldnt recognize it because there are no partitions on it. well i tried to follow this guide to get it setup. when i use tail /var/log/messages after plugging the drive in like that guide says, instead of getting something like: kernel: Attached scsi disk sda at scsi1, channel 0, id 0, lun 0 i get various scsi errors. then when i try: /sbin/fdisk /dev/sda it says it cant find /dev/sda (which i guess is because of that error). and after i get to this point i was ready to give up.

does anyone know if this enclosure can work with linux? is this product not working as it should? cause if it is, i would like to know soon so i can return it to newegg and get my money back. if i return it, is there a specific enclosure that will for sure work with linux? i am opting for returning this enclosure and getting a linux supported one. either that, or maybe i should save up a bit more and buy a big hd to replace the 20gb one in my computer, then i dont need an external drive.

??

thank you in advance.
 
Old 07-13-2006, 05:56 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
And what exactly do you see in your /var/log/messages file when you plug in the external USB drive????

If you need help getting the information posted try (as root from the console or xterm session) something like this after plugging in the device;

tail -12 /var/log/messages >> mytextfile

Then open the file using any text editor (gedit, nedit kwrite or whatever) select all and paste the contents into this quick reply message area.
 
Old 07-14-2006, 03:16 PM   #3
Thebinaryman
LQ Newbie
 
Registered: Jun 2005
Location: Hartford, WI, USA
Distribution: Ubuntu Linux 8.04 LTS
Posts: 15

Original Poster
Rep: Reputation: 0
output of tail -12 /var/log/messages >> mytextfile as root, just after plugging in the drive (with the power on):
Code:
Jul 14 14:12:49 BlackBeauty kernel: Buffer I/O error on device sda, logical block 0
Jul 14 14:12:49 BlackBeauty kernel: end_request: I/O error, dev sda, sector 0
Jul 14 14:12:49 BlackBeauty kernel: Buffer I/O error on device sda, logical block 0
Jul 14 14:12:49 BlackBeauty kernel: end_request: I/O error, dev sda, sector 0
Jul 14 14:12:49 BlackBeauty kernel: Buffer I/O error on device sda, logical block 0
Jul 14 14:12:49 BlackBeauty kernel: end_request: I/O error, dev sda, sector 0
Jul 14 14:12:49 BlackBeauty kernel: Buffer I/O error on device sda, logical block 0
Jul 14 14:12:49 BlackBeauty kernel: end_request: I/O error, dev sda, sector 0
Jul 14 14:12:49 BlackBeauty kernel: Buffer I/O error on device sda, logical block 0
Jul 14 14:12:49 BlackBeauty kernel: end_request: I/O error, dev sda, sector 0
Jul 14 14:12:49 BlackBeauty kernel: Buffer I/O error on device sda, logical block 0
Jul 14 14:12:49 BlackBeauty kernel: end_request: I/O error, dev sda, sector 0
by the way, the hostname of this computer is BlackBeauty, because its black and looks cool.
 
Old 07-14-2006, 04:21 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Turn off the automounter and try again, do not know if this applies to FC5 but it worth a shot;

http://www.redhat.com/docs/manuals/e...IOSK-AUTOMOUNT
 
Old 07-14-2006, 04:23 PM   #5
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
External enclosures that work with Mac OS X should work with out any problem in Linux. I suggest buying an IEEE-1394 and USB combo enclosure because IEEE-1394 effective data throughput is a lot higher than USB. IEEE-1394 is ment to be use for data storage while USB is ment to be use for small data transfers.

For my USB enclosure, I normally power it up first and then connect it to the USB cable.

I suggest http://www.cooldrives.com/3alox911fi40.html because it uses the whole enclosure as the heatsink, it is durable, sleek, data can be encrypted, and it has both IEEE-1394 and USB.

One reviewer said that it takes multiple attempts to have Windows detect it. This should give you alarm to not buy the device. If it takes a lot of attempts for Windows to detect it, Linux will take even more attempts.
 
Old 07-14-2006, 06:18 PM   #6
Thebinaryman
LQ Newbie
 
Registered: Jun 2005
Location: Hartford, WI, USA
Distribution: Ubuntu Linux 8.04 LTS
Posts: 15

Original Poster
Rep: Reputation: 0
heres what happens with automount off (for drives and media):
Code:
Jul 14 17:14:22 BlackBeauty kernel: scsi4 : SCSI emulation for USB Mass Storage devices
Jul 14 17:14:27 BlackBeauty kernel:   Vendor: WDC WD20  Model: 0EB-75CPF0        Rev: 06.0
Jul 14 17:14:27 BlackBeauty kernel:   Type:   Direct-Access                      ANSI SCSI revision: 00
Jul 14 17:14:27 BlackBeauty kernel: SCSI device sda: 39102336 512-byte hdwr sectors (20020 MB)
Jul 14 17:14:27 BlackBeauty kernel: sda: Write Protect is off
Jul 14 17:14:27 BlackBeauty kernel: sda: assuming drive cache: write through
Jul 14 17:14:27 BlackBeauty kernel: SCSI device sda: 39102336 512-byte hdwr sectors (20020 MB)
Jul 14 17:14:27 BlackBeauty kernel: sda: Write Protect is off
Jul 14 17:14:27 BlackBeauty kernel: sda: assuming drive cache: write through
Jul 14 17:14:27 BlackBeauty kernel:  sda:
Jul 14 17:14:27 BlackBeauty kernel: sd 4:0:0:0: Attached scsi disk sda
Jul 14 17:14:27 BlackBeauty kernel: sd 4:0:0:0: Attached scsi generic sg0 type 0
is this a good or bad sign? i'm alright with most linux commands, and even figured out how to write a few pointless shell scripts and c programs, but as far as hardware configuration goes in linux i'm lost.

thank you for your help so far.

and Electro -- thanks for the tips about the enclosure, but the one you suggested is a little pricey for me, in that case i would just buy a new hard drive to replace the one inside my computer.
 
Old 07-14-2006, 07:04 PM   #7
Thebinaryman
LQ Newbie
 
Registered: Jun 2005
Location: Hartford, WI, USA
Distribution: Ubuntu Linux 8.04 LTS
Posts: 15

Original Poster
Rep: Reputation: 0
yes! i think its working. i did a little bit more searching on the internet and found this and used that guide in combination with the previous one, and now it mounts as /mnt/usbdrive, i formatted it with ext3, and i think the case is solved!

i have yet to try how this works out if i leave it plugged in when i restart my computer and such, or how smoothly it will mount if i hot plug it in and unplug it.

thank you for your help guys!
 
Old 07-15-2006, 02:32 AM   #8
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
I normally use cfdisk to make and delete partitions. It is a lot easier and it runs from CLI.
 
  


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
Having problems mounting a Hard drive w/ enclosure pureevil4 Linux - Hardware 0 04-07-2006 03:19 PM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 10:03 AM
External Hard Drive Enclosure Suggestions Matir Linux - Hardware 0 01-12-2006 03:12 PM
USB hard drive enclosure pafrica Linux - Hardware 2 10-17-2005 12:27 AM
Hotplugging an Addonics USB enclosure containing an IDE hard drive TomF Linux - Hardware 0 10-24-2004 02:03 AM


All times are GMT -5. The time now is 04:46 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration