Andreas - good call. I just checked the file system that is running with TOSS and here are the features described for the MDT:
Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent FEATURE_I8 flex_bg FEATURE_I12 sparse_super large_file
huge_file uninit_bg dir_nlink extra_isize
On the RHEL-6.1 created MDT these are the features:
Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery mmp flex_bg dirdata sparse_super large_file huge_file uninit_bg dir_nlink
I did not intentionally set extents. So as a sanity check I re-created the MDT on the test machine. Even though it is not included in the command line or appear in the options for mkfs.lustre in verbose mode the subsequent dumpe2fs definitely shows it as being there.
[root@cmds1 ~]# mkfs.lustre --mgs --mdt --reformat --verbose --fsname=scratch2 --failnode=10.196.135.143@o2ib1 /dev/mapper/3600c0ff00011bdb4b12c0b4f01000000
Permanent disk data:
Target: scratch2-MDTffff
Index: unassigned
Lustre FS: scratch2
Mount type: ldiskfs
Flags: 0x75
(MDT MGS needs_index first_time update )
Persistent mount opts: user_xattr,errors=remount-ro
Parameters: failover.node=10.196.135.143@o2ib1
device size = 2858688MB
formatting backing filesystem ldiskfs on /dev/mapper/3600c0ff00011bdb4b12c0b4f01000000
target name scratch2-MDTffff
4k blocks 731824160
options -J size=400 -I 512 -i 2048 -O dirdata,uninit_bg,mmp,dir_nlink,huge_file,flex_bg -E lazy_journal_init -F
mkfs_cmd = mkfs.ldiskfs -j -b 4096 -L scratch2-MDTffff -J size=400 -I 512 -i 2048 -O dirdata,uninit_bg,mmp,dir_nlink,huge_file,flex_bg -E lazy_journal_init -F /dev/mapper/3600c0ff00011bdb4b12c0b4f01000000 731824160
cmd: mkfs.ldiskfs -j -b 4096 -L scratch2-MDTffff -J size=400 -I 512 -i 2048 -O dirdata,uninit_bg,mmp,dir_nlink,huge_file,flex_bg -E lazy_journal_init -F /dev/mapper/3600c0ff00011bdb4b12c0b4f01000000 731824160
mkfs.ldiskfs 1.41.90.3chaos.wc3 (28-May-2011)
Discarding device blocks: failed - Operation not supported
Filesystem label=scratch2-MDTffff
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
1463654128 inodes, 731824160 blocks
36591208 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=2880079872
44689 block groups
16376 blocks per group, 16376 fragments per group
32752 inodes per group
Superblock backups stored on blocks:
16376, 49128, 81880, 114632, 147384, 409400, 442152, 802424, 1326456,
2047000, 3979368, 5616968, 10235000, 11938104, 35814312, 39318776,
51175000, 107442936, 255875000, 275231432, 322328808
Allocating group tables: done
Writing inode tables: done
Creating journal (102400 blocks): done
Multiple mount protection has been enabled with update interval 5 seconds.
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 0 mounts or
0 days, whichever comes first. Use tunefs.ldiskfs -c or -i to override.
Writing CONFIGS/mountdata
[root@cmds1 ~]# dumpe2fs -h /dev/mapper/3600c0ff00011bdb4b12c0b4f01000000
dumpe2fs 1.41.12 (17-May-2010)
Filesystem volume name: scratch2-MDTffff
Last mounted on: /ram/tmp/mntBrCPMe
Filesystem UUID: 48d57c6d-8156-4eb7-bcf8-a298fc0f7af9
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent FEATURE_I8 flex_bg FEATURE_I12 sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags: signed_directory_hash
Default mount options: user_xattr acl
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 1463654128
Block count: 731824160
Reserved block count: 36591208
Free blocks: 548645355
Free inodes: 1463654115
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 1024
Blocks per group: 16376
Fragments per group: 16376
Inodes per group: 32752
Inode blocks per group: 4094
Flex block group size: 16
Filesystem created: Tue May 15 15:31:37 2012
Last mount time: Tue May 15 16:02:53 2012
Last write time: Tue May 15 16:02:55 2012
Mount count: 1
Maximum mount count: 20
Last checked: Tue May 15 15:31:37 2012
Check interval: 0 (<none>)
Lifetime writes: 698 GB
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 512
Required extra isize: 28
Desired extra isize: 28
Journal inode: 8
Default directory hash: half_md4
Directory Hash Seed: f6500d19-ed37-48f6-a446-e8485a2f9edf
Journal backup: inode blocks
Journal features: (none)
Journal size: 400M
Journal length: 102400
Journal sequence: 0x00000005
Journal start: 0
FEATURE_I8 is "mmp" and FEATURE_I12 is "dir_data". These are not being printed because you are using the stock "debugfs" instead of "debugfs.ldiskfs" (or whatever the equivalent is), which doesn't know what these features are called. That is expected when using a separate ldiskfsprogs and leaving the stock e2fsprogs installed.
The "fsck.ldiskfs -fDy" problem will still exist, even without the extents option, unless you apply the patch from http://review.whamcloud.com/2661.