Hello All,
I used the following Youtube video for instructions. Here is the link for you to look at
https://www.youtube.com/watch?v=PpH6JeLk6uA&t=165s
Here are the steps I followed (below)
Raspberry Pi Update
sudo apt-get update
sudo apt-get dist-upgrade
Samba Install
sudo apt-get install samba samba-common-bin
NTFS Setup
sudo apt-get install ntfs-3g
Find Hard Drive UUID
sudo blkid
Hard Drive Setup
sudo nano -Bw /etc/fstab
Hard Drive Mount
UUID= 105060CD5060BB5C /mnt/USB1 auto defaults,user,nofail 0 2
UUID= 7A22384F2238131D /mnt/USB2 auto defaults,user,nofail 0 2
Samba Setup
sudo nano /etc/samba/smb.conf
[Storage2]
comment = Storage2
public = yes
writeable = yes
browsable = yes
path = /mnt/USB1/Storage2
create mask = 0777
directory mask = 0777
guest ok = yes
only guest = no
[Stuff USB1]
comment = Stuff USB1
public = yes
writeable = yes
browsable = yes
path = /mnt/USB1/
create mask = 0777
directory mask = 0777
guest ok = yes
only guest = no
Next, add this:
[Storage1]
comment = Storage1
public = yes
writeable = yes
browsable = yes
path = /mnt/USB2/Storage1
create mask = 0777
directory mask = 0777
guest ok = yes
only guest = no
[Stuff USB2]
comment = Stuff USB2
public = yes
writeable = yes
browsable = yes
path = /mnt/USB2/
create mask = 0777
directory mask = 0777
guest ok = yes
only guest = no
lsblk produces the following (showing the mounted drives)
sda 8:0 0 18.2T 0 disk
└─sda1 8:1 0 18.2T 0 part /media/kdrummernas/18TB_storage
sdb 8:16 0 14.6T 0 disk
└─sdb1 8:17 0 14.6T 0 part /media/kdrummernas/14TB_storage
nvme0n1 259:0 0 931.5G 0 disk
├─nvme0n1p1 259:1 0 512M 0 part /boot/firmware
└─nvme0n1p2 259:2 0 931G 0 part /
The attempt to map drives:
On my PC (using the Run command) I type the IP address of the Raspberry PI (\\192.168.1.25\) and click Browse
I see the drives:
However, when I attempt to open them I get the following
On my PC (using the Run command) when I select them here I get the same Network error
Selecting Storage1, Storage2, Stuff USB1 or Stuff USB2
If I try to map a drive in Windows Explorer
I click Browse and get this:
When I click any of them, I get the same Network Error
I am ultimately trying to use my two external HDs connected to a Raspberry Pi 5 via Samba.
Thanks in advance for any assistance!!!
Kevin
I used the following Youtube video for instructions. Here is the link for you to look at
https://www.youtube.com/watch?v=PpH6JeLk6uA&t=165s
Here are the steps I followed (below)
Raspberry Pi Update
sudo apt-get update
sudo apt-get dist-upgrade
Samba Install
sudo apt-get install samba samba-common-bin
NTFS Setup
sudo apt-get install ntfs-3g
Find Hard Drive UUID
sudo blkid
Hard Drive Setup
sudo nano -Bw /etc/fstab
Hard Drive Mount
UUID= 105060CD5060BB5C /mnt/USB1 auto defaults,user,nofail 0 2
UUID= 7A22384F2238131D /mnt/USB2 auto defaults,user,nofail 0 2
Samba Setup
sudo nano /etc/samba/smb.conf
[Storage2]
comment = Storage2
public = yes
writeable = yes
browsable = yes
path = /mnt/USB1/Storage2
create mask = 0777
directory mask = 0777
guest ok = yes
only guest = no
[Stuff USB1]
comment = Stuff USB1
public = yes
writeable = yes
browsable = yes
path = /mnt/USB1/
create mask = 0777
directory mask = 0777
guest ok = yes
only guest = no
Next, add this:
[Storage1]
comment = Storage1
public = yes
writeable = yes
browsable = yes
path = /mnt/USB2/Storage1
create mask = 0777
directory mask = 0777
guest ok = yes
only guest = no
[Stuff USB2]
comment = Stuff USB2
public = yes
writeable = yes
browsable = yes
path = /mnt/USB2/
create mask = 0777
directory mask = 0777
guest ok = yes
only guest = no
lsblk produces the following (showing the mounted drives)
sda 8:0 0 18.2T 0 disk
└─sda1 8:1 0 18.2T 0 part /media/kdrummernas/18TB_storage
sdb 8:16 0 14.6T 0 disk
└─sdb1 8:17 0 14.6T 0 part /media/kdrummernas/14TB_storage
nvme0n1 259:0 0 931.5G 0 disk
├─nvme0n1p1 259:1 0 512M 0 part /boot/firmware
└─nvme0n1p2 259:2 0 931G 0 part /
The attempt to map drives:
On my PC (using the Run command) I type the IP address of the Raspberry PI (\\192.168.1.25\) and click Browse
I see the drives:
However, when I attempt to open them I get the following
On my PC (using the Run command) when I select them here I get the same Network error
Selecting Storage1, Storage2, Stuff USB1 or Stuff USB2
If I try to map a drive in Windows Explorer
I click Browse and get this:
When I click any of them, I get the same Network Error
I am ultimately trying to use my two external HDs connected to a Raspberry Pi 5 via Samba.
Thanks in advance for any assistance!!!
Kevin
Statistics: Posted by kdrummer — Sun Nov 17, 2024 6:03 am — Replies 0 — Views 45