Re: Mounting CIFS shares on C8

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



Le ven. 3 avr. 2020 à 17:02, Simon Matter via CentOS <centos@xxxxxxxxxx> a
écrit :

> > Hi all,
> >
> > I'm tearing my hair off trying to understand the difference between C7 &
> > C8
> > for mounting a cifs FS with fstab
> >
> > I'm building a Plex media server on C8 and duplicated the fstab entries
> > over from my current C7 installation
> > My data (music & movies) are on CIFS shares on a Synology NAS.
> > The packages cifs-utils samba-client samba-common are installed, up to
> > date
> > etc...
> >
> > 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
> >
> > #
> > # /etc/fstab
> > # Created by anaconda on Fri Apr  3 14:02:23 2020
> > #
> > # Accessible filesystems, by reference, are maintained under
> '/dev/disk/'.
> > # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more
> > info.
> > #
> > # After editing this file, run 'systemctl daemon-reload' to update
> systemd
> > # units generated from this file.
> > #
> > /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!
>
> Do the directories /home/plex/Musique, /home/plex/Vidéos and
> /home/plex/Séries really exist on the C8 host?
>
> Regards,
> Simon
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos
>

Yes, they do exist and the directories are empty

[root@plexvm ~]# l /home/plex
total 0
drwxrwx--- 2 plex plex 6 Apr  3 15:41 Music
drwxrwx--- 2 plex plex 6 Apr  3 15:41 Musique
drwxrwx--- 2 plex plex 6 Apr  3 15:41 Séries
drwxrwx--- 2 plex plex 6 Apr  3 15:41 Vidéos
[root@plexvm ~]# find /home/plex -ls
 68073798      0 drwxrwx---   6  plex     plex           64 Apr  3 15:41
/home/plex
 33674251      0 drwxrwx---   2  plex     plex            6 Apr  3 15:41
/home/plex/Musique
 68166320      0 drwxrwx---   2  plex     plex            6 Apr  3 15:41
/home/plex/Vid\303\251os
101999836      0 drwxrwx---   2  plex     plex            6 Apr  3 15:41
/home/plex/S\303\251ries
   992376      0 drwxrwx---   2  plex     plex            6 Apr  3 15:41
/home/plex/Music
[root@plexvm ~]#
-- 

Patrick Derwael
Rue de la fontaine, 3
4210 Burdinne
Tél:+32.(0)479.80.50.79
_______________________________________________
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