Ask Your Question

Drive won't mount in FC17, mounts in other systems

asked 2012-06-10 09:49:29 -0500

b gravatar image

updated 2012-06-10 09:54:46 -0500

It's a 1TB drive I've had for a few years, with one ext3 partition. I use one of two USB-to-SATA docks to plug it in. All of the below holds for either USB-to-SATA dock.

The other laptop over there has a recent version of Ubuntu, on which the drive mounts OK. I can see directories, read/write, et cetera. The log recommends running fsck, but I'm reluctant to do so because of past experiences where a drive where 2% of the data was inaccessible before fsck turned into a drive where 100% of the data is inaccessible after fsck.

On the Fedora laptop, however, the drive doesn't mount at all.

kernel: [32857.954315] EXT4-fs (sdc1): couldn't mount as ext3 due to 
feature incompatibilities
kernel: [32857.964389] EXT4-fs (sdc1): mounting ext2 file system using the 
ext4 subsystem
kernel: [32857.965079] EXT4-fs (sdc1): bad geometry: block count 13129091840 
exceeds size of device (244189952 blocks)

Trying mount with different superblocks doesn't change this error.

That was the status as of a few hours ago, on partition one of the disk.

Now let's add another layer of trouble: I ran testdisk via the Fedora laptop, which seems to have blanked out the partition table (without asking my permission to write, even) and screwed up the size of the disk. Fdisk output:

Disk /dev/sdb: 4110 MB, 4110417920 bytes
127 heads, 62 sectors/track, 1019 cylinders, total 8028160 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System

To be clear, the partition table has no entries and is blank. Meanwhile, back on the other box, the partition table is as it should be:

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 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: 0xcd9a93aa

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      121602   976759808   83  Linux

After rewriting the partition table on the Ubuntu laptop, the Fedora laptop still sees the blank partition table.

Why do the two laptops see the same drive in such an entirely different manner? How can I get the Fedora laptop to take the less-damaged perspective on the drive?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-09-14 20:27:07 -0500

cfr gravatar image

Do you know what sort of partition table you used on the disk originally?

Are you using fdisk to get the partition table on both boxes?

Non-GPT-aware disk tools will cause havoc with GPT disks. I don't know whether testdisk handles GPT properly or not.

edit flag offensive delete link more

Question Tools


Asked: 2012-06-10 09:49:29 -0500

Seen: 1,071 times

Last updated: Sep 14 '12