On Jun 27, 2007 16:43 +0200, Bernd Schubert wrote: > I just looked into the sources myself and found the problem. Well, not really > a problem of the code, but my ignorance. > I only installed e2fsck.static-cfs to be able to run filesystem checks, but > otherwise kept the ubuntu-default e2fsprogs. > > Looking into read_local_files() I see that debugfs is used to dump the > last_rcvd file. Using debugs of ubuntus e2fsprogs a last_rcvd file is created > which seems to consist of zeros and random data (first many many zeros and > then something I can't identify).
This is likely the fault of the ubuntu e2fsprogs using the "for testing" ext4 patches, which claim to have support for extent-mapped files, but this is incomplete. > And now a big warning: Even though tune2fs.lustre failed on OST1, it seems to > have modified the filesystem. As on OST2 I could convert it to lustre-1.6 > with the proper tools, but when I tried to mount it, it failed and in dmesg I > got these messsages > > [ 2521.326416] LDISKFS-fs error (device md3): ldiskfs_add_entry: bad entry in > directory #75022340: rec_len % 4 != 0 - offset=0, inode=537537071, > rec_len=2346, name_len=102 > [ 2521.341692] Aborting journal on device md3. > [ 2521.346044] Remounting filesystem read-only The non-ubuntu e2fsprogs would have failed outright with a message like "Filesystem has unsupported feature(s)". > I already got this when I converted last time, but thought the filesystem > might have been damaged before. > > May suggest to add to tunefs.lustre some tests if the proper e2fsprogs have > been installed? This should already be handled appropriately by tune2fs, and any additional checks in tunefs.lustre would invariably be incorrect for some other system. I'd suggest upgrading entirely to e2fsprogs-1.39-cfs8 (you should be able to download the tarball and build .deb packages). Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc. _______________________________________________ Lustre-discuss mailing list [email protected] https://mail.clusterfs.com/mailman/listinfo/lustre-discuss
