FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 04-04-2011, 01:45 PM
Stephane Caminade
 
Default 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)cfs2_initialize_super:2170 ERROR: Volume
might try to write to blocks beyond what jbd can address in 32 bits.

[511837.896877] (32104,2)cfs2_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
 
Old 04-04-2011, 02:38 PM
Ron Johnson
 
Default 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)cfs2_initialize_super:2170 ERROR: Volume
might try to write to blocks beyond what jbd can address in 32 bits.
[511837.896877] (32104,2)cfs2_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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4D99D7DF.9090007@cox.net">http://lists.debian.org/4D99D7DF.9090007@cox.net
 

Thread Tools




All times are GMT. The time now is 11:24 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org