mirror of https://github.com/schoebel/mars
marsadm: set syncstatus link on primary after marsadm resize
This commit is contained in:
parent
3346daf959
commit
62b016d4cc
|
@ -1427,11 +1427,9 @@ sub resize_res {
|
||||||
my $this_size = get_link($syncsize);
|
my $this_size = get_link($syncsize);
|
||||||
ldie "sync on $syncsize has not yet finished: $this_size != $old_size (DANGEROUS FIX: if you know what you are doing, marsadm fake-sync can 'fix' it -- but this may need a full-sync afterwards)\n" unless $this_size == $old_size;
|
ldie "sync on $syncsize has not yet finished: $this_size != $old_size (DANGEROUS FIX: if you know what you are doing, marsadm fake-sync can 'fix' it -- but this may need a full-sync afterwards)\n" unless $this_size == $old_size;
|
||||||
}
|
}
|
||||||
if (0) {
|
foreach my $syncsize (@syncsizes) {
|
||||||
foreach my $syncsize (@syncsizes) {
|
my $this_size = get_link($syncsize);
|
||||||
my $this_size = get_link($syncsize);
|
set_link($new_size, $syncsize);
|
||||||
set_link($new_size, $syncsize);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
set_link($new_size, $lnk);
|
set_link($new_size, $lnk);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue