diff --git a/pkg/volume/fc/fc_util.go b/pkg/volume/fc/fc_util.go index 5ad268c4b2f..f229d5700d6 100644 --- a/pkg/volume/fc/fc_util.go +++ b/pkg/volume/fc/fc_util.go @@ -220,6 +220,9 @@ func (util *FCUtil) AttachDisk(b fcDiskMounter) (string, error) { // mount it globalPDPath := util.MakeGlobalPDName(*b.fcDisk) noMnt, err := b.mounter.IsLikelyNotMountPoint(globalPDPath) + if err != nil { + return devicePath, fmt.Errorf("Heuristic determination of mount point failed:%v", err) + } if !noMnt { glog.Infof("fc: %s already mounted", globalPDPath) return devicePath, nil