[Lustre-discuss] e2fsck mdsdb: DB_NOTFOUND

Andreas Dilger adilger at sun.com
Thu Mar 13 00:39:15 PDT 2008


On Mar 12, 2008  06:44 -0500, Karen M. Fernsler wrote:
> I'm running:
> 
> e2fsck -y -v --mdsdb mdsdb --ostdb osth3_1 /dev/mapper/27l4
> 
> and getting:
> 
> Pass 6: Acquiring information for lfsck
> error getting mds_hdr (3685469441:8) in /post/cfg/mdsdb: DB_NOTFOUND: No matching key/data pair found
> e2fsck: aborted
> 
> Any ideas how to get around this?

Does "mdsdb" actually exist?  This should be created by first running:

e2fsck --mdsdb mdsdb /dev/{mdsdevicename}

before running your above command on the OST.

Please also try specifying the absolute pathname for the mdsdb and ostdb
files.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.




More information about the lustre-discuss mailing list