This repository contains a few scripts that are used in the Raspberry Pi NAS.
Scripts:
- nas_read_test.py and nas_write_test.py are scripts used in posts 5 and 6. They read real data from the NAS and write it to the NAS. These are not synthetic tests. They are intended to be used with data that's representative of the data that you're planning store on the NAS.
- nas_smart_test.py is a script intended to be run with cron. It starts a S.M.A.R.T. check of a drive, keeps the drive awake and finally writes the output to one or multiple files. See https://mpr-projects.com/index.php/2023/12/19/rpi-nas-extras-hdd-s-m-a-r-t/ for details.
- clean_nas_trash.py is a script intended to be run with cron. It deletes all files from Greyhole's trash that are older than a certain amount of time (which can be set in the script). See https://mpr-projects.com/index.php/2023/12/19/rpi-nas-extras-greyhole-trash/ for details.
Folder:
- case_control contains a couple of scripts and a summary of the commands required to control the case for our NAS. They are related to post https://mpr-projects.com/index.php/2024/02/11/rpi-nas-extras-building-a-case-video/.