Mounting image failed - Debian 11.3
Hello,
I can’t manage to mount an image in the web interface at all!
Server OS : Debian 11.3
Urbackup Server 2.4.15.0-1 (from OpenSuSE build service download page)
Client: UrBackup Client 2.2.20-hyperv
For the backup disk I use bcache - SSD + HDD.
The bcache0 disk is formatted btrfs and is also mounted on a btrfs partition in /media/backup
"Mount Image" does not work properly from the web interface
If the “Image backup file format” is set to “Raw copy-on-write file” the image can be mounted from the guestmount CLI (guestmount -a “/media/backup/urbackup/HVC01[Cloud DCC1]/220516-0113_Image_SCSI_0_0/Image_SCSI_0_0_220516-0113.raw” -m /dev/sda4 --ro /mnt), but from the web interface it does not work.
From web interface the first attempt to “Mount Image” failed with this error:
Mounting image failed. Please see server log file for details.
Guestmount…
There is no error in urbackup.log
On the second attempt, “Mount Image” apparently succeeds, but the mounted image cannot be used because all downloaded files (directly or as a ZIP archive) have zero size.
In addition, the folder-specific icons are missing from the web interface.
If the backup is done VHD with “Image backup file format” set to VHD (Virtual HardDisk), the .vhd image cannot be mounted with either CLI or WEB.
CLI:
guestmount -a “/media/backup/urbackup/HVC01[Cloud DCC1]/220516-1238_Image_SCSI_0_0/Image_SCSI_0_0_220516-1238.vhd” -m /dev/sda4 --ro /mnt
libguestfs: error: mount_options: mount_options_stub: /dev/sda4: No such file or directory
guestmount: ‘/dev/sda4’ could not be mounted.
guestmount: Did you mean to mount one of these filesystems?
guestmount: /dev/sda (unknown)
Web interface error:
Mounting image failed. Please see server log file for details.
Loading FUSE kernel module… Starting VHD background process… Waiting for background process to become available… Mounting… libguestfs: error: mount_options: mount exited with status 32: mount: /sysroot: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other error. guestmount: ‘/dev/sda’ could not be mounted. guestmount: Did you mean to mount one of these filesystems? guestmount: /dev/sda (unknown) Mounting failed. UrBackup mount process returned non-zero return code
urbackup.log :
2022-05-16 15:02:47: ERROR: Image mounting failed: Loading FUSE kernel module…
Starting VHD background process…
Waiting for background process to become available…
Mounting…
libguestfs: error: mount_options: mount exited with status 32: mount: /sysroot: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other error.
guestmount: ‘/dev/sda4’ could not be mounted.
guestmount: Did you mean to mount one of these filesystems?
guestmount: /dev/sda (unknown)
Mounting failed.
UrBackup mount process returned non-zero return code
libguestfs-test-tool.txt (56.2 KB)
Thanks!