That is the second mission concerning the NASsie house NAS. The primary mission is on the NASsie {hardware}. This mission covers putting in the software program and getting it working.
The principle motive for utilizing Open Media Vault (OMV) is that it offers a pleasant full-featured NAS system that’s managed utilizing an internet interface. The SSH terminal interface is required for among the setup however just isn’t wanted after that.
Set up Pi OSThe Raspberry Pi working system must be put in. If the CM4 module is “lite”, and doesn’t have embedded reminiscence then set up Pi OS onto an SDHC card. If the CM4 has embedded reminiscence then join the USB cable and comply with the directions from the Raspberry Pi web site.
OMV6 requires the 64-bit Bulleye (Legacy) Lite model of Pi OS. Comply with the directions on the Raspberry Pi web site. SSH must be enabled. WiFi will be enabled nonetheless OMV will clear the WiFi configuration when put in so an Ethernet cable connection will not less than be required after that.
When the set up is full put the reminiscence card within the CM4 IO board and boot the Raspberry Pi. It’s going to take a number of minutes for the Raspberry Pi besides and configure itself.
After it has booted hook up with it utilizing SSH (usually utilizing Putty on Home windows) with the username and password outlined when the picture was created.
Replace the software program packages:
sudo apt-get replace
Improve the software program packages:
sudo apt-get full-upgrade
The configuration file is used to allow options which are required for the NASsie. The next strains should be added on the finish of the /boot/config.txt file to allow the facility button, energy LCD, CM4 CPU fan, SPI for the LCD and to activate the case fan.
Use nano to edit the file:
sudo nano /boot/config.txt
Add the next strains to the tip of the file and put it aside:
# Allow studown button
# have to be pressed for 1.5 seconds
dtoverlay=gpio-shutdown,gpio_pin=3,active_low=1,debounce=1500# Allow CM4 fan
dtoverlay=i2c-fan,emc2301,i2c_csi_dsi
# Activate energy LED
gpio=12=op,dh
# Allow SPI for LCD
dtparam=spi=on
# Flip case fan on throughout boot
gpio=4=op,dl
Reboot the system so the adjustments in config.txt take impact.
sudo reboot 0
Set up LCD software programThe software program to drive the Waveshare LCD must be put in. Evidently the Python modules are wanted even when solely the C routines are used, so set up it first.
#python3
sudo apt-get set up python3-pip -y
sudo apt-get set up python3-pil -y
sudo apt-get set up python3-numpy -y
sudo pip3 set up RPi.GPIO
sudo pip3 set up spidev
The lgpio library must be put in.
wget https://github.com/joan2937/lg/archive/grasp.zip
unzip grasp.zip
cd lg-master
sudo make set up
cd
The LCD libraries and instance code should be put in.
sudo apt-get set up unzip -y
sudo wget https://information.waveshare.com/add/8/8d/LCD_Module_RPI_code.zip
sudo unzip ./LCD_Module_RPI_code.zip
cd LCD_Module_RPI_code/RaspberryPi/
The LCD library code and examples should be constructed.
cd c
sudo make clear
sudo make -j 8
Run the check code to ensure the show is working.
sudo ./essential 2.4
The check textual content and a picture needs to be displayed on the display screen. They are going to be the other way up that’s anticipated.
Set up NASsie software programCopy the code from the NASsie GitHub repository right into a “/NASsie” listing within the pi consumer house listing “/house/pi”. On Home windows winscp can be utilized to repeat information to the NASsie. Then construct the NASsie utility.
cd /NASsie
make
Set up OMV6Set up the OMV 6 NAS software program.
wget -O - https://uncooked.githubusercontent.com/OpenMediaVault-Plugin-Builders/installScript/grasp/set up | sudo bash
It will take about 20 minutes and the system will re-boot when performed. When it has re-boot login the online GUI with the username: “admin” and password: “openmediavault”. Make sure you change the default password.
Setup OMV NormalWidgets will be added to the house display screen dashboard by deciding on the individual within the high proper nook after which the dashboard.
It’s good to work by every of the menu gadgets on the sidebar. If you’d like e-mail notifications, add particulars within the Notifications/Settings. It will trigger an e-mail to be despatched on occasions.
OMV intercepts the shutdown button, so within the Energy Administration / Setting each actions should be set to energy off.
OMV Energy Administration Settings
A very highly effective characteristic of OMV is the plug-ins that enable the system to be prolonged with new options. Some fascinating and helpful plug-ins are highlighted.
- apttool: Wanted for NASsie to load the hddtemp utility that it makes use of.
- borgbackup: Highly effective versioning backup device.
- clamav: Antivirus, cautious it appears to make use of numerous CPU reminiscence.
- compose: Used to put in Docker purposes, like Plex.
- filebrowser: Net interface to the shared file system.
- flashmemory: Put in by default on Raspberry Pi, strikes some information to RAM.
- lvm2: Linux Quantity Supervisor 2, required for filesystem setup.
- mergerfs: Merger File System, required for filesystem setup.
- omvextrasorg: Put in by default for additional packages.
- photoprism: Picture administration bundle.
- resetperms: Helpful to see which purposes are utilizing shared folders.
- symlinks: Helpful for creating shortcuts to generally used directories.
To make use of the NASsie options the place a second SSD & HDD will be added and have a typical home windows shared listing, a configuration as present under is required. This configuration is required if the NASsie GUI program is used.
As a way to implement this you begin from the underside and work up. Begin with LVM by defining the Bodily Quantity with the drives in them, then add the Quantity Teams and at last the Logical Quantity.
When that is performed set up the file system after which create the mergerfs to mix the two filesystems. Create a shared folder for the mixed file system after which outline an SMB window share utilizing the Providers menu.
Setup OMV NASsieThe hddtemp utility must be loaded utilizing apt-get as a result of the NASsie program makes use of it to get the temperature of the drivers.
The NASsie utility that drives the show must be scheduled to run each time the system reboots.
Solely the left button is at the moment used with the consumer interface show screens. Press the left button to cycle by the screens (splash display screen, standing display screen and temperature display screen). The display screen will flip off after 5 minutes, simply press any button to show is again on.
ConclusionTake pleasure in increasing and utilizing your NASsie file service. It appears to be a pleasant quick dependable system and I discovered it an excellent improve for my previous QNAP servers.