Network Attached Storage
I took the risk and gave the Ugreen NASync DXP 4800 Plus a chance on Kickstarter. The software still needs much work, but I’ve been positively surprised with the quality of the hardware and found it quite easy to upgrade.
Things I store
- personal / family photos & videos
- important documents
- music (stuff that isn’t available on Spotify)
- favorite movies
Samba share
With a freshly formatted drive plugged into the Raspberry Pi:
sudo mkfs.ext4 /dev/sda1
(sudo fdisk -l
to check of sda1 is correct location)- format partition:
sudo mkfs.ext4 /dev/sda1
- label partition:
sudo e2label /dev/sda1 LABEL
sudo chown -R pi /media/<path to partition>
- give permission to modify drive- Add samba:
sudo apt update
sudo apt upgrade
sudo apt install samba samba-common
- say yes to ‘use WINS settings from DHCP’, then
sudo nano /etc/samba/smb.conf
[SHARE_NAME]
path = /media/PATH_TO_DRIVE
writeable = yes
create mask = 0775
directory mask = 0775
public=no
- add samba user
sudo smbpasswd -a pi