lvm snapshot: activate volume
Signed-off-by: Alexandre Derumier <alexandre.derumier@groupe-cyllene.com>
This commit is contained in:
committed by
Wolfgang Bumiller
parent
615da71f77
commit
94b637a923
@ -924,6 +924,8 @@ sub volume_snapshot {
|
||||
return;
|
||||
}
|
||||
|
||||
$class->activate_volume($storeid, $scfg, $volname);
|
||||
|
||||
#rename current volume to snap volume
|
||||
eval { $class->rename_snapshot($scfg, $storeid, $volname, 'current', $snap) };
|
||||
die "error rename $volname to $snap\n" if $@;
|
||||
|
||||
Reference in New Issue
Block a user