Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #182092

Re: Please help me resize my ext4 file system to size > 16TB

From Jonathan Marquardt <parckwart@parckwart.de>
Newsgroups linux.debian.user
Subject Re: Please help me resize my ext4 file system to size > 16TB
Date 2017-06-12 14:30 +0200
Message-ID <tRwDM-22k-9@gated-at.bofh.it> (permalink)
References <tRjnc-2dB-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sun, Jun 11, 2017 at 05:01:36PM -0500, Ram Ramesh wrote:
> Hi,
> 
>   I have kernel 3.13 and e2fsprog 1.42.9 (as part of mybuntu 14.04.5 LTS).
> With this, is it possible to resize2fs my ext4 RAID6 /dev/md0 to 24TB (ie
> >16TB)? If so, please help me get there. If not, please recommend the
> upgrades needed to the setup before this can be done. So, far, my google
> says I need to do "tune2fs -O extents,uninit_bg,dir_index /dev/md0" which I
> already did and I still get the dreaded message "resize2fs: New size too
> large to be expressed in 32 bits."
> 
> There are mentions of a 64bit option for the ext4 file system. I can see how
> this relates to the error message from resize2fs, but I do not know what I
> should do to get that update done for my /dev/md0. Also all of the message
> that I come across relating to 64bit option, only talk about  how to
> *create* a brand new file system with 64bit. None of them tell me how to
> convert existing one. In fact, many of them scare me saying that it will be
> unsupported in older kernels. I am not really sure if my kernel is too old
> or not. Also, they talk about a switch -b for resize2fs that is not
> supported in the version installed currently on my system/release.
> 
> Pleas help me figure out the correct sequence of steps. What packages need
> update, if current kernel/release is ok? Or, do I need to upgrade to a newer
> release before this is possible?
> 
> Thanks
> Ramesh
> 

I think you ran into this problem:
http://blog.ronnyegner-consulting.de/2011/08/18/ext4-and-the-16-tb-limit-now-solved/

I know of no way to get resize2fs to work with partitions larger than 16 TB,
however in the blog post it's explained how to make mke2fs work with such
sizes by editing /etc/mke2fs.conf. Not sure if this is an option for you
though.
-- 
4096R/1224DBD299A4F5F3
47BC 7DE8 3D46 2E8B ED18  AA86 1224 DBD2 99A4 F5F3

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Please help me resize my ext4 file system to size > 16TB Ram Ramesh <rramesh2400@gmail.com> - 2017-06-12 00:20 +0200
  Re: Please help me resize my ext4 file system to size > 16TB Jonathan Marquardt <parckwart@parckwart.de> - 2017-06-12 14:30 +0200
    Re: Re: Please help me resize my ext4 file system to size > 16TB Ramasubramanian Ramesh <rramesh@ti.com> - 2017-06-12 23:20 +0200
      Re: Please help me resize my ext4 file system to size > 16TB Henrique de Moraes Holschuh <hmh@debian.org> - 2017-06-13 01:40 +0200
        Re: Re: Please help me resize my ext4 file system to size > 16TB "R. Ramesh" <rramesh@verizon.net> - 2017-06-13 07:00 +0200
          Re: Please help me resize my ext4 file system to size > 16TB Henrique de Moraes Holschuh <hmh@debian.org> - 2017-06-13 12:10 +0200
            Re: Re: Please help me resize my ext4 file system to size > 16TB "R. Ramesh" <rramesh@verizon.net> - 2017-06-14 02:50 +0200
              Re: Please help me resize my ext4 file system to size > 16TB Henrique de Moraes Holschuh <hmh@debian.org> - 2017-06-14 15:30 +0200
          Re: Please help me resize my ext4 file system to size > 16TB Doug <dmcgarrett@optonline.net> - 2017-06-13 18:10 +0200
            Re: Please help me resize my ext4 file system to size > 16TB "R. Ramesh" <rramesh@verizon.net> - 2017-06-14 02:40 +0200

csiph-web