[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ocfs2 / jbd / large filesystem



On 04/04/2011 08:45 AM, Stephane Caminade wrote:
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
[snip]
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 ?


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


Wikipedia indicates that even though the max vol size is 4PB, the JBD restricts it to 16TB.

Googling for "ocfs2 16TiB" reveals this mailing list message:
http://patchwork.ozlabs.org/patch/58530/

So, looks like you need JBD2 (but I don't know how to do that).

--
"Neither the wisest constitution nor the wisest laws will secure
the liberty and happiness of a people whose manners are universally
corrupt."
Samuel Adams, essay in The Public Advertiser, 1749


Reply to: