[Lustre-discuss] Problems running e2fsck on oss - incredibly slow!
arne.brutschy at ulb.ac.be
Thu Jun 7 08:49:14 PDT 2012
Answering to myself: I needed to give not only write permissions to the
ostdb directory and the mdsdb, but also to the parent directory as
well. It seems to work now.
On a sidenote, does anyone know why the e2fsck is so incredibly slow?
We have only two osts per system, each running on a 1TB RAID1. The
check is now running since over 6 hours (!)
Maybe there another cause for the IO problems I observed before
starting to fix corruption...
On Thu, 7 Jun 2012 11:13:37 +0200 Arne Brutschy
<arne.brutschy at ulb.ac.be> wrote:
> 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
> 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
> : 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?
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