diff --git a/internal/rbd/nodeserver.go b/internal/rbd/nodeserver.go index 338b5791de4e..4f7e3d70d0b6 100644 --- a/internal/rbd/nodeserver.go +++ b/internal/rbd/nodeserver.go @@ -781,7 +781,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