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
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