diff --git a/pkg/device/device-util.go b/pkg/device/device-util.go index e55288fe..ea9787d8 100644 --- a/pkg/device/device-util.go +++ b/pkg/device/device-util.go @@ -77,8 +77,9 @@ func CreateVolume(vol *apis.DeviceVolume) error { return err } if len(pList) > 0 { - klog.Errorf("Partition %s already exist", partitionName) - return errors.New("Already exist") + klog.Infof("Partition %s already exist, Skipping creation", partitionName) + // Making Volume creation Idempotent + return nil } disk, start, err := findBestPart(diskMetaName, capacityMiB) if err != nil {