diff --git a/pkg/hostman/diskutils/diskutils.go b/pkg/hostman/diskutils/diskutils.go index 401aa4c532..db555a4033 100644 --- a/pkg/hostman/diskutils/diskutils.go +++ b/pkg/hostman/diskutils/diskutils.go @@ -124,7 +124,9 @@ func (d *SKVMGuestDisk) Connect() bool { if pathType == LVM_PATH { d.setupLVMS() } else if pathType == PATH_TYPE_UNKNOWN { - if hasLVM, err := d.setupLVMS(); !hasLVM && err == nil { + hasLVM, err := d.setupLVMS() + // no lvm partition found and has partitions + if !hasLVM && err == nil && len(d.partitions) > 0 { d.cacheNonLVMImagePath() } }