0

Some recent RPI upgrade interfered with netbios names in fstab being recognized.

cat /etc/fstab
//Shiva/Shiva_D /media/Shiva_D   cifs _netdev,nofail,vers=2.0,credentials=/etc/samba/user,uid=1000,gid=1000,noexec  0 0
//Shiva/Shiva_E /media/Shiva_E   cifs _netdev,nofail,vers=2.0,credentials=/etc/samba/user,uid=1000,gid=1000,noexec  0 0

root@rpi4b:/etc# mount -a
mount error: could not resolve address for Shiva: Unknown error
mount error: could not resolve address for Shiva: Unknown error


apt-cache policy cifs-utils
cifs-utils:
  Installed: 2:6.8-2
  Candidate: 2:6.8-2
  Version table:
 *** 2:6.8-2 500
        500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
        100 /var/lib/dpkg/status

# cat /etc/os-release 
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

On an older Ubuntu VM this works fine.

cat /etc/fstab
//SHIVA/Shiva_D /media/Shiva_D   cifs credentials=/etc/samba/user,uid=1000,gid=1000,noexec  0 0
//SHIVA/Shiva_E /media/Shiva_E   cifs credentials=/etc/samba/user,uid=1000,gid=1000,noexec  0 0


root@ubuntu:/etc# mount -a
root@ubuntu:/etc# mount | grep SHIVA
//SHIVA/Shiva_E on /media/Shiva_E type cifs (rw,noexec)
//SHIVA/Shiva_D on /media/Shiva_D type cifs (rw,noexec)

$ apt-cache policy cifs-utils
cifs-utils:
  Installed: 2:6.0-1ubuntu2
  Candidate: 2:6.0-1ubuntu2
  Version table:
 *** 2:6.0-1ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

cat /etc/os-release 
NAME="Ubuntu"
VERSION="14.04.5 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.5 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

Does anybody know what happened and what can be done to re-establish prev. functionality?

Cheers, Gert

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.