with new Spark 3.X version, format function is supported.
spark.read.format("avro").load("path to mounted storage")