[CentOS] Mounting CIFS shares on C8

Sat Apr 4 12:03:16 UTC 2020
Patrick DERWAEL <patrick at derwael.be>

Ok guys, issue solved.
This was a RTFM issue 😖😖😖😖

I have scratched my VM and restarted the installation. When I came to the
fstab update, I noticed a mistake in the NAS IP... so obviously, cifs could
not find my shares...
I'm pretty sure this is the result of my frustrated house elf which has
deliberately changed the IP in my instructions...

Anyway, thanks a lot for your support. This was greatly appreciated! (and
beware the angry house elves)

Le sam. 4 avr. 2020 à 11:17, Simon Matter <simon.matter at invoca.ch> a écrit :

> Then, what I'd try is
>
> 1) With an other directory like /mnt/xxx just to make sure it's not
> something with /home that it doesn't like.
>
> 2) See what it's doing by running it with strace -f mount.....
>
> Regards,
> Simon
>
> > 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 ~]#
> >
> > 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
> >
>
>
>

-- 

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