Now I have yet another trouble:
I used EXT3 formatted flash drive, mounted to /media, to make a backup.
The process is terminated after a couple of minutes with such message:Then I tried to do all the same with NTFS formatted flash drive. The drive itself is much slower, so it took a lot of time (around an hour), but everything was finished successfully.Code:
e2fsck 1.47.0 (5-Feb-2023)e2fsck: No such file or directory while trying to open /dev/loop1p2Possibly non-existent device?Filesystem appears corrupted before resize2fs
Of course, I used the version from the first post.
And I checked the EXT3 drive with e2fsck, and it appeared healthy.
Any ideas?
I'm not finding a problem using image-backup with a drive formatted ext3 as the destination of the backup:
Code:
root@raspberrypi:~# mkfs.ext3 -b 4096 -F -L rootfs /dev/sda2mke2fs 1.47.0 (5-Feb-2023)/dev/sda2 contains a ext4 file system labelled 'RASPIROOT' last mounted on / on Wed Sep 20 07:15:17 2023Creating filesystem with 244059572 4k blocks and 61022208 inodesFilesystem UUID: 5e609530-1f05-408c-9a3a-747c06acdd3bSuperblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 102400000, 214990848Allocating group tables: doneWriting inode tables: doneCreating journal (262144 blocks): doneWriting superblocks and filesystem accounting information: doneroot@raspberrypi:~# blkid /dev/sda2/dev/sda2: LABEL="rootfs" UUID="5e609530-1f05-408c-9a3a-747c06acdd3b" SEC_TYPE="ext2" BLOCK_SIZE="4096" TYPE="ext3" PARTUUID="388501c0-02"root@raspberrypi:~# mount /dev/sda2 /mediaroot@raspberrypi:~# ./image-backupImage file to create? /media/test.imgInitial image file ROOT filesystem size (MB) [3586]?Added space for incremental updates after shrinking (MB) [0]?Create /media/test.img (y/n)? yStarting full backup (for incremental backups, run: ./image-backup /media/test.img)e2fsck 1.47.0 (5-Feb-2023)Pass 1: Checking inodes, blocks, and sizesPass 2: Checking directory structurePass 3: Checking directory connectivityPass 4: Checking reference countsPass 5: Checking group summary informationrootfs: 73629/229824 files (0.1% non-contiguous), 731245/917504 blocksresize2fs 1.47.0 (5-Feb-2023)The filesystem is already 917504 (4k) blocks long. Nothing to do!resize2fs 1.47.0 (5-Feb-2023)The filesystem is already 917504 (4k) blocks long. Nothing to do!resize2fs 1.47.0 (5-Feb-2023)The filesystem is already 917504 (4k) blocks long. Nothing to do!e2fsck 1.47.0 (5-Feb-2023)Pass 1: Checking inodes, blocks, and sizesPass 2: Checking directory structurePass 3: Checking directory connectivityPass 4: Checking reference countsPass 5: Checking group summary informationrootfs: 73629/229824 files (0.1% non-contiguous), 731245/917504 blocksroot@raspberrypi:~# ls -l /mediatotal 2945168drwx------ 2 root root 16384 Dec 20 12:49 lost+found-rw-r--r-- 1 root root 4296032768 Dec 20 12:52 test.img
Statistics: Posted by RonR — Fri Dec 20, 2024 7:05 pm