}
$disks = preg_split("/[,;]/", $params['devices']);
+ foreach ($disks as $disk) {
+ OMVModuleZFSUtil::setGPTLabel($disk);
+ }
//Use /dev/disk/by-path as suggested in ZoL FAQ.
if ($params['diskpath']) {
try {
$opts .= "-f ";
}
$disks = preg_split("/[,;]/", $params['devices']);
+ foreach ($disks as $disk) {
+ OMVModuleZFSUtil::setGPTLabel($disk);
+ }
//Use /dev/disk/by-path as suggested in ZoL FAQ.
if ($params['diskpath']) {
try {