[SOLVED]M9 mount.cifs not found

[SOLVED]M9 mount.cifs not found

Postby mackowiakp » Sep 8th, '23, 15:33

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.
Last edited by mackowiakp on Sep 8th, '23, 15:50, edited 2 times in total.
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: M9 mount.cifs not found

Postby doktor5000 » Sep 8th, '23, 15:46

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: M9 mount.cifs not found

Postby mackowiakp » Sep 8th, '23, 15:49

THX solved!
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest

cron