hetzner cifs storagebox readonly with Containers

openaspace

Well-Known Member
Sep 16, 2019
486
13
58
Italy
Hi.
I'm using the hetzner storagebox to backuo my virtualmachines , it works correctly with VM and Backup, also when I use it as primary storage for the VM,
but when I try to move a container inside , proxmox report sync error for readonly fle system.

Any advice?
thank you.

rsync: [generator] recv_generator: mkdir "/var/lib/lxc/600/.copy-volume-1/var/opt" failed: Read-only file system (30) *** Skipping any contents from this failed directory *** rsync: [generator] recv_generator: mkdir "/var/lib/lxc/600/.copy-volume-1/var/spool" failed: Read-only file system (30) *** Skipping any contents from this failed directory *** rsync: [generator] recv_generator: mkdir "/var/lib/lxc/600/.copy-volume-1/var/tmp" failed: Read-only file system (30) *** Skipping any contents from this failed directory *** Number of files: 110,265 (reg: 54,975, dir: 51,613, link: 3,612, special: 65) Number of created files: 13,556 (reg: 4,404, dir: 8,626, link: 526) Number of deleted files: 0 Number of regular files transferred: 4,401 Total file size: 251,458,758,100 bytes Total transferred file size: 73,820,530,187 bytes Literal data: 73,820,530,187 bytes Matched data: 0 bytes File list size: 6,547,058 File list generation time: 0.001 seconds File list transfer time: 0.000 seconds Total bytes sent: 73,849,378,290 Total bytes received: 181,676 sent 73,849,378,290 bytes received 181,676 bytes 111,978,104.57 bytes/sec total size is 251,458,758,100 speedup is 3.41 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1333) [sender=3.2.3] TASK ERROR: command 'rsync --stats -X -A --numeric-ids -aH --whole-file --sparse --one-file-system '--bwlimit=0' /var/lib/lxc/600/.copy-volume-2/ /var/lib/lxc/600/.copy-volume-1' failed: exit code 23
 
Hi,

did you allready check if the filesystem is mounted rw

If you don't know which mount is the responsible one, you can try something like this:
Code:
$ df -h /var/lib/lxc 
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/pve-root   94G   35G   55G  40% /


$ mount | grep /dev/mapper/pve-root
/dev/mapper/pve-root on / type ext4 (rw,relatime,errors=remount-ro)

In this case my filesystem is mounted rw