Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4801

Troubleshooting • Pi 5 not accessible by other Pi’s Mount

$
0
0
Hi Folks!

Need some assistance on getting my Raspberry 5 to talk to to my other Raspberry Pi’s.

Raspberry Pi 5 with a 1 TB NVMe (FAST!! – sorry: distracted!), running Bookworm.
The directory to be accessed is /Share_Videos – in root because I read something changed and remote units are no longer able to access the home directory. (Yup: originally tried remotely accessing /home/barry/Videos and found out why that wasn’t working.)

I created a symlink: ln -s /home/barry/Videos /Share_Videos
That works locally. One thing potentially strange is:
ls -halt /Share_Videos
lrwxrwxrwx 1 barry barry 18 Sep 9 09:41 /Share_Videos -> /home/barry/Videos
But Nautilus (? - the graphical display of files) shows properties as root:root anyone anyone anyone.

Tried chown but that didn’t correct: still root. Yes, sudo’d.
barry@raspberrypi:~ $ sudo chown -R barry:barry /Share_Videos
barry@raspberrypi:~ $ ls -halt /Share_Videos
lrwxrwxrwx 1 barry barry 18 Sep 9 09:41 /Share_Videos -> /home/barry/Videos
GUI (Nautilus?) showing Properties as root:root


The remote Pi I’m testing is a Raspberry 4B running Buster. (I need to keep the OS because of running another utility.) On that unit is /mnt/Remote_Videos

/etc/fstab is:
//192.168.4.165/Share_Videos /mnt/Remote_Videos auto user=barry,password=xxxxxxxxx,noauto,x-systemd.automount,_netdev 0 0

‘.165’ is the RPi5. And yes, aware of the potential security risk of having the password out in the open but I’m the only one who knows how to get to command line.

The error message when trying to mount /mnt/Remote_Videos is “mount error(2): No such file or directory” – it exists! Honest! I can ssh in and see the files on the remote (RPi5) machine. GUI “copy Path(s)” option returns: /Share_Videos

dmesg is:
CIFS: Attempting to mount //192.168.4.165/Share_Videos
CIFS: VFS: BAD_NETWORK_NAME: \\192.168.4.165\Share_Videos
CIFS: VFS: cifs_mount failed w/return code = -2

AFAICT the 2 error means the remote site/directory doesn’t exist, but it does, so I’m guessing a permissions issue on the remote/host/RPi5, which I tried to fix with chown….

So, help appreciated. Sorry about the lengthy post.

Barry

Statistics: Posted by Barry_IA — Tue Sep 10, 2024 12:47 am



Viewing all articles
Browse latest Browse all 4801

Trending Articles