remove compression option from lvm migration
ssh(1) mentions that compression is only disirable on slow connections. since migration from cluster node to cluster node needs a fast network anyway, we can drop the compression for a speed improvement Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
committed by
Wolfgang Bumiller
parent
82fc923fd4
commit
f3b3b2a3b7
@ -559,10 +559,10 @@ sub storage_migrate {
|
|||||||
|
|
||||||
eval {
|
eval {
|
||||||
if ($tcfg->{type} eq 'lvmthin') {
|
if ($tcfg->{type} eq 'lvmthin') {
|
||||||
run_command([["dd", "if=$src"],["/usr/bin/ssh", "root\@${target_host}", "-C",
|
run_command([["dd", "if=$src"],["/usr/bin/ssh", "root\@${target_host}",
|
||||||
"dd", 'conv=sparse', "of=$dst"]]);
|
"dd", 'conv=sparse', "of=$dst"]]);
|
||||||
} else {
|
} else {
|
||||||
run_command([["dd", "if=$src"],["/usr/bin/ssh", "root\@${target_host}", "-C",
|
run_command([["dd", "if=$src"],["/usr/bin/ssh", "root\@${target_host}",
|
||||||
"dd", "of=$dst"]]);
|
"dd", "of=$dst"]]);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user