Page 1 of 1

[SOLVED]M9 mount.cifs not found

PostPosted: Sep 8th, '23, 15:33
by mackowiakp
M9 fresh installation.
Samba client and server installed via MCC (file sharing).
After installation there is no mount.cifs executable.

Code: Select all
[root@piotr-l samba]# mount
mount             mount.fuse        mount.lowntfs-3g  mount.ntfs        mountpoint
mount.davfs       mount.fuse3       mount.nfs         mount.ntfs-3g     mount.sshfs
mount.davfs2      mount.fuse.sshfs  mount.nfs4        mount.ntfs-fuse   mountstats


So I try mount share from QNAP NAS via mount only and entry in fstab:

Code: Select all
fstab entry:

//192.168.0.7/home/Piotr-L_ISO /home/maciek/IMG cifs rw,user,noauto,vers=3.0,credentials=/etc/samba/auth.192.168.0.7.media 0 0

mount command output:

[root@piotr-l samba]# mount //192.168.0.7/home/Piotr-L_ISO
mount: /home/maciek/IMG: nie można zamontować //192.168.0.7/home/Piotr-L_ISO tylko do odczytu.
       dmesg(1) może podać więcej informacji o nieudanym wywołaniu systemowym mount.
translation: can not mount share as read only (!?)
more info dmesq

dmesq output:

[ 6787.149220] CIFS: Attempting to mount //192.168.0.7/home/Piotr-L_ISO
[ 6787.246202] CIFS: VFS: cifs_mount failed w/return code = -13


Whats wrong? It worked for me in M8 with the same NAS share config.

Re: M9 mount.cifs not found

PostPosted: Sep 8th, '23, 15:46
by doktor5000
mackowiakp wrote:After installation there is no mount.cifs executable.

That's your problem - if there's not, then mount cannot delegate to the actual binary used for mounting.

You need to install cifs-utils - see https://bugs.mageia.org/show_bug.cgi?id=28606

Re: M9 mount.cifs not found

PostPosted: Sep 8th, '23, 15:49
by mackowiakp
THX solved!