[OpenAFS-devel] question: binary interface to kernel module (RHEL6.2/6.3, openafs 1.6.1)?

Stephan Wiesand stephan.wiesand@desy.de
Thu, 30 Aug 2012 17:38:57 +0200


On Aug 30, 2012, at 17:17 , chas williams - CONTRACTOR =
<chas@cmf.nrl.navy.mil> wrote:

> On Thu, 30 Aug 2012 15:19:16 +0200
> Stephan Wiesand <stephan.wiesand@desy.de> wrote:
>=20
>> It gets weirder: I can't reproduce the problem with an ext4 cache =
filesystem created with mkfs.ext4 on the running system. Only with =
filesystems created by the installer (SL6.2 is confirmed yet). The fsck =
doesn't find anything wrong with the fs.
>=20
> so the patch you mention shouldnt be used if you arent using htree
> directory index.  can you try making an ext4 filesystem without using
> dir_index.  this might be the difference versus the installer and the
> command line invocation of mkfs.ext4.

Thanks for the hint.

I created an ext4 filesystem from the command line, on an image of the =
same size as the cache partition, and compared the outputs from tune2fs =
-l. The only significant difference seems to be the default mount =
options, and those are not effective:

# diff -u anaconda.txt mkfs.txt=20
--- anaconda.txt	2012-08-30 17:25:42.409763606 +0200
+++ mkfs.txt	2012-08-30 17:29:26.619764865 +0200
@@ -1,20 +1,20 @@
 tune2fs 1.41.12 (17-May-2010)
 Filesystem volume name:   <none>
-Last mounted on:          /var/cache/afs
-Filesystem UUID:          6dd6fddf-e834-4db6-a7a8-7b7d03ccaaeb
+Last mounted on:          <not available>
+Filesystem UUID:          f60d7204-1512-46e8-8733-5b08ab64c6e7
 Filesystem magic number:  0xEF53
 Filesystem revision #:    1 (dynamic)
 Filesystem features:      has_journal ext_attr resize_inode dir_index =
filetype needs_recovery extent flex_bg sparse_super large_file huge_file =
uninit_bg dir_nlink extra_isize
 Filesystem flags:         signed_directory_hash=20
-Default mount options:    user_xattr acl
+Default mount options:    (none)
 Filesystem state:         clean
 Errors behavior:          Continue
 Filesystem OS type:       Linux
 Inode count:              65536
 Block count:              262144
 Reserved block count:     13107
-Free blocks:              121040
-Free inodes:              42948
+Free blocks:              249509
+Free inodes:              65525
 First block:              0
 Block size:               4096
 Fragment size:            4096
@@ -24,14 +24,14 @@
 Inodes per group:         8192
 Inode blocks per group:   512
 Flex block group size:    16
-Filesystem created:       Thu Aug 30 13:51:09 2012
-Last mount time:          Thu Aug 30 17:21:03 2012
-Last write time:          Thu Aug 30 17:21:03 2012
-Mount count:              5
+Filesystem created:       Thu Aug 30 17:23:47 2012
+Last mount time:          Thu Aug 30 17:29:15 2012
+Last write time:          Thu Aug 30 17:29:15 2012
+Mount count:              1
 Maximum mount count:      -1
-Last checked:             Thu Aug 30 13:51:09 2012
+Last checked:             Thu Aug 30 17:23:47 2012
 Check interval:           0 (<none>)
-Lifetime writes:          557 MB
+Lifetime writes:          48 MB
 Reserved blocks uid:      0 (user root)
 Reserved blocks gid:      0 (group root)
 First inode:              11
@@ -40,5 +40,5 @@
 Desired extra isize:      28
 Journal inode:            8
 Default directory hash:   half_md4
-Directory Hash Seed:      f98099b3-3cd2-4f43-b3e8-9d38c70989ee
+Directory Hash Seed:      55090fbd-2056-4c5c-b7bc-715571f766bd
 Journal backup:           inode blocks
[erinye2-vm1] /root #=20


--=20
Stephan Wiesand
DESY - DV -
Platanenallee 6
15732 Zeuthen, Germany