I am now trying to set the 250GB USB drive up as a NAS drive so it can
be seen on the network (Windows 10, Android). Everything works except
that I cannot see the USB drive in LMS->Media Folders where I just see
/media/usb but not /media/usb/250GB_ext4 as expected. It is accessible
from the Pi's File Manager, Windows 10 and Android, but not LMS which
seems very odd! The process I went through was:

To setup the NAS drive

umount /dev/sda1
sudo mkfs -t ext4 /dev/sda1
sudo e2label /dev/sda1 250GB_ext4
sudo apt update
sudo apt upgrade
sudo apt install samba samba-common
sudo nano /etc/samba/smb.conf

[250GB_ext4]
path = /media/pi/250GB_ext4/
writeable = yes
create mask = 0775
directory mask = 0775
public=no

sudo chmod 777 /media/pi/250GB_ext4
sudo smbpasswd -a pi
sudo systemctl restart smbd

The drive is now accessible from Windows 10, Android and the Pi.
However, in LMS I can see \media\usb but not 250GB_ext4.

I tried mounting the drive but it made no difference to LMS.
Get ID (ls -l /dev/disk/by-uuid)
sudo mkdir /media/usb
sudo chown -R pi:pi /media/usb
sudo mount /dev/sda1 /media/usb -o uid=pi,gid=pi

sudo nano /etc/fstab
UUID=c8d9ae87-87c1-4b12-8f85-52c87229b6a0 /media/usb ext4
auto,nofail,noatime,users,rw,uid=pi,gid=pi 0 0


Any ideas why everything can see the 250GB USB drive except LMS? I guess
some permission is wrong somewhere. I am going up quite a learning curve
with the Pi!



SB3 -> Quad 909 -> Quad Electrostatic speakers, Quad 405 -> TBI
subwoofer
3 x SB3s + SB Radio
Rotel RSP1068 surround processor, Quad 99 -> B&W surround
------------------------------------------------------------------------
rbl's Profile: http://forums.slimdevices.com/member.php?userid=4517
View this thread: http://forums.slimdevices.com/showthread.php?t=112025

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to