lvm snapshot: activate volume

Signed-off-by: Alexandre Derumier <alexandre.derumier@groupe-cyllene.com>
This commit is contained in:
Alexandre Derumier
2025-07-16 08:31:43 +02:00
committed by Wolfgang Bumiller
parent 615da71f77
commit 94b637a923

View File

@ -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 $@;