diff --git a/cloud/blockstore/tools/csi_driver/internal/driver/node.go b/cloud/blockstore/tools/csi_driver/internal/driver/node.go index 7b503e0cbe..74e80999fd 100644 --- a/cloud/blockstore/tools/csi_driver/internal/driver/node.go +++ b/cloud/blockstore/tools/csi_driver/internal/driver/node.go @@ -862,6 +862,11 @@ func (s *nodeService) nodeUnstageVolume( ctx context.Context, req *csi.NodeUnstageVolumeRequest) error { + mounted, _ := s.mounter.IsMountPoint(req.StagingTargetPath) + if !mounted { + return nil + } + if err := s.mounter.CleanupMountPoint(req.StagingTargetPath); err != nil { return err }