On this wiki page we are going to discuss all the types of data that you might want to hold on your NAS.
Pugsley uses TrueNAS to store his non-fungible collection of detailed 3d models of the top 1,000 worldwide crypts, whilst Wednesday uses it to take backups of her school homework and projects files from her laptop.
Perhaps you only currently have a bunch of application files on your PCs (mail, spreadsheets documents, pictures) for your own use. Or perhaps you also have some personal or other videos also on your PC. In technical terms these are “sequential access” files - they are either read and written by applications in their entirety, or they are streamed (i.e. read but not written) sequentially even if you start and / or finish reading them part way through. TrueNAS - and the underlying ZFS file system - is an excellent place to store and access such files instead of off your PCs disk-drive. In other words, you can if you wish store the primary copy of these files on TrueNAS.
Of course, it is likely that the speed of accessing these files across the network is going to be slower than if they are on your PC, especially if your PCs disk is a Solid State Drive (SSD) - so you probably only want to store the primary copy of these files on the NAS if:
Alternatively, if they don't fit into the above category, then perhaps you want to keep the primary copy on your PC and put a backup copy on your NAS whenever it gets updated.
It is possible - or indeed reasonably likely as I will cover in a minute or so - that you have one or more files that are read and (more importantly written) randomly. Microsoft Access files are an example where you might want to overwrite a part of the file in the middle. But, equally, so are the Microsoft Outlook files that store your emails - and possibly other mail storage files. The ZFS file system that underlies TrueNAS is (by design) very poor at handling such files[1] - and so the primary copy needs to remain on your PCs disk drive, but again you may wish to store a backup copy on your NAS on a regular basis.
Later on in the Implementation part of the wiki we will talk about how to read and write files on the NAS from your PC and various ways to backup files or an entire disk to the NAS, but we don't need to discuss how right now, you just need to be able to work out what data you want to hold on the NAS as Primary files and what data you want to hold as backups.
[1] The reason that ZFS is poor at handling partial writes of files is because it is a “Copy on write” file system - which means that instead of simply changing the bytes in the middle of a file, every time you want to do this it makes a copy of an entire block first including these changed bytes. This is by design because it enables a whole bunch of other functionality which are very useful for a NAS (like resilience and snapshots - don't worry if you don't know what these are right now as we will cover these later), but it does make ZFS unsuitable for these types of file.
Morticia and Gomez use TrueNAS to store and stream their collection of Vampire and Zombie movies to their 60" ceiling mounted TV to watch as part of their foreplay ritual.
Perhaps you also already hold video files on your PC, but even if you don't one of the biggest opportunities you gain from implementing a NAS is that it can be used to hold and stream media files - your photo collection, your mp3 music collection and your videos - to your PC / smart TV device / smart speakers / mobile phone / tablet. Again, we will cover how to stream these in a later part of the Wiki, but right now you need to decide whether you want to do this, and if so just how much disk space you want to provide for this.
Media files are large - a single photo can be 10x the size of an email or small word document - and music files are much larger, and video files much larger again. A word or PDF document might be a few MB in size, but depending on the resolution to store it at, the video file for a feature film can be between (say) 1GB and 50GB in size. So deciding whether you want this functionality and if so how much you want to store may dwarf the data storage requirements of everything else.
And because of this, your normal PC disk drive simply may not have the capacity to store this amount of data.
When you are thinking about the amount of network-data storage you need e.g. for your video files, you should also allow extra space for your media manager / streamer app (such as Plex or Jellyfin) to store its index to your video files. As a rule of thumb, Protopia Addams notes that his NAS server uses about 2.5% of the video file space for the Plex metadata. So remember to add 2.5%-5% to your video file size to cover this.
Leaving aside using the NAS to store primary or backup copies of individual files (where you can easily access each file individually), having an image backup of the “system disk” of your PC can be a real help if this system drive gets corrupted or has a hardware failure and you want to restore it to where it was.
Most operating systems have a means of creating an image backup of their system disk that can be restored in its entirety on the same system at a later date, but the files that are created are almost as big as the disk drive they are on, so again you need to decide now whether you want to hold these, and if so for how many PCs and how many copies. (And, in case you are worried whether a NAS is suitable for this, the answer is yes - providing you allow enough disk capacity and providing that your LAN is fast enough to handle the data, a NAS is a great place to store these.)
These days Smart Phones and Tablets are more mobile computers than dumb devices - by which I mean Android Phones and iPhones, and Android tablets and iPads etc. - and they can hold quite a lot of your valuable data. And because they are mobile devices that you take with you wherever you go, they are perhaps the data storage devices that are most at risk of being lost or stolen or damaged.
But how many of us back up the data that we hold on our phones and tablets? Implementing a NAS is an opportunity to get these sorts of mobile devices to back themselves up whenever you are charging them at your home location.
Of course all of the Addams Family with the exception of Wednesday and Pugsley are too luddite to have mobile phones. Wednesday is way too laid back to be bothered with a mobile phone but she does use an iPad for her gothic artwork, and Pugsley's Android phone has hundreds of photos and videos of his pranks that he shares with his schoolfriends - and both of them are planning to back up their devices to TrueNAS.
If you decide to do this, how much data will you need to back-up?
This is a bit of a specialised area, but for those people who already use BitTorrent file sharing, you may want to consider using your NAS not only to store your torrents, but also to run your torrent software.
This is undoubtedly more complex to implement than anything we have talked about so far, but if you are already using torrents and you want to move them, then again you need to account for the disk space they will use.
Prev - 2.2 Data Requirements | Index | Next - 2.2.2 Server-only Data Types |