Differences between revisions 85 and 86
Revision 85 as of 2024-05-12 16:47:33
Size: 5078
Comment:
Revision 86 as of 2024-05-12 16:59:33
Size: 5495
Comment:
Deletions are marked like this. Additions are marked like this.
Line 92: Line 92:

usage example that works
{{{
#!/bin/sh

DISK="/dev/vg_storage/kvm_saphira_vda"

SOURCE=$(readlink -f ${DISK})
DESTINATION=$(ssh kvm01 "readlink -f ${DISK}")

echo rsync --progress --verbose -I --copy-devices --write-devices --no-whole-file --inplace ${SOURCE} kvm01:${DESTINATION}
rsync --progress --verbose -I --copy-devices --write-devices --no-whole-file --inplace ${SOURCE} kvm01:${DESTINATION}
}}}

TODO

Various Articles

misc

alternative bridge settings might be required

# bridging eth0 as br0
auto br0
iface br0 inet dhcp
        # bridge specific settings
        #bridge_stp on
        #bridge_maxwait 0
        #bridge_fd 0
        #bridge_ports eth0
        bridge_ports eth0
        bridge_fd 9
        bridge_hello 2
        bridge_maxage 12
        bridge_stp off
        # network settings

run that readlink on remote host first

rsync --progress --verbose -I --copy-devices --write-devices --no-whole-file --inplace "$(readlink -f "/dev/vg_storage/kvm_saphira_vda")" kvm01:"$(readlink -f "/dev/vg_storage/kvm_saphira_vda")"

usage example that works

DISK="/dev/vg_storage/kvm_saphira_vda"

SOURCE=$(readlink -f ${DISK})
DESTINATION=$(ssh kvm01 "readlink -f ${DISK}")

echo rsync --progress --verbose -I --copy-devices --write-devices --no-whole-file --inplace ${SOURCE} kvm01:${DESTINATION}
rsync --progress --verbose -I --copy-devices --write-devices --no-whole-file --inplace ${SOURCE} kvm01:${DESTINATION}

None: TODO (last edited 2024-05-14 20:31:59 by Kristian Kallenberg)