Hiya,
I'm attempting to migrate one of my VMs to an LXC container,
The VM has a ~8TB ZVOL disk attached to it, and I want to move all the data on there into the LXC container
I'd like to avoid using SMB/NFS/iSCSI to do it, instead I'd like to mount the ZVOL to the host or the LXC and copy the data directly across.
I've tried using `zfs mount`, I've also tried setting the mountpoint variable, but both return that it's not supported.
Using the built in `mount` command, I get this output
I'm attempting to migrate one of my VMs to an LXC container,
The VM has a ~8TB ZVOL disk attached to it, and I want to move all the data on there into the LXC container
I'd like to avoid using SMB/NFS/iSCSI to do it, instead I'd like to mount the ZVOL to the host or the LXC and copy the data directly across.
I've tried using `zfs mount`, I've also tried setting the mountpoint variable, but both return that it's not supported.
Code:
root@Ritsu:~# zfs mount RAID1/encrypted/vm-100-disk-0
cannot open 'RAID1/encrypted/vm-100-disk-0': operation not applicable to datasets of this type
root@Ritsu:~# zfs set mountpoint=/mnt RAID1/encrypted/vm-100-disk-0
cannot set property for 'RAID1/encrypted/vm-100-disk-0': 'mountpoint' does not apply to datasets of this type
Using the built in `mount` command, I get this output
Code:
mount /dev/zvol/RAID1/encrypted/vm-100-disk-0 /mnt -t ext4
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/zd64, missing codepage or helper program, or other error.