Hi all, on a 1.8.4 test system, I tried prepare for lfsck and got an error from e2fsck: mds:~# e2fsck -n -v --mdsdb /tmp/mdsdb /dev/sdb2 e2fsck 1.41.10.sun2 (24-Feb-2010) lustre-MDT0000 lustre database creation, check forced. Pass 1: Checking inodes, blocks, and sizes MDS: ost_idx 0 max_id 190010 MDS: ost_idx 1 max_id 179671 MDS: ost_idx 2 max_id 43436 MDS: ost_idx 3 max_id 97654 MDS: ost_idx 4 max_id 78973 MDS: got 40 bytes = 5 entries in lov_objids MDS: max_files = 15090 MDS: num_osts = 5 mds info db file written error: only handle v1 LOV EAs, not 0bd30bd0 e2fsck: aborted The mdsdb file is created, but the OSTs can''t use it: oss:~# ... Pass 6: Acquiring information for lfsck error getting mds_hdr (3685469441:8) in /tmp/mdsdb: DB_NOTFOUND: No matching key/data pair found However, the stub mdsdb.mdshdr is acceptable for the OSTs, e2fsck goes through and produces its ostNdbs, but then the lfsck fails on the client, of course. No traces of this error message on the internet, so I''m asking here. General error / misconfiguration / bad e2fsprogs ? Thanks, Thomas
Hi Thomas! On Fri, Sep 10, 2010 at 08:16:57PM +0200, Thomas Roth wrote:> on a 1.8.4 test system, I tried prepare for lfsck and got an error from > e2fsck: > > mds:~# e2fsck -n -v --mdsdb /tmp/mdsdb /dev/sdb2 > e2fsck 1.41.10.sun2 (24-Feb-2010) > lustre-MDT0000 lustre database creation, check forced. > Pass 1: Checking inodes, blocks, and sizes > MDS: ost_idx 0 max_id 190010 > MDS: ost_idx 1 max_id 179671 > MDS: ost_idx 2 max_id 43436 > MDS: ost_idx 3 max_id 97654 > MDS: ost_idx 4 max_id 78973 > MDS: got 40 bytes = 5 entries in lov_objids > MDS: max_files = 15090 > MDS: num_osts = 5 > mds info db file written > error: only handle v1 LOV EAs, not 0bd30bd0 > e2fsck: abortedThis looks like https://bugzilla.lustre.org/show_bug.cgi?id=21704: Currently you cannot fsck an MDT filesystem that uses pools. Regards, Daniel.
Thanks, Daniel. I have tried on another test system without pools, and there it worked indeed. Regards, Thomas On 09/10/2010 08:48 PM, Daniel Kobras wrote:> Hi Thomas! > > On Fri, Sep 10, 2010 at 08:16:57PM +0200, Thomas Roth wrote: >> on a 1.8.4 test system, I tried prepare for lfsck and got an error from >> e2fsck: >> >> mds:~# e2fsck -n -v --mdsdb /tmp/mdsdb /dev/sdb2 >> e2fsck 1.41.10.sun2 (24-Feb-2010) >> lustre-MDT0000 lustre database creation, check forced. >> Pass 1: Checking inodes, blocks, and sizes >> MDS: ost_idx 0 max_id 190010 >> MDS: ost_idx 1 max_id 179671 >> MDS: ost_idx 2 max_id 43436 >> MDS: ost_idx 3 max_id 97654 >> MDS: ost_idx 4 max_id 78973 >> MDS: got 40 bytes = 5 entries in lov_objids >> MDS: max_files = 15090 >> MDS: num_osts = 5 >> mds info db file written >> error: only handle v1 LOV EAs, not 0bd30bd0 >> e2fsck: aborted > > This looks like https://bugzilla.lustre.org/show_bug.cgi?id=21704: Currently > you cannot fsck an MDT filesystem that uses pools. > > Regards, > > Daniel. > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss-- -------------------------------------------------------------------- Thomas Roth Department: Informationstechnologie Location: SB3 1.262 Phone: +49-6159-71 1453 Fax: +49-6159-71 2986 GSI Helmholtzzentrum f?r Schwerionenforschung GmbH Planckstra?e 1 64291 Darmstadt www.gsi.de Gesellschaft mit beschr?nkter Haftung Sitz der Gesellschaft: Darmstadt Handelsregister: Amtsgericht Darmstadt, HRB 1528 Gesch?ftsf?hrung: Professor Dr. Dr. h.c. Horst St?cker, Dr. Hartmut Eickhoff Vorsitzende des Aufsichtsrates: Dr. Beatrix Vierkorn-Rudolph Stellvertreter: Ministerialdirigent Dr. Rolf Bernhardt
I attached a patch for fixing this problem to the bug. I haven''t yet had a chance to test it fully, but it did not fail on my home filesystem which is using pools. Cheers, Andreas On 2010-09-18, at 3:47, Thomas Roth <t.roth at gsi.de> wrote:> Thanks, Daniel. > I have tried on another test system without pools, and there it worked > indeed. > > Regards, > Thomas > > On 09/10/2010 08:48 PM, Daniel Kobras wrote: >> Hi Thomas! >> >> On Fri, Sep 10, 2010 at 08:16:57PM +0200, Thomas Roth wrote: >>> on a 1.8.4 test system, I tried prepare for lfsck and got an error from >>> e2fsck: >>> >>> mds:~# e2fsck -n -v --mdsdb /tmp/mdsdb /dev/sdb2 >>> e2fsck 1.41.10.sun2 (24-Feb-2010) >>> lustre-MDT0000 lustre database creation, check forced. >>> Pass 1: Checking inodes, blocks, and sizes >>> MDS: ost_idx 0 max_id 190010 >>> MDS: ost_idx 1 max_id 179671 >>> MDS: ost_idx 2 max_id 43436 >>> MDS: ost_idx 3 max_id 97654 >>> MDS: ost_idx 4 max_id 78973 >>> MDS: got 40 bytes = 5 entries in lov_objids >>> MDS: max_files = 15090 >>> MDS: num_osts = 5 >>> mds info db file written >>> error: only handle v1 LOV EAs, not 0bd30bd0 >>> e2fsck: aborted >> >> This looks like https://bugzilla.lustre.org/show_bug.cgi?id=21704: Currently >> you cannot fsck an MDT filesystem that uses pools. >> >> Regards, >> >> Daniel. >> >> _______________________________________________ >> Lustre-discuss mailing list >> Lustre-discuss at lists.lustre.org >> http://lists.lustre.org/mailman/listinfo/lustre-discuss > > -- > -------------------------------------------------------------------- > Thomas Roth > Department: Informationstechnologie > Location: SB3 1.262 > Phone: +49-6159-71 1453 Fax: +49-6159-71 2986 > > GSI Helmholtzzentrum f?r Schwerionenforschung GmbH > Planckstra?e 1 > 64291 Darmstadt > www.gsi.de > > Gesellschaft mit beschr?nkter Haftung > Sitz der Gesellschaft: Darmstadt > Handelsregister: Amtsgericht Darmstadt, HRB 1528 > > Gesch?ftsf?hrung: Professor Dr. Dr. h.c. Horst St?cker, > Dr. Hartmut Eickhoff > > Vorsitzende des Aufsichtsrates: Dr. Beatrix Vierkorn-Rudolph > Stellvertreter: Ministerialdirigent Dr. Rolf Bernhardt > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss