--Apple-Mail=_566149EF-F5B3-49FD-9591-EC95826B83E5
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
Bonjour,
Visiblement à la lecture de la commande tu as fais une déclaration de ton montage dans le /etc/fstab pour indiquer les paramètres de montage. Regarde les paramètres que tu as indiqué.
Sinon, une bonne voie pour connaître ce qu’il est possible d’indiquer et tester si ça fonctionne c’est de lancer la commande « mount » directement et complètement en ligne de commande « mount -t cifs… » et voir, si ça a fonctionné, ce
que raconte le listage des montages.
Enfin, si c’est un montage de Linux à Linux, pourquoi passer par Samba ? Est-ce qu’un simple montage NFS ne serait pas plus simple et efficace ?
Le 3 oct. 2023 à 21:57, Frederic Zulian <fzulian@gmail.com> a écrit :
Bonjour,
J'ai deux répertoires sur un NAS Openmediavault
Ces 2 répertoires devraient se monter sur un PC client via son fstab. Seul 1 des 2 répertoires, se monte (NAS-lettres) mais pas (NAS-photos).
J'ai le message d'erreur suivant :
root@bureau:~# mount /home/fred/NAS-photos
mount: /home/fred/NAS-photos: impossible de monter //192.168.1.79/Photos-videos/ <http://192.168.1.79/Photos-videos/> en lecture seule.
Mais les droits sont identiques pour les 2 répertoires du NAS :
fred@NAS:/export$ ls -al
total 28
drwxrwsrwx 90 fred users 16384 1 oct. 17:53 Lettres
drwxrwsrwx 6 fred fred 4096 10 sept. 17:17 Photos-videos
fred@NAS:/export$
Extrait du fstab du PC client :
//192.168.1.79/Lettres/ <http://192.168.1.79/Lettres/> /home/fred/NAS-lettres cifs guest,uid=nobody,gid=nogroup,iocharset=utf8,file_mode=0777,dir_mode=0777,noperm 0 0
//192.168.1.79/Photos-videos/ <http://192.168.1.79/Photos-videos/> /home/fred/NAS-photos cifs guest,uid=nobody,gid=nogroup,iocharset=utf8,file_mode=0777,dir_mode=0777,noperm 0 0
#
Une idée ?
Frédéric ZULIAN
--
Pierre Malard
--Apple-Mail=_566149EF-F5B3-49FD-9591-EC95826B83E5
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=utf-8
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><span style="caret-color: rgb(0, 0, 0);">Bonjour,</span><div><span
style="caret-color: rgb(0, 0, 0);"><br></span></div><div><span style="caret-color: rgb(0, 0, 0);">Visiblement à la lecture de la commande tu as fais une déclaration de ton montage dans le /etc/fstab pour indiquer les paramètres de montage. Regarde les
paramètres que tu as indiqué.</span></div><div><span style="caret-color: rgb(0, 0, 0);"><br></span></div><div><span style="caret-color: rgb(0, 0, 0);">Sinon, une bonne voie pour connaître ce qu’il est possible d’indiquer et tester si ça
fonctionne c’est de lancer la commande « mount » directement et complètement en ligne de commande « mount -t cifs… » et voir, si ça a fonctionné, ce que raconte le listage des montages.</span></div><div><span style="caret-color:
rgb(0, 0, 0);"><br></span></div><div><span style="caret-color: rgb(0, 0, 0);">Enfin, si c’est un montage de Linux à Linux, pourquoi passer par Samba ? Est-ce qu’un simple montage NFS ne serait pas plus simple et efficace ?</span><br><br><div><br><
blockquote type="cite"><div>Le 3 oct. 2023 à 21:57, Frederic Zulian <
fzulian@gmail.com> a écrit :</div><br class="Apple-interchange-newline"><div><div dir="ltr"><div style="margin: 0px; text-indent: 0px; white-space: pre-wrap;">Bonjour, </div><
div style="margin: 0px; text-indent: 0px; white-space: pre-wrap;"><br></div><div style="margin: 0px; text-indent: 0px; white-space: pre-wrap;">J'ai deux répertoires sur un NAS Openmediavault</div><div style="margin: 0px; text-indent: 0px; white-space:
pre-wrap;"><br></div><div style="margin: 0px; text-indent: 0px; white-space: pre-wrap;">Ces 2 répertoires devraient se monter sur un PC client via son fstab.</div><div style="margin: 0px; text-indent: 0px; white-space: pre-wrap;">Seul 1 des 2 ré
pertoires, se monte (NAS-lettres) mais pas (NAS-photos).</div><div style="margin: 0px; text-indent: 0px; white-space: pre-wrap;"><br></div><div style="margin: 0px; text-indent: 0px; white-space: pre-wrap;">J'ai le message d'erreur suivant :</div><div
style="margin: 0px; text-indent: 0px; white-space: pre-wrap;">root@bureau:~# mount /home/fred/NAS-photos<br>mount: /home/fred/NAS-photos: impossible de monter //<a href="
http://192.168.1.79/Photos-videos/">192.168.1.79/Photos-videos/</a> en lecture seule.
</div><div style="margin: 0px; text-indent: 0px; white-space: pre-wrap;"><br></div><div style="margin: 0px; text-indent: 0px; white-space: pre-wrap;">Mais les droits sont identiques pour les 2 répertoires du NAS :<br></div><div style="margin: 0px; text-
indent: 0px; white-space: pre-wrap;"><br></div><div style="margin: 0px; text-indent: 0px; white-space: pre-wrap;">fred@NAS:/export$ ls -al<br>total 28<br>drwxrwsrwx 90 fred users 16384 1 oct. 17:53 Lettres<br>drwxrwsrwx 6 fred fred &
nbsp; 4096 10 sept. 17:17 Photos-videos<br>fred@NAS:/export$</div><div style="margin: 0px; text-indent: 0px; white-space: pre-wrap;"><br></div><div style="margin: 0px; text-indent: 0px; white-space: pre-wrap;">Extrait du fstab du PC client :<br></div><
div style="margin: 0px; text-indent: 0px; white-space: pre-wrap;"><br></div><div style="margin: 0px; text-indent: 0px; white-space: pre-wrap;">//<a href="
http://192.168.1.79/Lettres/">192.168.1.79/Lettres/</a> /home/fred/NAS-lettres cifs guest,uid=
nobody,gid=nogroup,iocharset=utf8,file_mode=0777,dir_mode=0777,noperm 0 0<br>//<a href="
http://192.168.1.79/Photos-videos/">192.168.1.79/Photos-videos/</a> /home/fred/NAS-photos cifs guest,uid=nobody,gid=nogroup,iocharset=utf8,file_mode=0777,dir_
mode=0777,noperm 0 0<br>#</div><div style="margin: 0px; text-indent: 0px; white-space: pre-wrap;"><br></div><div style="margin: 0px; text-indent: 0px; white-space: pre-wrap;">Une idée ? <br></div><div><div dir="ltr" class="gmail_signature" data-
smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><br></div><div>Frédéric ZULIAN</div></div></div></div></div></div></div>
</div></blockquote></div><br><div><div style="margin: 0px; font-size: 10px; font-family: "Courier New";">-- </div><div style="margin: 0px; font-size: 10px; font-family: "Courier New";"><div style="caret-color: rgb(0, 0, 0); color:
rgb(0, 0, 0); margin: 0px;">Pierre Malard</div><div><br></div></div></div></div></body></html>
--Apple-Mail=_566149EF-F5B3-49FD-9591-EC95826B83E5--
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE0KHTJ+AWKhmI+acm/pSWHuad/BgFAmUc5bEACgkQ/pSWHuad /Bjmag//blzmrRoqYdOooDEs01CrGPr/ZsMoPyQ/Wks3igLmOs9r+gBcwTfnR/nA rDiEgybebApypG8EPfbO/6LGd5Y7MlHrE2NDZIODpV+l81/K/vAW1j4conYyvFmL yiucS1yDb8XZutrc8p1+VIXI7RV7Z9dtcVjEFvZiVDYz9Dd18tYcjQmDFztZULT2 DF4Cp9xfZFvYPuZ+0G6E9obY5/hd6N1EjucCiCuff/oegBo0sZkgoCqD8OcTyev3 MWi1Wqv7u7asl5FvIHhOzdnvCfU03X6ChMBembt3wynv6pn0jNZBHeZ71Nd50RpH lnqwLww+sBEAAKvYktDocGdG9O/m7O90HT5DKRSsUWfD658XgLy5jdyqHtsrDFb+ mNAE50mwflIi86YA5QOI+38pBwrfemJs2F54KAny9o5S6C9uqNi4vFxL1Pckusw/ DQpIyWghy3qCFGOWl5dMVfqg9pSuqctjsf/m/p0pnQVjwDSOuQmhQmatDci4M3N4 RBwocchLaqQJlOmNao/lCHLbjLHwMdIEB0kTLo2h9KSUxQef2ADFj6lCL6dmRoKm Axbw7Oi0Icltg3GkMP9Kf20+TAYH+hXBdnrWoC8OSqcH2RDyv7IOAJ9402QrQqdS sQya4AG1CFdKBCL4dY2X35JjjlPc9VWLDjO8BLWsu3+ANPHYAmY=
=0RK5
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)