Re: Data backup- (udev problem)

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

 



On Sun, 07 Jan 2018 13:07:11 +0200 Angelo Moreschini wrote:

> Strangely I had several difficult to try autofs ..

This is not as simple as /etc/fstab.

> 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).

Yes, but not only.

> The purpose because I wont use autofs is different.. :

Again, I'm almost sure you do not need it.

> 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, ...

I read it already.

> perhaps what I did til now (mounting directories instead i file node
> in /dev directory) could be not the right procedure...

You mounted (in /etc/fstab) using UUIDs, and that is a good practise.

If you really want to test autofs try the following:

Add in /etc/auto.master:

-------------------------------- cut here --------------------------
/srv/   /etc/auto.ext-usb --timeout=10,defaults
-------------------------------- cut here --------------------------

And create /etc/auto.ext-usb as:

-------------------------------- cut here --------------------------
BKx_data-personal   -fstype=ntfs   :/dev/disk/by-uuid/376214F24CC07CE0
-------------------------------- cut here --------------------------

Then restart autofs.service and check that you see your partition
under /srv/BKx_data-personal/

I reference the partition by its UUID, knowning that the system
creates automatically the /dev/disk/by-uuid/xxx entries.

autofs wants a :/dev/... as location.
 
I don't think the options ,user,exec,uid=1000 are needed.

-- 
francis
_______________________________________________
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