resize2fs: Not enough reserved gdt blocks for resizing

General support questions
Post Reply
iwasroot
Posts: 2
Joined: 2018/06/07 08:47:03

resize2fs: Not enough reserved gdt blocks for resizing

Post by iwasroot » 2018/06/07 09:06:36

Hello, I got this error while trying to extend a filesystem: I have a 9TB logical volume, ext4 doesn't resize beyond 8TB.

Code: Select all

# ./resize/resize2fs /dev/mapper/vg-lvname
resize2fs 1.43.8 (1-Jan-2018)
Filesystem at /dev/mapper/vg-lvname is mounted on /point; on-line resizing required
old_desc_blocks = 1024, new_desc_blocks = 1152
./resize/resize2fs: Not enough reserved gdt blocks for resizing
Details:

Code: Select all

# ./misc/tune2fs -l /dev/mapper/vg-lvname
tune2fs 1.43.8 (1-Jan-2018)
Filesystem volume name:   <none>
Last mounted on:          /point
Filesystem UUID:          916b341b-6955-4f9c-bbf4-16d3e0314120
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      ext_attr resize_inode dir_index filetype extent 64bit sparse_super large_file
Filesystem flags:         signed_directory_hash
Default mount options:    user_xattr acl
Filesystem state:         not clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              536870912
Block count:              2147483648
Reserved block count:     107374182
Free blocks:              885604510
Free inodes:              536627250
First block:              0
Block size:               4096
Fragment size:            4096
Group descriptor size:    64
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Filesystem created:       Fri Mar 16 14:51:06 2018
Last mount time:          Fri Mar 16 15:45:08 2018
Last write time:          Thu Jun  7 10:42:14 2018
Mount count:              1
Maximum mount count:      -1
Last checked:             Fri Mar 16 14:51:06 2018
Check interval:           0 (<none>)
Lifetime writes:          6251 GB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               256
Required extra isize:     32
Desired extra isize:      32
Default directory hash:   half_md4
Directory Hash Seed:      277aa5a5-8dc2-4896-8ee3-8c0d4d952045

Code: Select all

# lvs
LV        VG        Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
lvname    vg        -wi-ao----   9.00t

# df -hP
Filesystem              Size  Used Avail Use% Mounted on
/dev/mapper/vg-lvname   7.9T  4.6T  2.9T  62% /point

# cat /etc/redhat-release
CentOS release 6.6 (Final)

# uname -a
Linux hostname 2.6.32-504.el6.x86_64 #1 SMP Wed Oct 15 04:27:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
For what I know, the size limit is 64 TB.
Is desc_blocks limited to 1024? How can I raise it?

User avatar
TrevorH
Forum Moderator
Posts: 23644
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: resize2fs: Not enough reserved gdt blocks for resizing

Post by TrevorH » 2018/06/07 10:04:31

Why are you running non-standard versions of the resize2fs/tune2fs utilities?
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

iwasroot
Posts: 2
Joined: 2018/06/07 08:47:03

Re: resize2fs: Not enough reserved gdt blocks for resizing

Post by iwasroot » 2018/06/07 11:01:23

Because I have another Logical Volume that is 20 TB, and using the packaged version of resize2fs the limit is 16 TB.

User avatar
TrevorH
Forum Moderator
Posts: 23644
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: resize2fs: Not enough reserved gdt blocks for resizing

Post by TrevorH » 2018/06/07 11:09:06

CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply