diff --git a/internal/rbd/nodeserver.go b/internal/rbd/nodeserver.go index 3302ca6f5e8..47452593d9e 100644 --- a/internal/rbd/nodeserver.go +++ b/internal/rbd/nodeserver.go @@ -780,7 +780,7 @@ func (ns *NodeServer) mountVolumeToStagePath( readOnly = true } - if existingFormat == "" && !staticVol && !readOnly { + if existingFormat == "" && !staticVol && !readOnly && !isBlock { args := mkfsDefaultArgs[fsType] // if the VolumeContext contains "mkfsOptions", use those as args instead