mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
f2afd6331d
Add tests to verify Ext4 online resizing feature with bigalloc feature enabled. We test various resizing scenarios with different cluster sizes. Signed-off-by: Harshad Shirwadkar <harshads@google.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
173 lines
4.0 KiB
Plaintext
173 lines
4.0 KiB
Plaintext
QA output created by 032
|
|
+++ truncate image file to 8192
|
|
+++ create fs on image file 4096
|
|
+++ mount image file
|
|
+++ resize fs to 8192
|
|
+++ umount fs
|
|
+++ check fs
|
|
++ set cluster size to 4096
|
|
+++ truncate image file to 24576
|
|
+++ create fs on image file 16384
|
|
+++ mount image file
|
|
+++ resize fs to 24576
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 32767
|
|
+++ create fs on image file 24576
|
|
+++ mount image file
|
|
+++ resize fs to 32767
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 32768
|
|
+++ create fs on image file 24576
|
|
+++ mount image file
|
|
+++ resize fs to 32768
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 65536
|
|
+++ create fs on image file 24576
|
|
+++ mount image file
|
|
+++ resize fs to 65536
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 491521
|
|
+++ create fs on image file 24576
|
|
+++ mount image file
|
|
+++ resize fs to 491521
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 507904
|
|
+++ create fs on image file 24576
|
|
+++ mount image file
|
|
+++ resize fs to 507904
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 524288
|
|
+++ create fs on image file 24576
|
|
+++ mount image file
|
|
+++ resize fs to 524288
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 5242880
|
|
+++ create fs on image file 24576
|
|
+++ mount image file
|
|
+++ resize fs to 5242880
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 41943040
|
|
+++ create fs on image file 24576
|
|
+++ mount image file
|
|
+++ resize fs to 41943040
|
|
+++ umount fs
|
|
+++ check fs
|
|
++ set cluster size to 16384
|
|
+++ truncate image file to 98304
|
|
+++ create fs on image file 65536
|
|
+++ mount image file
|
|
+++ resize fs to 98304
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 131068
|
|
+++ create fs on image file 98304
|
|
+++ mount image file
|
|
+++ resize fs to 131068
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 131072
|
|
+++ create fs on image file 98304
|
|
+++ mount image file
|
|
+++ resize fs to 131072
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 262144
|
|
+++ create fs on image file 98304
|
|
+++ mount image file
|
|
+++ resize fs to 262144
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 1966084
|
|
+++ create fs on image file 98304
|
|
+++ mount image file
|
|
+++ resize fs to 1966084
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 2031616
|
|
+++ create fs on image file 98304
|
|
+++ mount image file
|
|
+++ resize fs to 2031616
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 2097152
|
|
+++ create fs on image file 98304
|
|
+++ mount image file
|
|
+++ resize fs to 2097152
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 20971520
|
|
+++ create fs on image file 98304
|
|
+++ mount image file
|
|
+++ resize fs to 20971520
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 167772160
|
|
+++ create fs on image file 98304
|
|
+++ mount image file
|
|
+++ resize fs to 167772160
|
|
+++ umount fs
|
|
+++ check fs
|
|
++ set cluster size to 65536
|
|
+++ truncate image file to 393216
|
|
+++ create fs on image file 262144
|
|
+++ mount image file
|
|
+++ resize fs to 393216
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 524272
|
|
+++ create fs on image file 393216
|
|
+++ mount image file
|
|
+++ resize fs to 524272
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 524288
|
|
+++ create fs on image file 393216
|
|
+++ mount image file
|
|
+++ resize fs to 524288
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 1048576
|
|
+++ create fs on image file 393216
|
|
+++ mount image file
|
|
+++ resize fs to 1048576
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 7864336
|
|
+++ create fs on image file 393216
|
|
+++ mount image file
|
|
+++ resize fs to 7864336
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 8126464
|
|
+++ create fs on image file 393216
|
|
+++ mount image file
|
|
+++ resize fs to 8126464
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 8388608
|
|
+++ create fs on image file 393216
|
|
+++ mount image file
|
|
+++ resize fs to 8388608
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 83886080
|
|
+++ create fs on image file 393216
|
|
+++ mount image file
|
|
+++ resize fs to 83886080
|
|
+++ umount fs
|
|
+++ check fs
|
|
+++ truncate image file to 671088640
|
|
+++ create fs on image file 393216
|
|
+++ mount image file
|
|
+++ resize fs to 671088640
|
|
+++ umount fs
|
|
+++ check fs
|