ocfs2 / jbd / large filesystem
Hi,
I am trying to format a 40TB filesystem with mkfs.ocfs2, but I get the
following message:
# mkfs.ocfs2 -N 2 -T datafiles -n /dev/sdb1
mkfs.ocfs2 1.4.4
Dry run
Filesystem Type of datafiles
Label:
Features: sparse backup-super unwritten inline-data strict-journal-super
Block size: 4096 (12 bits)
Cluster size: 1048576 (20 bits)
Volume size: 41999217459200 (40053575 clusters) (10253715200 blocks)
Cluster groups: 1242 (tail covers 23879 clusters, rest cover 32256 clusters)
Extent allocator size: 63002640384 (15021 groups)
Journal size: 33554432
Node slots: 2
ERROR: jbd can only store block numbers in 32 bits. /dev/sdb1 can hold
1025371522 with JBD2 support, you can try formatting with the
"-Jblock64" option to turn
Otherwise, consider increasing the block size or decreasing the device size.
Following this error, I ran the same command with the -Jblock64 option,
and it worked fine:
mkfs.ocfs2 -Jblock64 -N 2 -T datafiles /dev/sdb1
mkfs.ocfs2 1.4.4
Cluster stack: classic o2cb
Overwriting existing ocfs2 partition.
Proceed (y/N): y
Filesystem Type of datafiles
Label:
Features: sparse backup-super unwritten inline-data strict-journal-super
Block size: 4096 (12 bits)
Cluster size: 1048576 (20 bits)
Volume size: 41999217459200 (40053575 clusters) (10253715200 blocks)
Cluster groups: 1242 (tail covers 23879 clusters, rest cover 32256 clusters)
Extent allocator size: 63002640384 (15021 groups)
Journal size: 33554432
Node slots: 2
Creating bitmaps: done
Initializing superblock: done
Writing system files: done
Writing superblock: done
Writing backup superblock: 6 block(s)
Formatting Journals: done
Growing extent allocator: done
Formatting slot map: done
Writing lost+found: done
mkfs.ocfs2 successful
When attempting to mount, I get an error message:
mount /dev/sdb1 /root/test
mount.ocfs2: Invalid argument while mounting /dev/sdb1 on /root/test.
Check 'dmesg' for more information on this error.
Dmesg info is the following :
[511837.896762] (32104,2):ocfs2_initialize_super:2170 ERROR: Volume
might try to write to blocks beyond what jbd can address in 32 bits.
[511837.896877] (32104,2):ocfs2_fill_super:1012 ERROR: status = -22
So it would seem that I can format my filesystem with mkfs.ocfs2 from
the ocfs2-tools package, but not mount it with mount.ocfs2 from the same
package ?
Any hints ?
Regards,
Stephane
Versions :
Debian 5.0.1
Linux localhost 2.6.32-5-amd64 #1 SMP Sat Oct 30 14:18:21 UTC 2010
x86_64 GNU/Linux
ii ocfs2-tools 1.4.4-3
tools for managing OCFS2 cluster filesystems
begin:vcard
fn;quoted-printable:St=C3=A9phane Caminade
n;quoted-printable:Caminade;St=C3=A9phane
org:Institut d'Astrophysique Spatiale;Informatique
adr;quoted-printable:;;Batiment 121 / Universit=C3=A9 Paris Sud;Orsay;;91405 CEDEX;France
email;internet:stephane.caminade@ias.u-psud.fr
title;quoted-printable:Administrateur Syst=C3=A8mes et R=C3=A9seau
tel;work:+33 1 69 85 87 03
tel;home:+33 1 69 85 86 75
url:http://www.ias.u-psud.fr
version:2.1
end:vcard
Reply to: