/dev/urandom is far better option. One problem is that writing a full drive of data can take long time vs chucking it into shredder. For example this[1] 22TB drive can do 260MB/s, meaning that doing one full disk write pass would take almost 24h.
[1] https://nascompares.com/2022/09/12/wd-red-pro-22tb-hard-driv...