resize.f2fs fails with "Error: Device size is not sufficient for F2FS volume, more segment needed"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
f2fs-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Terminal transcript of a simple reproduction:
kuebi@twobuntu:
kuebi@twobuntu:
F2FS-tools: mkfs.f2fs Ver: 1.14.0 (2020-08-24)
Info: Disable heap-based policy
Info: Debug level = 0
Info: Trim is enabled
Info: Segments per section = 1
Info: Sections per zone = 1
Info: sector size = 512
Info: total sectors = 1048576 (512 MB)
Info: zone aligned segment0 blkaddr: 512
Info: format version with
"Linux version 6.5.0-35-generic (buildd@
Info: [testfs] Discarding device
Info: Overprovision ratio = 10.000%
Info: Overprovision segments = 50 (GC reserved = 28)
Info: format successful
kuebi@twobuntu:
kuebi@twobuntu:
Info: Segments per section = 1
Info: Sections per zone = 1
Info: sector size = 512
Info: total sectors = 2097152 (1024 MB)
Info: MKFS version
"Linux version 6.5.0-35-generic (buildd@
Info: FSCK version
from "Linux version 6.5.0-35-generic (buildd@
to "Linux version 6.5.0-35-generic (buildd@
Info: superblock features = 0 :
Info: superblock encrypt level = 0, salt = 000000000000000
Info: total FS sectors = 1048576 (512 MB)
Info: CKPT version = 420523bb
Info: Duplicate valid checkpoint to mirror position 512 -> 1024
Info: Write valid nat_bits in checkpoint
Error: Device size is not sufficient for F2FS volume, more segment needed =19508kuebi@
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: f2fs-tools 1.14.0-2build1
ProcVersionSign
Uname: Linux 6.5.0-35-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Mon Jul 1 19:39:01 2024
InstallationDate: Installed on 2021-07-14 (1083 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
SourcePackage: f2fs-tools
UpgradeStatus: Upgraded to jammy on 2022-05-14 (779 days ago)
modified.
mtime.conffile.