File restore from vm = 0

anything in the logs of the VM? or of the host?
Fabian, i map img to pve node and then i mount to this node:
# mount -t ntfs-3g /dev/loop0p1 /mnt/loop
# ls /mnt/loop
'$RECYCLE.BIN' Common Departaments Groups rba 'System Volume Information'
but file have little size, example virtio-win-0.1.262.iso over 700mb in really.

MobaXterm_UDeXitXS7s.png

my be i can map full backup? how i understand on pbs how full backup? all backups have same size.


browser_f940PFxX6H.png
 
Last edited:
there is no "mapping a full backup", all backups are equal. you need to find out why passing through the loop device does not work, please provide the logs I asked for..
 
there is no "mapping a full backup", all backups are equal. you need to find out why passing through the loop device does not work, please provide the logs I asked for..
Fabian, can you write what logs i can attach. I'm a afraid to make a mistake.
 
the system logs of the VM (e.g., journalctl in case of a modern linux distro) and the host (journalctl as well). you can limit the time period with "--since ... --until ..."
 
the system logs of the VM (e.g., journalctl in case of a modern linux distro) and the host (journalctl as well). you can limit the time period with "--since ... --until ..."
Fabian, thanks for response. I map img to pve node. All exe\iso (large files) files have size 34byte.

Code:
# journalctl --since 10:54:00
Mar 27 10:54:20 pve1 kernel: loop1: detected capacity change from 0 to 10066329600
Mar 27 10:54:20 pve1 kernel:  loop1: p1
Mar 27 10:54:52 pve1 ntfs-3g[738434]: Version 2022.10.3 integrated FUSE 28
Mar 27 10:54:52 pve1 ntfs-3g[738434]: Mounted /dev/loop0p1 (Read-Only, label "SHARES", NTFS 3.1)
Mar 27 10:54:52 pve1 ntfs-3g[738434]: Cmdline options: rw
Mar 27 10:54:52 pve1 ntfs-3g[738434]: Mount options: allow_other,nonempty,relatime,ro,fsname=/dev/loop0p1,blkdev,blksize=4096
Mar 27 10:54:52 pve1 ntfs-3g[738434]: Ownership and permissions disabled, configuration type 7
Mar 27 10:57:22 pve1 smartd[949]: Device: /dev/bus/4 [megaraid_disk_02] [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 74 to 75
Mar 27 10:57:22 pve1 smartd[949]: Device: /dev/bus/4 [megaraid_disk_03] [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 73 to 74
Mar 27 10:57:22 pve1 smartd[949]: Device: /dev/bus/4 [megaraid_disk_21] [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 75 to 77
Mar 27 10:57:22 pve1 smartd[949]: Device: /dev/bus/4 [megaraid_disk_24] [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 75 to 76
Mar 27 10:57:22 pve1 smartd[949]: Device: /dev/bus/4 [megaraid_disk_29] [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 74 to 75
Mar 27 10:57:24 pve1 pmxcfs[1266]: [dcdb] notice: data verification successful
Mar 27 11:00:06 pve1 pmxcfs[1266]: [status] notice: received log
Mar 27 11:03:14 pve1 pveproxy[708029]: worker exit
Mar 27 11:03:14 pve1 pveproxy[1494]: worker 708029 finished
Mar 27 11:03:14 pve1 pveproxy[1494]: starting 1 worker(s)
Mar 27 11:03:14 pve1 pveproxy[1494]: worker 742679 started
Mar 27 11:13:54 pve1 pveproxy[713355]: worker exit
Mar 27 11:13:54 pve1 pveproxy[1494]: worker 713355 finished
Mar 27 11:13:54 pve1 pveproxy[1494]: starting 1 worker(s)
Mar 27 11:13:54 pve1 pveproxy[1494]: worker 748117 started
Mar 27 11:16:06 pve1 pmxcfs[1266]: [status] notice: received log
Mar 27 11:17:01 pve1 CRON[749649]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)
Mar 27 11:17:01 pve1 CRON[749650]: (root) CMD (cd / && run-parts --report /etc/cron.hourly)
Mar 27 11:17:01 pve1 CRON[749649]: pam_unix(cron:session): session closed for user root
Mar 27 11:27:22 pve1 smartd[949]: Device: /dev/bus/4 [megaraid_disk_02] [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 75 to 74
Mar 27 11:27:22 pve1 smartd[949]: Device: /dev/bus/4 [megaraid_disk_03] [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 74 to 73
Mar 27 11:27:22 pve1 smartd[949]: Device: /dev/bus/4 [megaraid_disk_21] [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 77 to 75
Mar 27 11:27:22 pve1 smartd[949]: Device: /dev/bus/4 [megaraid_disk_24] [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 76 to 75
Mar 27 11:27:22 pve1 smartd[949]: Device: /dev/bus/4 [megaraid_disk_29] [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 75 to 74
Mar 27 11:31:24 pve1 ntfs-3g[738434]: Could not load plugin /usr/lib/x86_64-linux-gnu/ntfs-3g/ntfs-plugin-80000013.so: Can not access a needed shared library
Mar 27 11:31:24 pve1 ntfs-3g[738434]: Hint /usr/lib/x86_64-linux-gnu/ntfs-3g/ntfs-plugin-80000013.so: cannot open shared object file: No such file or directory
Mar 27 11:32:06 pve1 pmxcfs[1266]: [status] notice: received log
 
Last edited:
we need to find out why pass through doesn't work as expected, so we need logs from when you try that (from both the host and the VM side)
 
those are still not the logs I am looking for..

the logs I want are
- journal of the PVE host where you do the mapping
- journal of the VM that you give the mapped loop device to

your logs show attempts to mount the mapped loop device on the PVE host, that is not what I am after..
 
could you maybe try with a lower index (e.g., the next "free" one in your VM config?)
 
instead of "scsi10", pick the lowest free scsi slot of your VM