Bug 52060

Summary: Просьба обновить версию
Product: Sisyphus Reporter: Andrew Vasilyev <andy>
Component: e2fsprogsAssignee: Gleb F-Malinovskiy <glebfm>
Status: ASSIGNED --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: glebfm, ldv, placeholder
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Andrew Vasilyev 2024-11-15 15:46:01 MSK
Для поддержки перехода quota с v1 на v2, и, вообще, 3 года прошло.
Comment 1 Gleb F-Malinovskiy 2024-11-16 22:04:23 MSK
Пусть будет здесь:

# (set -x; umount /mnt/tmp; \rm -f ext4.img; truncate -s 2M ext4.img && mke2fs -q -t ext4 ext4.img && mount -o usrquota ext4.img /mnt/tmp && quotacheck -cu /mnt/tmp && repquota /mnt/tmp && umount /mnt/tmp && e2fsck ext4.img && tune2fs -O quota -Q usrquota ext4.img && mount -o usrquota ext4.img /mnt/tmp && repquota /mnt/tmp)
+ umount /mnt/tmp
umount: /mnt/tmp: not mounted.
+ rm -f ext4.img
+ truncate -s 2M ext4.img
+ mke2fs -q -t ext4 ext4.img
+ mount -o usrquota ext4.img /mnt/tmp
+ quotacheck -cu /mnt/tmp
quotacheck: Your kernel probably supports ext4 quota feature but you are using external quota files. Please switch your filesystem to use ext4 quota feature as external quota files on ext4 are deprecated. You can enable the feature by unmounting the file system and running 'tune2fs -O quota <device>'.
+ repquota /mnt/tmp
*** Report for user quotas on device /dev/loop0
Block grace time: 7days; Inode grace time: 7days
                        Block limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
root      --      13       0       0              2     0     0       


+ umount /mnt/tmp
+ e2fsck ext4.img
e2fsck 1.46.4 (18-Aug-2021)
ext4.img: clean, 12/256 files, 1128/2048 blocks
+ tune2fs -O quota -Q usrquota ext4.img
tune2fs 1.46.4 (18-Aug-2021)
[ERROR] quotaio.c:250:quota_file_open: qh_ops->check_file failed
tune2fs: Input/output error while updating quota limits (0)

https://github.com/tytso/e2fsprogs/commit/b30df8c3b5d955432393814b283f8d53f26c3037