Skip to content

Commit 41fdfd7

Browse files
authored
Merge pull request #1073 from sunnylovestiramisu/master
Add debugging log for the mapping of a PD name to /dev/* path
2 parents 382229a + 8ce6579 commit 41fdfd7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/mount-manager/device-utils.go

+1
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)