[Solved] Samba mount errors !

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
mgherghina
Posts: 6
Joined: Thu Jun 23, 2016 8:29 am

[Solved] Samba mount errors !

Post by mgherghina »

Hi all, im having the toughest time mounting my samba share that originates from my merlin modded Asus Ac68U (routers address is 192.168.1.1). My PC finds the shares fine, and without any issue. But once i attempt the same mount in the Pi it fails. I am currently on v6.10 and I am using the drive-manager to add a network drive, but I keep getting this error :

Can anyone help me ?

│ DietPi-Drive_Manager: mount -t cifs -o username=(edited_out),password=(edited_out)
│ //192.168.1.1/Media /mnt/samba
│ - Exit code: 32
│ - DietPi version: v6.10 | HW_MODEL:3 | HW_ARCH:2 | DISTRO:4
│ - Image creator: DietPi Core Team
│ - Pre-image: Raspbian Lite

│ Log file contents:
│ mount error(22): Invalid argument
│ Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
subaquatic
Posts: 12
Joined: Sat Nov 28, 2015 7:25 pm

Re: Samba mount errors !

Post by subaquatic »

Same problem using a Windows share

Code: Select all

┌───────────────────────────────┤ DietPi Error Handler: ├────────────────────────────────┐
  │ DietPi-Drive_Manager: mount -t cifs -o
  │ username=myusername,password=mypassword //192.168.1.23/D/Videos /mnt/samba
  │  - Exit code: 32
  │  - DietPi version: v6.11 | HW_MODEL:3 | HW_ARCH:2 | DISTRO:4
  │  - Image creator: n/a
  │  - Pre-image: n/a
  │
  │ Log file contents:
  │ mount error: cifs filesystem not supported by the system
  │ mount error(19): No such device
  │ Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
subaquatic
Posts: 12
Joined: Sat Nov 28, 2015 7:25 pm

Re: Samba mount errors !

Post by subaquatic »

This was fixed by uninstalling and reinstalling the samba client.
Post Reply