[Lustre-discuss] Problems running e2fsck on oss
Arne Brutschy
arne.brutschy at ulb.ac.be
Thu Jun 7 02:13:37 PDT 2012
Hey,
we're running Lustre 1.8.5 on CentOS 5.3 (rocks). It seems that we have
a corrupted file system, so I followed the steps given in the manual:
http://wiki.lustre.org/manual/LustreManual18_HTML/LustreRecovery.html#50651260_pgfId-1291230
Steps 1-4 run smoothly. I shared the files created on the mds per NFS.
$ ls -l ls /mnt/
total 14164076
-rw-r--r-- 1 root root 46471111680 Jun 6 17:51 mdsdb
-rw-r--r-- 1 root root 106496 Jun 6 16:49 mdsdb.mdshdr
drwxrwxrwx 6 root root 4096 Jun 6 18:01 osts
Step 5 fails on all osts:
$ e2fsck -v --mdsdb /mnt/mdsdb --ostdb /mnt/osts/ost2/ost2db /dev/sda3
e2fsck 1.41.10.sun2 (24-Feb-2010) lustre-OST0002 lustre database
creation, check forced. Pass 1: Checking inodes, blocks, and sizes
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
/mnt/mdsdb:mdshdr
: Permission denied
failure to open database mdshdr: Input/output error
e2fsck: aborted
I changed permissions to 666, and tried to create a link mdsdb:mdshdr
that points to mdsdb.mdshdr (I figured this might be a bug as the file
indicated above has a ':' instead of a '.'). Neither worked.
Any ideas?
Cheers,
Arne
--
Arne Brutschy
Ph.D. Student Email arne.brutschy(AT)ulb.ac.be
IRIDIA CP 194/6 Web iridia.ulb.ac.be/~abrutschy
Universite' Libre de Bruxelles Tel +32 2 650 2273
Avenue Franklin Roosevelt 50 Fax +32 2 650 2715
1050 Bruxelles, Belgium (Tel and Fax both IRIDIA secretary)
More information about the lustre-discuss
mailing list