One thing isn't clear to me though... Are you trying to mount via nfs, cifs, or what? If you just asked why your nfs mount or cifs mount isn't working, I might have some thoughts. But I don't understand what you are doing from the config file fragments you posted. The syntax you are using is new and mysterious to me so I don't know how to help you. Normally I'd say start with the basics. Is the appropriate port open on the server? Can you access it from the client? Use nmap to list the ports open on the server. # nmap 192.168.1.156 For nfs, you should see port 2049 listed. For cifs,445. PS: I am not sure but I think the way you were doing it is cifs. In other words, you're talking to a samba server. Or Windows. But as I said, that format you are using is unfamiliar to me. On 9/13/23 08:40, Steve Matzura wrote:
I tried it with just the IP address, no double slashes. No good.
On 9/12/2023 6:08 PM, John G. Heim wrote:
What protocol does it mean if you start the device name with two slashes? That's cifs, isnt it? I don't think installing nfs utils is going to help.
On 9/11/23 14:19, Steve Matzura wrote:
Hi, Andrew:
Good advice. But so far, I can't get the old commands to work. What's changed? I've tried installing cifs-utils and nfs-server-utils, but before I go editing the /etc/exports file and building that into nfs-server-utils' configs, I thought I'd better ask in here to get it right at least the second time, not the twenty-second.
On 9/11/2023 1:47 PM, Andrew Hodgson wrote:
Hi.
I have this working using Cifs-Utils on Ubuntu 22.04. I always get the syntax correct using the mount command first, then happy with the results move it to fstab.
Andrew.
-----Original Message----- From: Steve Matzura<sm@noisynotes.com> Sent: Monday, September 11, 2023 5:55 PM To:blind-sysadmins@lists.hodgsonfamily.org Subject: [Blind-sysadmins] Mounting a Networked Drive on Debin 11 or 12
I'm just about to upgrade to Debian 12, but if I could get this answered for 11, especially if it's the same on 12, I'd be happy.
I used to do this on Debian 8, but apparently things have changed. No surprise there, but I can't figure out from research exactly what the change is.
The following line in /etc/fstab worked on Debian 8:
//192.168.1.156/BigVol1 /mnt/bigvol1 cifs _netdev,username=<the-username>,password=<the-password>,ro 0 0
After a reboot, the directory /mnt/bigvol1 is there, but not the resource to which it points. Should I be using cifs-utils and using its fstab syntax?
Blind-sysadmins mailing list -- blind-sysadmins@lists.hodgsonfamily.org To unsubscribe send an email to blind-sysadmins-leave@lists.hodgsonfamily.org