LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Cannot mount USB hdd (https://www.linuxquestions.org/questions/linux-hardware-18/cannot-mount-usb-hdd-909068/)

FireRaven 10-19-2011 07:07 PM

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


Sader881 10-19-2011 09:22 PM

this may be an unimportant question, but what OS are you running?

FireRaven 10-19-2011 09:53 PM

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.


All times are GMT -5. The time now is 04:06 PM.