lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGJTRchb5KpYLEOKB1bzNSmJ4SQQ9YVf9UZEsd+Hu38D5mW05g@mail.gmail.com>
Date:	Tue, 9 Jul 2013 08:45:12 -0500
From:	Michael <mike@...ftx.net>
To:	"Theodore Ts'o" <tytso@....edu>
Cc:	linux-ext4@...r.kernel.org
Subject: Re: EXT4 Larger Than 16TB

No problem, it sounds like it would be a very tricky bit of code to
write. Shuffling metadata blocks is not an easy feat.

Is there any way to tell if I'm using 64 bit? Ubuntu defaults to
setting ext4 to default, but I don't know if it did when I first
created this FS.

If it is 64 bit, the resize2fs utility should be able to handle this
one kernels >3.7, correct?

On Mon, Jul 8, 2013 at 9:14 PM, Theodore Ts'o <tytso@....edu> wrote:
> On Mon, Jul 08, 2013 at 04:32:50PM -0500, Michael wrote:
>> I have a currently 15TB FS that I want to expand to 18TB.
>> Unfortunately EXT4 e2fsprogs has an issue that stops you from being
>> able to do this:
>>
>> sudo resize2fs /dev/md0
>> resize2fs 1.42.5 (29-Jul-2012)
>> resize2fs: New size too large to be expressed in 32 bits
>>
>> It seems to me, reading the change logs, that this only supported if
>> you created your FS with 64 bit specified. There seems to have been a
>> patch last year that added support for changing 32->64bit, but I had a
>> hard time finding/tracking that.
>
> Unfortuantely, there is no patch that would enable this.
>
> In theory it could be done; it would require doubling the size of the
> block group descriptors, which would require moving other metadata
> blocks out of the way.  Resize2fs does do this when growing a file
> system off-line when no blocks are available from the resize inode,
> but no one has implemented the necessary changes to extend this to
> adding the 64-bit feature.
>
> So it's technically possible, but it's not implemented at this time.
>
> Sorry,
>
>                                                         - Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ