diff --git a/internal/rbd/nodeserver.go b/internal/rbd/nodeserver.go index 825f9bc61a77..7fcdb8166077 100644 --- a/internal/rbd/nodeserver.go +++ b/internal/rbd/nodeserver.go @@ -512,6 +512,11 @@ func resizeNodeStagePath(ctx context.Context, if err != nil { return status.Error(codes.Internal, err.Error()) } + + // if this is a AccessType=Block volume, do not attempt filesystem resize + if isBlock { + return nil + } } // check stagingPath needs resize. ok, err = resizer.NeedResize(devicePath, stagingTargetPath)