On 11/30/2026 8:14 PM, Nioclásán Cóilín Glostéir wrote:
> |-----------------------------------------------------------------------------| > |"XigmaNAS, TrueNAS, etc. are turnkey options if you aren't comfortable | > |rolling your own." | > |-----------------------------------------------------------------------------| > > I am not comfortable. Of course I am intelligent and inquisitive and > resourceful, so I could do so. My job description does not say so, and > I have too many tasks to be doing to add rolling my own NAS option to > them.
My strategy was: - install a stock (FreeBSD) distribution on a 16G thumb drive plugged into an internal USB port (so the "OS" didn't consume a spindle *or* an externally accessible USB port) [you can use a larger drive and even consume a spindle if you choose; make it a "real computer" on which to do "real" work instead of just storing files!] - add disk drive(s) - create a *single* partition covering the entire drive for each drive - format the partition(s) - mount it (and add that info to fstab(5) to automate that process) - verify you can copy data to/from that mounted partition from the command line - create an *unprivileged* user - set permissions for the mount points to enable that user to have access - access that partition via FTP (for read and write) from a remote machine Now, you have a bit of "network accessible storage" that you can access from any machine on your network (and any machine that can access that network!) You will learn the value/cost of using a journaling filesystem (or not), soft updates, how to check a drive for errors (if it is unceremoniously shutdown while in use), etc. These are all worthwhile skills for the long haul. After that, you can add Samba for SMB shares. Enable NFS for NFS shares. rsync, etc. Each as you decide on their utility to you. Along the way, you will discover the joys of trying to copy ReadMe and readme from the "NAS" box onto the windows box -- that treats both names as the same! Or, how unicode filenames are (mis)handled. Or, how you can create an "archive file" with a pathname of thousands of characters... that windows will gag on when you try to unpack it, there! Or...