I have a 3TB hard disk pulled out of a WD Mybook Live NAS. The partition table is as follows:
Model: ATA WDC WD30EZRS-11J (scsi)
Disk /dev/sdb: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
3 15.7MB 528MB 513MB primary
1 528MB 2576MB 2048MB ext3 primary raid
2 2576MB 4624MB 2048MB ext3 primary raid
4 4624MB 3001GB 2996GB ext4 primary
So I'm trying to access partition 4 (the big one!):
root@john-desktop:~/linux-3.9-rc8# mount -t ext4 /dev/sdb4 /mnt/
mount: wrong fs type, bad option, bad superblock on /dev/sdb4,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Dmesg output:
[ 2058.085881] EXT4-fs (sdb4): bad block size 65536
This is fair enough. As far as I can tell my kernel isn't configured to support block sizes of over 4K.
My question is, what symbol should I be searching for in my kernel config to allow bigger block sized partitions to be mounted? I've scoured google for this, and I thought I saw the option before but I can't find any mention of it in the latest stable kernel source.
Edit: Full hard disk info from hdparm here: http://pastebin.com/hDdbUzjd
Edit: dumpe2fs output:
Mount count: 0
Maximum mount count: 30Last checked: Wed May 30 15:22:14 2012Check interval: 15552000 (6 months)Next check after: Mon Nov 26 14:22:14 2012Lifetime writes: 319 GBReserved blocks uid: 0 (user root)Reserved blocks gid: 0 (group root)First inode: 11
Inode size: 256
Required extra isize: 28
Desired extra isize: 28
Journal inode: 8
Default directory hash: half_md4
Directory Hash Seed: cd7a28a0-714c-9942-29f4-83bca1209130
Journal backup: inode blocks
Journal features: journal_incompat_revoke
Journal size: 2048M
Journal length: 32768
Journal sequence: 0x00010146
Journal start: 0
dumpe2fs -h
output for that volume? My 2012 man page for mke2fs says: "Valid block-size values are 1024, 2048 and 4096 bytes per block." Quite a jump from 4096 to 65536. – Hauke Laging Apr 24 '13 at 13:22