From ff88340ebce3dfb1cc9dc2569781ba1b60e6a6bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anarcat@debian.org> Date: Mon, 3 Oct 2022 17:10:37 -0400 Subject: [PATCH] expand on export procedure, not working (tpo/tpa/team#40897) --- howto/ganeti.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/howto/ganeti.md b/howto/ganeti.md index e7e92331..4b36ceba 100644 --- a/howto/ganeti.md +++ b/howto/ganeti.md @@ -2063,10 +2063,10 @@ VMs one at a time, if only a subset of the cluster needs to be evacuated. 1. find nodes to host the exported VM on the source cluster and the - target cluster; it needs enough disk space in `/srv/ganeti` to + target cluster; it needs enough disk space in `/var/lib/ganeti/export` to keep a copy of a snapshot of the VM: - df -h /srv/ganeti + df -h /var/lib/ganeti/export 2. have the right kernel modules loaded, which might require a reboot of the source node: @@ -2080,10 +2080,14 @@ evacuated. gnt-backup export -n fsn-node-01.torproject.org test-01.torproject.org + WARNING: this step is currently not working if there's a second + disk (or swap device? to be confirmed, see + https://github.com/ganeti/instance-debootstrap/issues/18 + 4. copy the VM snapshot from the source node to node in the target cluster: - scp /srv/ganeti/... root@chi-node-02.torproject.org:/srv/ganeti + rsync -a /var/lib/ganeti/export/test-01.torproject.org/ root@chi-node-02.torproject.org:/srv/ganeti/test-01.torproject.org/ 5. on the master of the target Ganeti cluster, import the VM: -- GitLab