shrink-backup icon indicating copy to clipboard operation
shrink-backup copied to clipboard

shrink-backup with 'f2fs'?

Open sneumeister opened this issue 10 months ago • 18 comments

Hello,

My RaspberryPi runs since years under "f2fs" (Flash-Friendly File System). It seems your scripts relys on btrfs?

Is there a change to work with f2fs? I see so many btrfs command in the scripts doing not know the exact function...

2024-04-17 22:09:43 [DEBUG] - Running: mkfs.btrfs -m single -L  -f -v /dev/loop0p2
./shrink-backup: Zeile 1162: mkfs.btrfs: Kommando nicht gefunden.
------------------------------------------------------------------------------
2024-04-17 22:09:43 [INFO]  - Creating temp directory
2024-04-17 22:09:43 [DEBUG] - Running: mktemp -d -t backup-XXX
2024-04-17 22:09:43 [DEBUG] - TMP_DIR=/tmp/backup-rMk
2024-04-17 22:09:43 [INFO]  - Creating btrfs subvolumes
2024-04-17 22:09:43 [DEBUG] - Running: mount -o compress=zstd /dev/loop0p2 /tmp/backup-rMk
------------------------------------------------------------------------------
2024-04-17 22:09:44 [ERROR] - ROOT MOUNT FAILED:
mount: /tmp/backup-rMk: wrong fs type, bad option, bad superblock on /dev/loop0p2, missing codepage or helper program, or other error.
------------------------------------------------------------------------------

sneumeister avatar Apr 17 '24 20:04 sneumeister