/srv/irclogs.ubuntu.com/2023/03/21/#cloud-init.txt

=== cpaelzer_ is now known as cpaelzer
=== EugenMayer597 is now known as EugenMayer59
=== hexa- is now known as h
=== h is now known as hexa-
blackboxswrelated to the e2fsprogs investigation. I've confirmed the failure path. It's multiple calls to resize2fs /dev/root on the first boot of an instance in Azure lunar development images. daily lunar Images dated 202303160 (from /etc/cloud/build.info) proposed suggest "no changes needed" if `resize2fs /dev/root` is called manually after cloud-init has completed resize operations.21:04
blackboxsw Any Azure lunar daily image 202303170 or later (containing e2fsprogrs 1.47.0) seems to have that 4K offset checksum mismatch issue21:06
blackboxsw$ sudo resize2fs /dev/root 21:06
blackboxswresize2fs 1.47.0 (5-Feb-2023)21:06
blackboxswresize2fs: Superblock checksum does not match superblock while trying to open /dev/root21:06
blackboxswCouldn't find valid filesystem superblock.21:06
blackboxswstill poking around at the root cause though. a big delta between 1.46.1.rc1 and 1.47. but likely the discussion you've already had in backlog here. w/ minimal.21:07
blackboxswafter any subsequent boots of the system, this problem goes away. and resize2fs reports The filesystem is already 7836155 (4k) blocks long.  Nothing to do!21:08
holmanbtesting 1.46.6_rc1-1.1 locally in lxd, I see:21:16
holmanbroot@lunar-daily:~# resize2fs --version21:16
holmanbresize2fs 1.46.6-rc1 (12-Sep-2022)21:16
holmanbroot@lunar-daily:~# resize2fs /dev/root 21:16
holmanbresize2fs 1.46.6-rc1 (12-Sep-2022)21:16
holmanbresize2fs: Superblock checksum does not match superblock while trying to open /dev/root21:16
holmanbCouldn't find valid filesystem superblock.21:16
holmanb(this can be reproduced in a vm on lxd by increasing the root disk size)21:18
minimalholmanb: just to clarify, is this with metadata_csum_seed option disabled for the ext4 fs?22:21
blackboxswminimal: looks like it to me if I check 1.46.6~rc1.1 in source `misc/mke2fs.conf.in` shows         ext4 = {                                                                22:51
blackboxsw                features = has_journal,extent,huge_file,flex_bg,metadata_csum,64bit,dir_nlink,extra_isize22:51
blackboxsw        }     22:51
blackboxswso it has metadata_csum set but not metadata_csum_seed 22:51
blackboxswand 1.47.0 has a patch that specifically removes `metadata_csum_seed` config 22:52

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!