Okay this video has a part with me setting up the mounts like /mnt/dataAA to be automatically mounted. That script below.
- Install VM and set proxmox flags
- Passthru dedicated cards
Mounting Remote NFS Shares with a systemd service in Ubuntu 22
sudo apt install nfs-common
#create a script to mount nfs shares
sudo mkdir -v scripts
cd scripts
sudo vim mountnfs.sh
######################
#!/usr/bin/env bash
mount -t nfs 192.168.1.62:/mnt/dataAA/dataAA /mnt/dataAA
mount -t nfs 192.168.1.62:/mnt/dataAB/dataAB /mnt/dataAB
mount -t nfs 192.168.1.62:/mnt/dataAC/dataAC /mnt/dataAC
mount -t nfs 192.168.1.62:/mnt/dataAD/dataAD /mnt/dataAD
mount -t nfs 192.168.1.62:/mnt/dataAE/dataAE /mnt/dataAE
######################
sudo chmod 0770 mountnfs.sh
sudo ./mountnfs.sh
df -h
sudo umount /mnt/*
#create a systemd service to run the script to mount nfs shares
sudo vim /lib/systemd/system/mountnfs.service
######################
[Unit]
Description=Mounting our NFS Shares
After=multi-user.target
[Service]
ExecStart=/usr/bin/bash /home/dsp/scripts/mountnfs.sh
Type=simple
[Install]
WantedBy=multi-user.target
######################
sudo systemctl daemon-reload
sudo systemctl enable mountnfs.service
sudo systemctl status mountnfs.service
#reboot to test it all, we done with systems stuff
- Mount remote storage arrays
- Config and run a backup
Insert Video Snip
Bookmark and refer back to https://digitalspaceport.com/chia. These pages will be updated with new information as it is released to keep you Chia farming. Subscribe to the newsletter in the sidebar to get automatic notification when we release new articles.