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
| ||
|
Date: Sat, 26 Jul 2014 11:31:02 +0800 From: Brad Campbell <lists2009@...rfbargle.com> To: Theodore Ts'o <tytso@....edu> CC: Azat Khuzhin <a3at.mail@...il.com>, linux-ext4@...r.kernel.org Subject: Re: Online resize issue with 3.13.5 & 3.15.6 On 25/07/14 22:07, Theodore Ts'o wrote: > On Fri, Jul 25, 2014 at 07:44:07PM +0800, Brad Campbell wrote: >> >> Appreciate you taking a look at this and I see where you are going with it. > > This patch looks good to me. If you could give it a try, I would > appreciate it. > > This looks like the same bug which was reported in Ubuntu: > > https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1321958 The patch would not apply automatically to 1.42.11 but was easy enough to apply by hand. root@srv:~/src/e2fsprogs/e2fsprogs-1.42.11/resize# ./resize2fs -d 255 /dev/md0 resize2fs 1.42.11 (09-Jul-2014) fs has 4007207 inodes, 1957 groups required. fs requires 4374122900 data blocks. With 1957 group(s), we have 63820826 blocks available. Added 131540 extra group(s), blks_needed 4374122900, data_blocks 4356990326, last_start 4356599580 Added 523 extra group(s), blks_needed 4374122900, data_blocks 4374059350, last_start 4373440788 Added 2 extra group(s), blks_needed 4374122900, data_blocks 4374124886, last_start 4373473426 Last group's overhead is 1430 Need 649474 data blocks in last group Final size of last group is 650904 Estimated blocks needed: 4391437088 Extents safety margin: 2826959 Filesystem at /dev/md0 is mounted on /server; on-line resizing required old_desc_blocks = 2768, new_desc_blocks = 2795 ./resize2fs: Invalid argument While checking for on-line resizing support [489412.650430] EXT4-fs (md0): resizing filesystem from 5804916736 to 5860149888 blocks [489412.700282] EXT4-fs warning (device md0): verify_reserved_gdb:713: reserved GDT 2769 missing grp 177147 (5804755665) [489412.739676] EXT4-fs (md0): resized filesystem to 5860149888 [489413.215230] EXT4-fs warning (device md0): ext4_group_extend:1720: can't shrink FS - resize aborted -- 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