
- HOW TO INSTALL LINUX ON A BRAND NEW HARD DRIVE HOW TO
- HOW TO INSTALL LINUX ON A BRAND NEW HARD DRIVE VERIFICATION
- HOW TO INSTALL LINUX ON A BRAND NEW HARD DRIVE CODE
Never rely on relative paths or the PATH variable. With cron, it is a good idea to be as explicit as possible when it comes to file paths. Running via sudo or as root is a simple, reliable solution here. content file to /var/ and will therefore require write access to the this directory. Ideally at something like 4 or 5am, it would be a good idea to also temporarily disable any services that write to your storage during this time - that is optional though.ĭuring a sync SnapRAID will write a. You will want to ensure the file SnapRAID is checking parity for are not changing during this time.
HOW TO INSTALL LINUX ON A BRAND NEW HARD DRIVE VERIFICATION
- Configure periodic data verification features.- If you are using gmail you will need to generate an app specific password.touch = True - This improves the SnapRAID capability to recognize moved and copied files as it makes the timestamp almost unique, removing possible duplicates.deletethreshold = 250 - abort operation if there are more deletes than this, set to -1 to disable.config = /etc/nf - Ensure this points to where your nf file is stored.The following parameters are of the most interest when configuring this file: Next, you will need to ensure you have set up your configuration file for SnapRAID as detailed above.Įdit the configuration file for snapraid-runner, a default is provided at /opt/snapraid-runner/.
HOW TO INSTALL LINUX ON A BRAND NEW HARD DRIVE HOW TO
This git repository contains the script required, here's how to utilise it. deb package that is compatible with Ubuntu (and other Debian distros). But this is inefficient and, whilst unlikely, can lead to conflicts with other packages on your system.Ī few years ago I wrote a container that builds SnapRAID from source in a container and spits out a compiled. In the old days, before containers, this meant installing a bunch of build dependencies on your system.


SnapRAID doesn't provide packages so we have to compile it from source ourselves. It is mainly targeted for a home media center, with a lot of big files that rarely change. It stores parity information of your data and it recovers from up to six disk failures. SnapRAID is a backup program for disk arrays. If you had any existing files on your data disks they will be visible under /mnt/storage. Next up, we'll create a filesystem on that newly created partition.įilesystem Size Used Avail Use% Mounted on
HOW TO INSTALL LINUX ON A BRAND NEW HARD DRIVE CODE

MAKE SURE YOU HAVE A BACKUP AND USE CAUTION The following sequence will erase everything on this disk.
