diff --git a/pkg/storage/storageService.go b/pkg/storage/storageService.go index 4579dbb0..b99259a7 100644 --- a/pkg/storage/storageService.go +++ b/pkg/storage/storageService.go @@ -113,6 +113,12 @@ func RemoveGatekeeper(volumeName string) { // CheckFs: Perform a file system validation func CheckFs(path string, fstype string, context string) error { + + if IsVolumeInUse(path) { + klog.Infof("Volume already mounted, not performing FS check") + return nil + } + fsRepairCommand := "e2fsck" if fstype == "xfs" { fsRepairCommand = "xfs_repair"