Skip to content

Commit f7af585

Browse files
Add debugging log for the mapping of a PD name to /dev/* path
1 parent 1751513 commit f7af585

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/mount-manager/device-utils.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ func (m *deviceUtils) VerifyDevicePath(devicePaths []string, deviceName string)
240240
// If there exists a devicePath we make sure disk at /dev/* matches the
241241
// expected disk at devicePath by matching device Serial to the disk name
242242
devFsPath, innerErr := filepath.EvalSymlinks(devicePath)
243+
klog.V(4).Infof("For disk %s the /dev/* path is %s", deviceName, devFsPath)
243244
if innerErr != nil {
244245
return false, fmt.Errorf("filepath.EvalSymlinks(%q) failed with %v", devicePath, innerErr)
245246
}

0 commit comments

Comments
 (0)