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!
Thanks
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
Le ven. 3 avr. 2020 à 16:13, Fred Smith fredex@fcshome.stoneham.ma.us a écrit :
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:
- 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@fcshome.stoneham.ma.us / / (__ (___ (__(_ (___ / :__ 781-438-5471
-------------------------------- Jude 1:24,25
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Hi,
starting with the easy bit: (3) selinux is disabled, and F/W is (for the time being) stopped as well
(2) smbclient can access my cifs shares... no sweat... [root@plexvm ~]# smbclient //192.168.0.200/mp3/ Enter SAMBA\root's password: Try "help" to get a list of possible commands. smb: > ls . DA 0 Sun Mar 29 15:21:54 2020 .. DA 0 Thu Mar 26 11:28:36 2020 T DA 0 Thu Jun 20 09:53:40 2019 W DA 0 Thu Dec 19 11:28:50 2019 <snip> F DA 0 Mon Mar 9 14:08:49 2020 N DA 0 Thu Mar 12 09:54:55 2020
11523186296 blocks of size 1024. 3135971700 blocks available smb: >
as for (1), if I understand well, the 5th field is optional and it is used to determine if the fs needs to be dumped The 6th field is also optional and controls the fsck. As the fs is remote, I don't want my C8 box to fsck it That should be ok then...
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
Le ven. 3 avr. 2020 à 17:02, Simon Matter via CentOS centos@centos.org 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@centos.org 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 ~]#
On Fri, Apr 03, 2020 at 04:00:42PM +0200, Patrick DERWAEL wrote:
//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
Try removing non-ascii characters from your mountpoints and try again.
Le ven. 3 avr. 2020 à 17:54, Jonathan Billings billings@negate.org a écrit :
On Fri, Apr 03, 2020 at 04:00:42PM +0200, Patrick DERWAEL wrote:
//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
Try removing non-ascii characters from your mountpoints and try again.
-- Jonathan Billings billings@negate.org _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
I have commented out the 2 mounts with non-ascii... that didn't help...
[root@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 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 ~]# mount -a mount error(2): No such file or directory Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) [root@plexvm ~]#
On Fri, 3 Apr 2020 18:01:27 +0200 Patrick DERWAEL wrote:
# # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file.
I assume that you have done this part too?
Done that and rebooted as well....
-------------------------------- Patrick Derwael Rue de la Fontaine 3 4210 Burdinne +32.(0)479.80.50.79
Le ven. 3 avr. 2020 à 18:11, Frank Cox theatre@sasktel.net a écrit :
On Fri, 3 Apr 2020 18:01:27 +0200 Patrick DERWAEL wrote:
# # After editing this file, run 'systemctl daemon-reload' to update
systemd
# units generated from this file.
I assume that you have done this part too?
-- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Am 03.04.20 um 18:01 schrieb Patrick DERWAEL:
Le ven. 3 avr. 2020 à 17:54, Jonathan Billings billings@negate.org a écrit :
On Fri, Apr 03, 2020 at 04:00:42PM +0200, Patrick DERWAEL wrote:
//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
Try removing non-ascii characters from your mountpoints and try again.
-- Jonathan Billings billings@negate.org _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
I have commented out the 2 mounts with non-ascii... that didn't help...
[root@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 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 ~]# mount -a mount error(2): No such file or directory Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) [root@plexvm ~]#
username=value password=value domain=value
?
-- Leon
User & pass are present According to the man pages, workgroup is supported I have changed it to domain, but that didn't change a thing
[root@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 user=plex,pass=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@plexvm ~]# systemctl daemon-reload [root@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@plexvm ~]#
Le ven. 3 avr. 2020 à 18:23, Leon Fauster via CentOS centos@centos.org a écrit :
Am 03.04.20 um 18:01 schrieb Patrick DERWAEL:
Le ven. 3 avr. 2020 à 17:54, Jonathan Billings billings@negate.org a écrit :
On Fri, Apr 03, 2020 at 04:00:42PM +0200, Patrick DERWAEL wrote:
//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
Try removing non-ascii characters from your mountpoints and try again.
-- Jonathan Billings billings@negate.org _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
I have commented out the 2 mounts with non-ascii... that didn't help...
[root@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 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 ~]# mount -a mount error(2): No such file or directory Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) [root@plexvm ~]#
username=value password=value domain=value
?
-- Leon _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On 4/3/20 12:48 PM, Patrick DERWAEL wrote:
User & pass are present According to the man pages, workgroup is supported I have changed it to domain, but that didn't change a thing
[root@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 user=plex,pass=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@plexvm ~]# systemctl daemon-reload [root@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@plexvm ~]#
Le ven. 3 avr. 2020 à 18:23, Leon Fauster via CentOS centos@centos.org a écrit :
Am 03.04.20 um 18:01 schrieb Patrick DERWAEL:
Le ven. 3 avr. 2020 à 17:54, Jonathan Billings billings@negate.org a écrit :
On Fri, Apr 03, 2020 at 04:00:42PM +0200, Patrick DERWAEL wrote:
//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
Try removing non-ascii characters from your mountpoints and try again.
-- Jonathan Billings billings@negate.org _______________________________________________ CentOS mailing list CentOS@centos.org https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.cent...
I have commented out the 2 mounts with non-ascii... that didn't help...
[root@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 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 ~]# mount -a mount error(2): No such file or directory Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) [root@plexvm ~]#
username=value password=value domain=value
?
--
Instead of user=, try username=. mount.cifs(8) states:
While some versions of the cifs kernel module accept user= as an abbreviation for this option, its use can confuse the standard mount program into thinking that this is a non-superuser mount. It is therefore recommended to use the full username= option name.
That was my initial setup before trying the abbreviations, but anyway:
[root@plexvm ~]# nano /etc/fstab [root@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@plexvm ~]# systemctl daemon-reload [root@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@plexvm ~]#
Le ven. 3 avr. 2020 à 18:55, Chris Schanzle chris.schanzle@nist.gov a écrit :
On 4/3/20 12:48 PM, Patrick DERWAEL wrote:
User & pass are present According to the man pages, workgroup is supported I have changed it to domain, but that didn't change a thing
[root@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 user=plex,pass=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@plexvm ~]# systemctl daemon-reload [root@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@plexvm ~]#
Le ven. 3 avr. 2020 à 18:23, Leon Fauster via CentOS centos@centos.org
a
écrit :
Am 03.04.20 um 18:01 schrieb Patrick DERWAEL:
Le ven. 3 avr. 2020 à 17:54, Jonathan Billings billings@negate.org a écrit :
On Fri, Apr 03, 2020 at 04:00:42PM +0200, Patrick DERWAEL wrote:
//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
Try removing non-ascii characters from your mountpoints and try again.
-- Jonathan Billings billings@negate.org _______________________________________________ CentOS mailing list CentOS@centos.org
https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.cent...
I have commented out the 2 mounts with non-ascii... that didn't help...
[root@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 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 ~]# mount -a mount error(2): No such file or directory Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) [root@plexvm ~]#
username=value password=value domain=value
?
--
Instead of user=, try username=. mount.cifs(8) states:
While some versions of the cifs kernel module accept user= as an
abbreviation for this option, its use can confuse the standard mount program into thinking that this is a non-superuser mount. It is therefore recommended to use the full username= option name.
That was my initial setup before trying the abbreviations, but anyway:
[root@plexvm ~]# nano /etc/fstab [root@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@plexvm ~]# systemctl daemon-reload [root@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@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