Gentoo Archives: gentoo-amd64

From: Mark Haney <mhaney@××××××××××××.org>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] trouble creating an ext3 filesystem > 8TB
Date: Wed, 11 Apr 2007 12:25:50
Message-Id: 461CD350.7010606@ercbroadband.org
In Reply to: [gentoo-amd64] trouble creating an ext3 filesystem > 8TB by Joshua Hoblitt
1 Joshua Hoblitt wrote:
2 > After reading in the kernel changelog that 2.6.19 should support ext3
3 > filesystems up to 16TB in size, I tried to create an 11TB filesystem.
4 > Attempting to do so gets this error from mke2fs:
5 >
6 > # mke2fs -j -J size=400 -O sparse_super,dir_index -i32768 -m1 /dev/sda4
7 > mke2fs 1.39 (29-May-2006)
8 > mke2fs: Filesystem too large. No more than 2**31-1 blocks
9 > (8TB using a blocksize of 4k) are currently supported.
10 > # mke2fs -j /dev/sda4
11 > mke2fs 1.39 (29-May-2006)
12 > mke2fs: Filesystem too large. No more than 2**31-1 blocks
13 > (8TB using a blocksize of 4k) are currently supported.
14 >
15 > This is on a system running 2.6.19-gentoo-r5 with sys-fs/e2fsprogs-1.39
16 >
17 > ChangeLog for in kernel 16TB ext3 support:
18 >
19 > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=855565e81ad8940cc645b5110ec2c7f124a76d23
20 >
21 > Release notes for e2fsprogs claiming 16TB support (2**32 blocks).
22 >
23 > http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.39
24 >
25 > Any idea what I am missing?
26 >
27 > Cheers,
28 >
29 > -J
30 >
31 > --
32
33 You know, I've been watching this thread thinking something was nagging
34 me about this. And after a night of not thinking about it I remember
35 what it was. I had a similar issue last summer. The way I fixed it was
36 to use LVM. Create a volume group the size you want and create the
37 filesystem inside it. My volume was only slightly larger than 8TB, but
38 it did create and it works great.
39
40
41 --
42 Ita erat quando hic adveni.
43
44 Mark Haney
45 Sr. Systems Administrator
46 ERC Broadband
47 (828) 350-2415
48 --
49 gentoo-amd64@g.o mailing list