Hellou guys,
I have a big container >500GB whitch I cannot shutdown for a long time.
I use ZFS and my script for migrating is:
I. zfs snapshot zfs-vps2/subvol-105-disk-1@snap1
II. zfs send zfs-vps2/subvol-105-disk-1@snap1 | ssh HOST2 zfs receive zfs-vps1/subvol-105-disk-1
III. pct shutdown 105
IV. zfs snapshot zfs-vps2/subvol-105-disk-1@snap2
V. zfs send -I zfs-vps2/subvol-105-disk-1@snap1 zfs-vps2/subvol-105-disk-1@snap2 | ssh HOST2 zfs receive zfs-vps1/subvol-105-disk-1
VI. ssh HOST2 pct start 105
Steps I-IV goes OK but the last one gets me an error:
cannot receive incremental stream: destination zfs-vps1/subvol-105-disk-1 has been modified
I suspect ZFS automounting for that. How to modify my script to works as I need?
(I copied LXC configurations files earlier).
I have a big container >500GB whitch I cannot shutdown for a long time.
I use ZFS and my script for migrating is:
I. zfs snapshot zfs-vps2/subvol-105-disk-1@snap1
II. zfs send zfs-vps2/subvol-105-disk-1@snap1 | ssh HOST2 zfs receive zfs-vps1/subvol-105-disk-1
III. pct shutdown 105
IV. zfs snapshot zfs-vps2/subvol-105-disk-1@snap2
V. zfs send -I zfs-vps2/subvol-105-disk-1@snap1 zfs-vps2/subvol-105-disk-1@snap2 | ssh HOST2 zfs receive zfs-vps1/subvol-105-disk-1
VI. ssh HOST2 pct start 105
Steps I-IV goes OK but the last one gets me an error:
cannot receive incremental stream: destination zfs-vps1/subvol-105-disk-1 has been modified
I suspect ZFS automounting for that. How to modify my script to works as I need?
(I copied LXC configurations files earlier).