Hello, I’m running volumio3 on a CM4-based music streamer. It has an internal PCIe slot for an NVME drive. I have partitioned and mounted the NVME drive. I have also installed SAMBA to share the NVME with my Windows laptop via my network. The purpose is so that I can use my Windows laptop to view the NVME (1 TB size, formatted in ext4, volume label issd 3) and its contents and - most importantly - save new downloaded flac files from my Windows laptop to the NVME by just dragging and dropping them in Windows File Explorer. That works well.
However, while the volumio GUI shows the NVME drive and flac files, volumio does not seem to recognize them as music files (they show as files without any clip art). Also, volumio cannot play the flac files. Is my step in #6 incorrect and causing these problems? Any alternatives or ways to fix this? Thank you.
-
Create a mount point for the NVME: sudo mkdir /NVME
-
Edit fstab file and create a reference for the drive, using its UUID and the mount point: sudo nano /etc/fstab
-
Add new lines in fstab:
#storage
UUID=myuuidnumber /NVME ext4 defaults 0 0 -
Mount all drives: sudo mount -a
-
Change permissions for the NVME (777 just for proof of concept): sudo chmod -R 777 /NVME
-
Make a link for volumio: sudo ln -s /NVME /var/lib/mpd/music/NVME
-
Update mpc for volumio: mpc update
-
Update & install samba:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install samba samba-common-bin -
Edit smb.conf file: sudo nano /etc/samba/smb.conf
-
Add new lines in smb.conf:
[NVME]
comment = internal NVME drive
path = /NVME
writeable=Yes
browseable = yes
public=no
valid users = myusername -
Set up a user and password for samba share:
sudo useradd myusername
sudo smbpasswd -a myusername
sudo smbpasswd -e myusername -
restart samba: sudo systemctl restart smbd