LinuxQuestions.org
Visit Jeremy's Blog.
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 10-19-2011, 07:07 PM   #1
FireRaven
Member
 
Registered: Apr 2006
Location: Australia
Distribution: Debian Squeeze
Posts: 135

Rep: Reputation: 18
Cannot mount USB hdd


Hi,

I have two USB docks that take SATA HDD's.
When I insert my 750GB HDD into the first dock and fdisk/mkfs.ext2 it all works.

Then if I unplug and put in my 2nd dock I get
Code:
[ 1883.308674] VFS: Can't find an ext2 filesystem on dev sdb1.
Here is the fdisk view on the working dock:
Code:
Command (m for help): p

Disk /dev/sdb: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6b7e8770

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       91201   732572001   83  Linux

Command (m for help): q
And here is the fdisk view on the 2nd non-working dock
Code:
Command (m for help): p

Disk /dev/sdb: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 11400 cylinders
Units = cylinders of 16065 * 4096 = 65802240 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x6b7e8770

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       91201  1565608712   83  Linux
Partition 1 does not start on physical sector boundary.

Command (m for help): q
The docks are the same brand (different models) only plugged into different USB 2.0 ports on the front. Both docks are known to be working.

Is there something kernel related here happening?


One more thing, on the non-working dock it shows in dmesg
Code:
[ 3478.439129] sd 13:0:0:0: [sdb] 183143646 4096-byte logical blocks: (750 GB/698 GiB)
[ 3478.465489] sd 13:0:0:0: [sdb] Write Protect is off
[ 3478.465497] sd 13:0:0:0: [sdb] Mode Sense: 10 00 00 00
[ 3478.465502] sd 13:0:0:0: [sdb] Assuming drive cache: write through
[ 3478.510991] sd 13:0:0:0: [sdb] 183143646 4096-byte logical blocks: (750 GB/698 GiB)
[ 3478.537112] sd 13:0:0:0: [sdb] Assuming drive cache: write through
[ 3478.537383]  sdb: sdb1
[ 3478.564769] sdb: p1 size 11721152016 exceeds device capacity, limited to end of disk
[ 3478.601875] sd 13:0:0:0: [sdb] 183143646 4096-byte logical blocks: (750 GB/698 GiB)
[ 3478.642491] sd 13:0:0:0: [sdb] Assuming drive cache: write through
[ 3478.642774] sd 13:0:0:0: [sdb] Attached SCSI disk
[ 3498.692490] VFS: Can't find an ext2 filesystem on dev sdb1.
but when plugging in on the original formatted dock it shows
Code:
[ 3553.065777] sd 14:0:0:0: [sdb] 1465149168 512-byte logical blocks: (750 GB/698 GiB)
[ 3553.067560] sd 14:0:0:0: [sdb] Write Protect is off
[ 3553.067573] sd 14:0:0:0: [sdb] Mode Sense: 28 00 00 00
[ 3553.067581] sd 14:0:0:0: [sdb] Assuming drive cache: write through
[ 3553.069620] sd 14:0:0:0: [sdb] Assuming drive cache: write through
[ 3553.069908]  sdb: sdb1
[ 3553.091902] sd 14:0:0:0: [sdb] Assuming drive cache: write through
[ 3553.092207] sd 14:0:0:0: [sdb] Attached SCSI disk
 
Old 10-19-2011, 09:22 PM   #2
Sader881
LQ Newbie
 
Registered: Jun 2009
Location: Oklahoma
Distribution: Ubuntu, Red Hat, Fedora. Depends on the project.
Posts: 17

Rep: Reputation: 1
this may be an unimportant question, but what OS are you running?
 
Old 10-19-2011, 09:53 PM   #3
FireRaven
Member
 
Registered: Apr 2006
Location: Australia
Distribution: Debian Squeeze
Posts: 135

Original Poster
Rep: Reputation: 18
Ubuntu 10.04 kernel 2.6.32-24-server.

I believe this is a problem with the kernel thinking the sector size is 4k when it should really be 512. It's the same SATA disk just plugged into different SATA->USB controllers.
 
  


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
Make removable USB hdd mount at fixed mount point ctkroeker Linux - General 13 08-11-2009 08:49 AM
Cannot Mount USB HDD PaulyWally Linux - Hardware 1 10-26-2008 10:57 PM
how to mount usb and hdd form usb linux? choconlongxu Linux - Newbie 3 07-30-2008 09:28 AM
grub cant mount usb hdd creon Linux - General 1 06-08-2007 07:23 AM
USB hdd mount n°2 koy Linux - Newbie 2 10-03-2004 11:48 AM

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

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

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