I spent $2550 on a TrueNAS setup with 3x22TB drives, so 40 TB usable after setting up ZFS. The case can hold 8 drives so I could go up to 120TB usable for an additional $2000 at $400/drive. Building big storage servers is actually much cheaper than you think nowadays.