Re: Data backup- (udev problem)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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.fedora@xxxxxxxxx> 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.Montagnac@xxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@lists.fedoraproject.org


_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux