Hi Francis,

before to begin, I would like talk with you a moment...

Strangely I had several difficult to try autofs ..

Now I that I went more in depth,I can understand that autofs is made mainly
to be used in a net environment  (NFS - file systems used in networks).

The purpose because I wont use autofs is different.. : I wont only to mount
an USB Hard Disk - permanently connected to computer <in order to the back
up of the data>.

The case  that I am interested is not so much considered in current
"literature" <it is not the default use of autosf.> and so the information
that I collected couldn't be, perhaps, appropriate.. ...
I found only an article that consider explicitly the my  case...:
*Automatically mount USB external drive with autofs
-https://linuxconfig.org/automatically-mount-usb-external-drive-with-autofs
<https://linuxconfig.org/automatically-mount-usb-external-drive-with-autofs>*

This article suggest to use the file "node" in the directory /dev as name
for mounting the partitions...
....This is another/different way to cope the problem...

If you are interested, give a look to this article, ... perhaps what I did
til now (mounting directories instead i file node in /dev directory) could
be not the right procedure...

 Thank you

Angelo




On Sun, Jan 7, 2018 at 12:16 PM, Angelo Moreschini <
mrangelo.fed...@gmail.com> wrote:

>  I understood (now) from where the error came :
>
> in auto.master file I forgot to put in comment this line :
> <+auto.master>
>
> Do you know what means it ? (what is the purpose of the sign "+"  ?).
>
> Now I''l try your suggestion : <to mount the partitions in the srv
> directory>..
>
>
> On Sun, Jan 7, 2018 at 11:58 AM, <francis.montag...@inria.fr> wrote:
>
>>
>> On Sun, 07 Jan 2018 11:43:37 +0200 Angelo Moreschini wrote:
>>
>> > I understand what you say Francis, perhaps you are right, and I'll try
>> your
>> > suggestion.
>>
>> Ok.
>>
>> > But first of all I would like fix the basic problem (that the service
>> > doesn't correctly).
>>
>> You mean I think the autofs service.
>>
>> If I understand correctly your setup, your USB disk is always attached
>> to your machine, thus using autofs is useless.
>>
>> > All the tray that I can do before to solve this, could be affected from
>> > this  "original sin"...
>>
>> I don't think so: this affect only autofs.
>>
>> > It is not so much material finding for :
>> > *"automount[1214]: setautomntent: lookup(sss): setautomntent: No such
>> file
>> > or directory"*
>>
>> > and I, also, am not able to understand exactly the meaning of this
>> message.
>>
>> I suspect that you have in the /etc/nsswitch.conf file:
>>
>>   automount:  files sss
>>
>> and then autofs (the automount process) if attempting to find its
>> auto.master map in /etc (files) then with an sss lookup.
>>
>> --
>> francis
>> _______________________________________________
>> users mailing list -- users@lists.fedoraproject.org
>> To unsubscribe send an email to users-le...@lists.fedoraproject.org
>>
>
>
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to