mirror of
https://github.com/schoebel/mars
synced 2025-03-11 07:47:41 +00:00
marsadm: obey --dry-run at resize
This commit is contained in:
parent
91fd1e8f76
commit
b84dd97cab
@ -7580,6 +7580,7 @@ sub resize_phase2 {
|
||||
last;
|
||||
}
|
||||
lprint "Device size $new_device_size has not yet reached the new size $resize_new_size{$res}.\n";
|
||||
last if $dry_run;
|
||||
if ($new_device_size != $resize_device_size{$res}) {
|
||||
lwarn "The size has changed, but did not reach the correct value.";
|
||||
lwarn "Assuming some rounding problems (which may occur at some device types)\n";
|
||||
|
Loading…
Reference in New Issue
Block a user