[Touch-packages] [Bug 2036467] Re: Resizing cloud-images occasionally fails due to superblock checksum mismatch in resize2fs

2024-04-25 Thread Krister Johansen
/dev/nvme1n1p1 Couldn't find valid filesystem superblock. Changing the read of the superblock to Direct I/O solves the issue. [Testcase] Start an c5.large instance on AWS, and attach a 60gb gp3 volume for use as a scratch disk. Run the following script, courtesy of Krister Johansen

[Touch-packages] [Bug 2036467] Re: Resizing cloud-images occasionally fails due to superblock checksum mismatch in resize2fs

2024-02-26 Thread Krister Johansen
. [Testcase] Start an c5.large instance on AWS, and attach a 60gb gp3 volume for use as a scratch disk. Run the following script, courtesy of Krister Johansen and his team:    #!/usr/bin/bash    set -euxo pipefail    while true    do    parted /dev/nvme1n1 mklabel gpt mkpart

[Touch-packages] [Bug 2036467] Re: Resizing cloud-images occasionally fails due to superblock checksum mismatch in resize2fs

2024-02-02 Thread Krister Johansen
. [Testcase] Start an c5.large instance on AWS, and attach a 60gb gp3 volume for use as a scratch disk. Run the following script, courtesy of Krister Johansen and his team:    #!/usr/bin/bash    set -euxo pipefail    while true    do    parted /dev/nvme1n1 mklabel gpt mkpart

[Touch-packages] [Bug 2036467] Re: Resizing cloud-images occasionally fails due to superblock checksum mismatch in resize2fs

2024-01-11 Thread Krister Johansen
valid filesystem superblock. Changing the read of the superblock to Direct I/O solves the issue. [Testcase] Start an c5.large instance on AWS, and attach a 60gb gp3 volume for use as a scratch disk. Run the following script, courtesy of Krister Johansen and his team:    #!/usr/bin

[Touch-packages] [Bug 2036467] Re: Resizing cloud-images occasionally fails due to superblock checksum mismatch in resize2fs

2023-12-18 Thread Krister Johansen
/dev/nvme1n1p1 Couldn't find valid filesystem superblock. Changing the read of the superblock to Direct I/O solves the issue. [Testcase] Start an c5.large instance on AWS, and attach a 60gb gp3 volume for use as a scratch disk. Run the following script, courtesy of Krister Johansen

[Touch-packages] [Bug 2036467] Re: Resizing cloud-images occasionally fails due to superblock checksum mismatch in resize2fs

2023-11-16 Thread Krister Johansen
, courtesy of Krister Johansen and his team:    #!/usr/bin/bash    set -euxo pipefail    while true    do    parted /dev/nvme1n1 mklabel gpt mkpart primary 2048s 2099200s    sleep .5    mkfs.ext4 /dev/nvme1n1p1    mount -t ext4 /dev/nvme1n1p1 /mnt

[Touch-packages] [Bug 2036467] Re: superblock checksum mismatch in resize2fs

2023-10-06 Thread Krister Johansen
Thanks for all the responses. I'm not sure how quickly I'll be able to get to this either, so I'm hesitant to commit to fixing myself. That said, if I can get time to send patches before your team gets to fixing it, I'll do my best. To answer the question about how frequently we see this: it

[Touch-packages] [Bug 2036467] [NEW] superblock checksum mismatch in resize2fs

2023-09-18 Thread Krister Johansen
Public bug reported: Hi, We run ext4 on EBS volumes on EC2. During provisioning, cloud-init will occasionally report that resize2fs has failed due to a superblock checksum mismatch. We debugged this internally, and were able to come up with the following reproducer: #!/usr/bin/bash