/dev/loop0 read-only - Cant move lxc disk from NFS share to local disk

Jan 12, 2022
39
8
8
34
Just noticed that I accidentally created one of my containers with its storage on my backup nfs mount.
I tried moving the disk storage in the gui and got this error:

Code:
Formatting '/var/lib/vz/images/101/vm-101-disk-0.raw', fmt=raw size=53687091200 preallocation=off
Creating filesystem with 13107200 4k blocks and 3276800 inodes
Filesystem UUID: 113d6190-3bef-4cf4-b7bb-2b0c331ff226
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424
mount: /var/lib/lxc/101/.copy-volume-2: cannot mount /dev/loop0 read-only.
Specified filename /var/lib/lxc/101/.copy-volume-1 does not exist.
TASK ERROR: command 'mount -o ro /dev/loop0 /var/lib/lxc/101/.copy-volume-2//' failed: exit code 32

Not sure what to do here, why is it erroring out if the command its running is mounting /dev/loop0 as ro?
How do I move the lxc disk back to my local storage?
 
Last edited:
  • Like
Reactions: sinister5665

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!