Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake: Add sload_f2fs tool #128

Merged
merged 1 commit into from
Nov 18, 2023
Merged

CMake: Add sload_f2fs tool #128

merged 1 commit into from
Nov 18, 2023

Conversation

Biswa96
Copy link
Collaborator

@Biswa96 Biswa96 commented Nov 17, 2023

Fixes #127

@salvogiangri
Copy link

I can confirm the tool works as expected:

Info: not exist /proc/version!
Info: MKFS version
  "6.2.0-36-generic"
Info: FSCK version
  from "6.2.0-36-generic"
    to "6.2.0-36-generic"
Info: superblock features = 2499 :  encrypt verity extra_attr project_quota quota_ino compression
Info: superblock encrypt level = 0, salt = 00000000000000000000000000000000
Info: Segments per section = 1
Info: Sections per zone = 1
Info: total FS sectors = 14241656 (6953 MB)
Info: CKPT version = 71e1097b
loaded 7647 fs_config entries
Info: Duplicate valid checkpoint to mirror position 512 -> 1024
Info: Write valid nat_bits in checkpoint
 [ * ] Free segments: 0x6a[FIX] (move_one_curseg_info:2921)  --> Move curseg[0] 3 -> c5a after 3800

[FIX] (move_one_curseg_info:2921)  --> Move curseg[1] 6bb -> d0d after 3800

[FIX] (move_one_curseg_info:2921)  --> Move curseg[2] 35d -> 6bb after 3800

[FIX] (move_one_curseg_info:2921)  --> Move curseg[3] 0 -> 35d after 3800

[FIX] (move_one_curseg_info:2921)  --> Move curseg[4] 1 -> a14 after 3800

[FIX] (move_one_curseg_info:2921)  --> Move curseg[5] 2 -> 1 after 3800

Info: Write valid nat_bits in checkpoint
Info: MKFS version
  "6.2.0-36-generic"
Info: FSCK version
  from "6.2.0-36-generic"
    to "6.2.0-36-generic"
Info: superblock features = 2499 :  encrypt verity extra_attr project_quota quota_ino compression
Info: superblock encrypt level = 0, salt = 00000000000000000000000000000000
Info: Segments per section = 1
Info: Sections per zone = 1
Info: total FS sectors = 14241656 (6953 MB)
Info: CKPT version = 71e1097b
Info: version timestamp cur: 0, prev: 0
[update_superblock: 765] Info: Done to update superblock
Info: Checked valid nat_bits in checkpoint
Info: checkpoint state = 81 :  nat_bits unmount
[FSCK] Check node 1 / 9126 (0.01%)
[FSCK] Check node 913 / 9126 (10.01%)
[FSCK] Check node 1825 / 9126 (20.01%)
[FSCK] Check node 2737 / 9126 (30.01%)
[FSCK] Check node 3649 / 9126 (40.01%)
[FSCK] Check node 4561 / 9126 (50.01%)
[FSCK] Check node 5473 / 9126 (60.01%)
[FSCK] Check node 6385 / 9126 (70.01%)
[FSCK] Check node 7297 / 9126 (80.01%)
[FSCK] Check node 8209 / 9126 (90.01%)
[FSCK] Check node 9121 / 9126 (100.01%)
[fsck_chk_quota_files:2040] Fixing Quota file ([  0] ino [0x4])
[fsck_chk_quota_files:2040] Fixing Quota file ([  1] ino [0x5])
[fsck_chk_quota_files:2040] Fixing Quota file ([  2] ino [0x6])

[FSCK] Max image size: 6724 MB, Free space: 228 MB
[FSCK] Unreachable nat entries                        [Ok..] [0x0]
[FSCK] SIT valid block bitmap checking                [Ok..]
[FSCK] Hard link checking for regular file            [Ok..] [0x0]
[FSCK] valid_block_count matching with CP             [Ok..] [0x1a0b1b]
[FSCK] valid_node_count matching with CP (de lookup)  [Ok..] [0x23a6]
[FSCK] valid_node_count matching with CP (nat lookup) [Ok..] [0x23a6]
[FSCK] valid_inode_count matched with CP              [Ok..] [0x1de1]
[FSCK] free segment_count matched with CP             [Ok..] [0x6b]
[FSCK] next block offset is free                      [Ok..]
[FSCK] fixing SIT types
[FIX] (check_sit_types:2622)  --> Wrong segment type [0x2] 5 -> 1
[FSCK] other corrupted bugs                           [Ok..]
Info: Duplicate valid checkpoint to mirror position 512 -> 1024
Info: Write valid nat_bits in checkpoint

Done: 533.129217 secs

@Biswa96 Biswa96 merged commit ee0e62f into nmeum:master Nov 18, 2023
14 checks passed
@Biswa96 Biswa96 deleted the add-sload-f2fs branch November 18, 2023 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for more f2fs-tools executables
2 participants