LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 11-20-2009, 06:40 AM   #1
fourreux
LQ Newbie
 
Registered: Sep 2007
Posts: 4

Rep: Reputation: 0
problem with external usb harddrive


Hi everybody

I'm having trouble with a usb external hdd (1TB)

The thing is, that it was plugged into my machine first with ntfs file system on it. I tried to copy everything to my internal harddrive where some files were detected corrupted, so I had to skip them.

I then first thought that it was a better idea to have it formated as fat32 as it would be easier to use between different OSs. I'm using arch linux here.

Then I found out that for a 1TB drive ntfs would still be a bette choice as it is a little big to handle fat32.

The problem first showed up when I was trying to format it with mkfs.vfat where the drive simply shut down. I heard that noise that a hard drive does when it shuts down. I guess it's the thing when the "reader" of the drive gets "parked".

A few attempts later I was back trying to format it with ntfs. which I did with gparted. All looked fine and I started to copy the files back on the drive. All of a sudden the drive shut down again ...

So I don't know whether I broke something while formatting with fat32 or later in the process.

Right now I'm running badblocks -v -s on it. this will take a long time as it seems to me right now. after 2h 20 min it's at 20%.

The question would be now:

- any suggestions?
- how to propperly format the thing on ntfs, that everything should be fine in case there's no hardware problem? (and what is the correct order of doing things, i.e. does it make sense to run badblocks, if as for now the drive is not really recognised in the attempt to mount. see dmesg output below)
- what tests to run to detect hardware problems (ther seems to be no smart support on the drive)?



thanx a lot in advance

lsusb:
Code:
Bus 002 Device 002: ID 152d:2336 JMicron Technology Corp. / JMicron USA Technology Corp. Hard Disk Drive
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x152d JMicron Technology Corp. / JMicron USA Technology Corp.
  idProduct          0x2336 Hard Disk Drive
  bcdDevice            1.00
  iManufacturer           1 JMicron
  iProduct                2 MEDION HDDrive2GO
  iSerial                 5 F60714988888
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 USB Mass Storage
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              6 Bulk-In, Bulk-Out Interface
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
can't get debug descriptor: Connection timed out
Device Status:     0x0001
  Self Powered
dmesg:
Code:
sd 8:0:0:0: [sdc] Unhandled sense code
sd 8:0:0:0: [sdc] Result: hostbyte=0x00 driverbyte=0x08
sd 8:0:0:0: [sdc] Sense Key : 0x3 [current] 
sd 8:0:0:0: [sdc] ASC=0x11 ASCQ=0x0
end_request: I/O error, dev sdc, sector 338444528
Buffer I/O error on device sdc, logical block 42305566
 
Old 11-20-2009, 06:49 AM   #2
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.2, OpenSUSE 11.3,Arch
Posts: 240

Rep: Reputation: 37
fat32 has a max file size (limitation) of 4Gb and a volume size(limitation) of 2TB. NTFS has no such limitations (at least none that is noticeable).

I would recommend you to do the formatting within windoz and see wat happens...
 
Old 11-20-2009, 04:05 PM   #3
fourreux
LQ Newbie
 
Registered: Sep 2007
Posts: 4

Original Poster
Rep: Reputation: 0
badblocks -v -s
Code:
Pass completed, 714 bad blocks found.
is that bad?
 
Old 11-21-2009, 10:28 AM   #4
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.2, OpenSUSE 11.3,Arch
Posts: 240

Rep: Reputation: 37
bad blocks are always bad... but dont worry too much about that... try formatting again n see wat happens
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] External USB Harddrive MBA Whore Linux - Hardware 2 08-21-2009 11:05 AM
External USB Harddrive Access jef3189 Linux - Hardware 1 11-15-2008 12:07 AM
Encrypted usb external harddrive Ephracis Linux - Security 2 11-10-2005 01:20 PM
USB External harddrive ashley75 Linux - General 1 10-28-2005 11:54 AM
Problem with external USB harddrive and Suse 9.1 Tommy_Taifun Linux - Hardware 4 05-24-2004 05:55 AM


All times are GMT -5. The time now is 09:05 AM.

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