Can you use a general-purpose OS like Windows or Ubuntu to replace your dedicated NAS OS?
With the right packages, even an Ubuntu Server can double as a solid NAS

Assembling a Network-Attached Storage unit can be a fun project, regardless of whether you repurpose old hardware or purchase new components. Similar to conventional PC-building, installing an operating system becomes the next course of action after you’re done putting the storage server together. Luckily (or unfortunately, if you’re afflicted with indecisiveness), the NAS ecosystem is home to a host of operating systems, ranging from the all-powerful TrueNAS Scale to the lightweight champ OpenMediaVault.