LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-16-2007, 04:15 AM   #1
_stan_
LQ Newbie
 
Registered: Oct 2007
Posts: 4

Rep: Reputation: 0
external usb hdd


I am having some problems getting an external usb hdd to work. The drive is
a fujitsu MHT2040AT. I have pluged it into the usb port and it powers on, but I am not sure which device entry under /dev represents is. What makes matters worse is that the MBR is missing from this drive which means I am unable to read to it.. How do I go about rescuing this drive from the trash
heap?
 
Old 10-16-2007, 04:22 AM   #2
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Even if it is a raw disk without a partition and hence no filing system inside it will always show up in a root console by command
Code:
fdisk -l
which reports its size and the device name as detected and used in Linux.

If you can't see the device in the above terminal command (in root) then it is time to check the hardware connection.

If no one says it then I will shout

Welcome to the Forum.
 
Old 10-16-2007, 04:30 AM   #3
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.2 (multilib)
Posts: 1,221

Rep: Reputation: 58
Another approach might be to look at the output of

dmesg

after you have plugged in the drive
 
Old 10-16-2007, 04:31 AM   #4
_stan_
LQ Newbie
 
Registered: Oct 2007
Posts: 4

Original Poster
Rep: Reputation: 0
thankyou for your help

I think it is time to check the hardware.

_stan_
 
Old 10-16-2007, 04:32 AM   #5
selva146
Member
 
Registered: Oct 2007
Location: INDIA
Distribution: Rehat, Fedora, RHEL
Posts: 47

Rep: Reputation: 15
one way to know the device name is after plugging into the usb drive, just run the command

dmesg

this command will give the output of kernel.


at the end of the output you will find the detection of this hardware and details about this hardware.

this is deteced as /dev/sda1 if your system does not have any SCSI hard disk already.

if you have already 1 SCSI harddisk then
your new usb harddisk number detected as no. of SCSI disks + 1
 
Old 10-16-2007, 04:39 AM   #6
_stan_
LQ Newbie
 
Registered: Oct 2007
Posts: 4

Original Poster
Rep: Reputation: 0
dmesg yields the following output;

usb 4-3: new high speed USB device using ehci_hcd and address 2
usb 4-3: configuration #1 chosen from 1 choice
SCSI subsystem initialized
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
Vendor: FUJITSU Model: MHT2040AT Rev: 0000
Type: Direct-Access ANSI SCSI revision: 00
usb-storage: device scan complete
scsi 0:0:0:0: Attached scsi generic sg0 type 0
SCSI device sda: 78140160 512-byte hdwr sectors (40008 MB)
sda: Write Protect is off
sda: Mode Sense: 27 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 78140160 512-byte hdwr sectors (40008 MB)
sda: Write Protect is off
sda: Mode Sense: 27 00 00 00
sda: assuming drive cache: write through
sda:<6>sd 0:0:0:0: SCSI error: return code = 0x08000002
sda: Current: sense key: Medium Error
Additional sense: Unrecovered read error
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
sd 0:0:0:0: SCSI error: return code = 0x08000002
sda: Current: sense key: Medium Error
Additional sense: Unrecovered read error
end_request: I/O error, dev sda, sector 0
 
Old 10-16-2007, 04:45 AM   #7
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.2 (multilib)
Posts: 1,221

Rep: Reputation: 58
Suspect this is a hardware problem. I assume that the disc isn't working with Windows either.
 
Old 10-16-2007, 04:49 AM   #8
_stan_
LQ Newbie
 
Registered: Oct 2007
Posts: 4

Original Poster
Rep: Reputation: 0
haven't tested is under windows... I'm pretty sure it is a paperweight
 
Old 10-16-2007, 04:54 AM   #9
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.2 (multilib)
Posts: 1,221

Rep: Reputation: 58
This is a tentative idea. I wonder if it is worth trying to reformat the disc. It seems to have been identified as sda and I assume that none of your internal drives is sda
 
Old 10-16-2007, 05:47 AM   #10
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Before to format it how do we know sda is not an internal hard disk that has an operation system providing the dmesg data?

A "fdisk -l" output can tell us a lot of things.
 
  


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
USB External HDD FredGSanford Ubuntu 6 05-02-2007 06:14 PM
External USB HDD rogere SUSE / openSUSE 6 10-15-2006 12:35 PM
external usb hdd sameer666 Linux - Hardware 6 10-13-2006 04:35 PM
Getting an USB external HDD xiongnu Mandriva 1 12-12-2004 08:11 PM
External HDD USB SamothB Linux - Hardware 13 10-10-2003 04:59 PM


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