diff --git a/cmd/posix.go b/cmd/posix.go index b00bdef09..c9b7de590 100644 --- a/cmd/posix.go +++ b/cmd/posix.go @@ -329,6 +329,10 @@ func (s *posix) DiskInfo() (info DiskInfo, err error) { return info, errFaultyDisk } + if err := s.checkDiskFound(); err != nil { + return info, err + } + di, err := getDiskInfo(s.diskPath) if err != nil { return info, err