[Lustre-discuss] e2fsck DB_NOTFOUND

Wojciech Turek wjt27 at cam.ac.uk
Mon Oct 12 16:44:10 PDT 2009


Donk! I found the answer by reading man page for e2fsck
"For convenience a stub mdsdb.hdr file is generated  for  use  by the OST
e2fsck to avoid the need to wait for the MDS e2fsck to finish or copy the
full mdsdb to the OSTs."

2009/10/13 Wojciech Turek <wjt27 at cam.ac.uk>

> So is the mds.mdshdr file necessary for creating ostdb files?
>
> Wojciech
>
> 2007/7/25 Bernd Schubert <bs at q-leap.de>
>
> On Wednesday 25 July 2007 14:34:40 Bernd Schubert wrote:
>> > Hi,
>> >
>> > when I try to create the ostdb for lfsck I get this:
>> >
>> > Pass 6: Acquiring information for lfsck
>> > error getting mds_hdr (3685469441:8) in
>> > /data/home/bschubert/tmp/lustre/msdb: DB_NOTFOUND: No matching key/data
>> > pair found
>> > e2fsck: aborted
>>
>> Thats a problem of e2fsprogs-cfs6, when one creates the mds database
>> with -cfs8 it additionally writes a msdb.mdshdr file.
>> However, with -cfs8 I now get in pass 6 some strange messages
>>
>>
>> beo-103:~# ~bschubert/bin/e2fsck.static -n -v --mdsdb
>> ~bschubert/tmp/lustre/msdb /dev/sda4
>> e2fsck 1.39.cfs8 (7-Apr-2007)
>> /dev/sda4 lustre database creation, check forced.
>> Pass 1: Checking inodes, blocks, and sizes
>> MDS: ost_idx 0 max_id 2599831
>> MDS: ost_idx 1 max_id 2597520
>> MDS: got 16 bytes = 2 entries in lov_objids
>> MDS: max_files = 236536
>> MDS: num_osts = 2
>> mds info db file written
>> Pass 2: Checking directory structure
>> Pass 3: Checking directory connectivity
>> Pass 4: Checking reference counts
>> Pass 5: Checking group summary information
>> Pass 6: Acquiring information for lfsck
>> warning MDS inode f8XXXX (inum 2196307): DB_KEYEXIST: Key/data pair
>> already
>> exists hard link?
>> warning MDS inode f3eXXXXXXXXXXXXXXXXXXXXXXXXXXXXX$ (inum 2361448):
>> DB_KEYEXIST: Key/data pair already exists hard link?
>> warning MDS inode f7fXXXXXXXXXXXXXÿ  (inum 2164717): DB_KEYEXIST: Key/data
>> pair already exists hard link?
>> warning MDS inode f29XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
>>                                                                  ! (inum
>> 2164653): DB_KEYEXIST: Key/data pair already exists hard link?
>> warning MDS inode f21XXXXXXXXXXXXXgõ# (inum 2197976): DB_KEYEXIST:
>> Key/data
>> pair already exists hard link?
>> warning MDS inode f3bX$ (inum 2197976): DB_KEYEXIST: Key/data pair already
>> exists hard link?
>> warning MDS inode f34XØp( (inum 2395933): DB_KEYEXIST: Key/data pair
>> already
>> exists hard link?
>> warning MDS inode f5cXXXXX|n( (inum 2396146): DB_KEYEXIST: Key/data pair
>> already exists hard link?
>> warning MDS inode f75XX (inum 2393989): DB_KEYEXIST: Key/data pair already
>> exists hard link?
>> warning MDS inode f78XXXXXXXXXXXXXXXXXXXXXXe1XIo& (inum 2524707):
>> DB_KEYEXIST:
>> Key/data pair already exists hard link?
>> warning MDS inode f56XXXXXXXXXX (inum 2360127): DB_KEYEXIST: Key/data pair
>> already exists hard link?
>>
>>
>> Is that normal?
>>
>> Thanks,
>> Bernd
>>
>> --
>> Bernd Schubert
>> Q-Leap Networks GmbH
>>
>> _______________________________________________
>> Lustre-discuss mailing list
>> Lustre-discuss at clusterfs.com
>> https://mail.clusterfs.com/mailman/listinfo/lustre-discuss
>>
>
>
>
> --
> --
> Wojciech Turek
>
> Assistant System Manager
>
> High Performance Computing Service
> University of Cambridge
> Email: wjt27 at cam.ac.uk
> Tel: (+)44 1223 763517
>



-- 
--
Wojciech Turek

Assistant System Manager

High Performance Computing Service
University of Cambridge
Email: wjt27 at cam.ac.uk
Tel: (+)44 1223 763517
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20091013/0a3d5440/attachment.htm>


More information about the lustre-discuss mailing list