Re: Mounting CIFS shares on C8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Apr 03, 2020 at 04:00:42PM +0200, Patrick DERWAEL wrote:
> Hi all,
> 
<snip>
> 
> These are my current fstab entries on the C7 box
> 
> //192.168.1.200/mp3 /home/plex/Musique cifs
> user=plex,pass=plex,ro,auto,vers=3.0
> //192.168.1.200/videos /home/plex/Vidéos cifs
> user=plex,pass=plex,ro,auto,vers=3.0
> 
> 
> On my C8:
> 
> [root@plexvm etc]# cat fstab
> 
<snip>
> /dev/mapper/cl_plexvm-root /                       xfs     defaults
>  0 0
> UUID=f7c4e0e2-703e-4e61-8d7a-0aa34f836b02 /boot                   ext4
>  defaults        1 2
> /dev/mapper/cl_plexvm-swap swap                    swap    defaults
>  0 0
> //192.168.1.200/mp3     /home/plex/Musique      cifs
>  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> //192.168.1.200/videos  /home/plex/Vidéos       cifs
>  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> //192.168.1.200/series  /home/plex/Séries       cifs
>  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> [root@plexvm etc]# mount -a
> mount error(2): No such file or directory
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> mount error(2): No such file or directory
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> mount error(2): No such file or directory
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> [root@plexvm etc]#
> 
> 
> 
> Any pointer would be MUCH appreciated!
> 
> Thanks

I don't know the answer, but a thought or three:

1. the entries for the cifs mounts don't have the last two fields specified. I dunno if they're absolutely required, so it may not mean anything.
2. you might want to experiment with the smbclient tool to see if you can
learn anything from its responses when trying to access the remote.
3. also verify that seliinux is not blocking the access.. I've had at
least one case in which I spent hours banging my head, only to discover
it was selinux and not anything in Samba.

Good luck!

Fred

-- 
-------------------------------------------------------------------------------
 .----    Fred Smith   /              
( /__  ,__.   __   __ /  __   : /     
 /    /  /   /__) /  /  /__) .+'           Home: fredex@xxxxxxxxxxxxxxxxxxxxxx 
/    /  (__ (___ (__(_ (___ / :__                                 781-438-5471 
-------------------------------- Jude 1:24,25 ---------------------------------
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux