[Ocfs2-users] journal size

Christophe Bouder Christophe.Bouder at lip6.fr
Fri Aug 24 03:16:11 PDT 2007


hello,
on my system debian 64,vanilla kernel 2.6.22.3 with Ocfs2 patch set and
ocfs2 1.2.1 (testing package),
i 've tried to increase the number of slots,with tunefs.ocfs2 -n 8 ,
it's does not pass very well.
there is a problem for the journal as you can see :

echo "ls -l //" | debugfs.ocfs2 -n /dev/sdc1 |grep journal

55 -rw-r--r--   1  0   0       268435456 23-Jun-2007 21:29 journal:0000
56 -rw-r--r--   1  0   0       268435456 23-Jun-2007 21:29 journal:0001
57 -rw-r--r--   1  0   0       268435456 23-Jun-2007 21:29 journal:0002
58 -rw-r--r--   1  0   0       268435456 23-Jun-2007 21:29 journal:0003
59 -rw-r--r--   1  0   0       268435456 23-Jun-2007 21:29 journal:0004
76 -rw-r--r--   1  0   0               0 18-Aug-2007 18:11 journal:0005
77 -rw-r--r--   1  0   0               0 18-Aug-2007 18:12 journal:0006
97 -rw-r--r--   1  0   0               0 18-Aug-2007 19:02 journal:0007


i upgrade  the debian package (unstable) it's now ocfs2 1.2.3 ,
and i tried
tunefs.ocfs2 -J size=320M /dev/sdc1
tunefs.ocfs2 1.2.3
Changing journal size 268435456 to 335544320
Proceed (y/N): y
Updating journal:0005...
tunefs.ocfs2: Internal logic faliure while creating journal:0005 at
block 76 of 5120 clusters during journal resize
tunefs.ocfs2: Internal logic faliure while updating journal size

55 -rw-r--r--   1  0   0       335544320 23-Jun-2007 21:29 journal:0000
56 -rw-r--r--   1  0   0       335544320 23-Jun-2007 21:29 journal:0001
57 -rw-r--r--   1  0   0       335544320 23-Jun-2007 21:29 journal:0002
58 -rw-r--r--   1  0   0       335544320 23-Jun-2007 21:29 journal:0003
59 -rw-r--r--   1  0   0       335544320 23-Jun-2007 21:29 journal:0004
76 -rw-r--r--   1  0   0               0 18-Aug-2007 18:11 journal:0005
77 -rw-r--r--   1  0   0               0 18-Aug-2007 18:12 journal:0006
97 -rw-r--r--   1  0   0               0 18-Aug-2007 19:02 journal:0007

fsck.ocfs2 -f -y /dev/sdc1 repair some things
and said it's clean.
but it's always impossible to change the size of the journal size for 5,6,7.
any chance to recover the good size for the journal without formatting ?

thank you for your help.

-- 
Christophe Bouder,        LIP6  CNRS
104 avenue du président Kennedy, F75016 Paris
tel: 0144273718      fax: 0144277000













More information about the Ocfs2-users mailing list