[CentOS] Mounting CIFS shares on C8

Sat Apr 4 08:19:56 UTC 2020
Patrick DERWAEL <patrick at derwael.be>

Hi Matt,

Yes all the directories do exist, are empty and (as far as I know) have the
proper permissions

[root at plexvm ~]# ls -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 at 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 at plexvm ~]#

Le ven. 3 avr. 2020 à 23:26, Phelps, Matthew <mphelps at cfa.harvard.edu> a
écrit :

> On Fri, Apr 3, 2020 at 4:09 PM Patrick DERWAEL <patrick at derwael.be> wrote:
>
> > Exactly the same... 😤😤😤
> >
> >
> > [root at plexvm ~]# mount -t cifs //192.168.1.200/mp3 /home/plex/Musique
> > --verbose -o username=plex,password=plex,domain=DERWAEL,ro,auto,vers=3.0
> > mount.cifs kernel mount options:
> >
> >
> ip=192.168.1.200,unc=\\192.168.1.200\mp3,vers=3.0,user=plex,domain=DERWAEL,pass=********
> > mount error(2): No such file or directory
> > Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> > [root at plexvm ~]#
> >
>
> Just checking... do the target directories exist? I.e. "/home/plex/Musique"
> ?
>
>
>
> > Le ven. 3 avr. 2020 à 19:15, Simon Matter via CentOS <centos at centos.org>
> a
> > écrit :
> >
> > > > That was my initial setup before trying the abbreviations, but
> anyway:
> > > >
> > > > [root at plexvm ~]# nano /etc/fstab
> > > > [root at plexvm ~]# cat /etc/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
> > > >  username=plex,password=plex,domain=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 at plexvm ~]# systemctl daemon-reload
> > > > [root at plexvm ~]# mount -a
> > > > mount error(2): No such file or directory
> > > > Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> > > > [root at plexvm ~]#
> > > >
> > >
> > > What happens when you run
> > >
> > > mount -t cifs //192.168.1.200/mp3 /home/plex/Musique --verbose \
> > >   -o username=plex,password=plex,domain=DERWAEL,ro,auto,vers=3.0
> > >
> > > Regards,
> > > Simon
> > >
> > > _______________________________________________
> > > CentOS mailing list
> > > CentOS at centos.org
> > > https://lists.centos.org/mailman/listinfo/centos
> > >
> >
> >
> > --
> >
> > Patrick Derwael
> > Rue de la fontaine, 3
> > 4210 Burdinne
> > Tél:+32.(0)479.80.50.79
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> >
>
>
> --
>
> *Matt Phelps*
>
> *Information Technology Specialist, Systems Administrator*
>
> (Computation Facility, Smithsonian Astrophysical Observatory)
>
> Center for Astrophysics | Harvard & Smithsonian
>
>
> 60 Garden Street | MS 39 | Cambridge, MA 02138
> email: mphelps at cfa.harvard.edu
>
>
> cfa.harvard.edu | Facebook <http://cfa.harvard.edu/facebook> | Twitter
> <http://cfa.harvard.edu/twitter> | YouTube <http://cfa.harvard.edu/youtube
> >
> | Newsletter <http://cfa.harvard.edu/newsletter>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 

Patrick Derwael
Rue de la fontaine, 3
4210 Burdinne
Tél:+32.(0)479.80.50.79