Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ASK] How to automount on startup ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
tattonaga
n00b
n00b


Joined: 02 Mar 2015
Posts: 11

PostPosted: Wed Mar 25, 2015 1:10 pm    Post subject: [ASK] How to automount on startup ? Reply with quote

pls help me, i've tried configure /etc/fstab but still cant automount :( :( :(
Back to top
View user's profile Send private message
mvaterlaus
Apprentice
Apprentice


Joined: 01 Oct 2010
Posts: 173
Location: Switzerland

PostPosted: Wed Mar 25, 2015 1:44 pm    Post subject: Reply with quote

hi,
this is a bit to few info. what do you try to mount? nfs? cifs? usbstick? have you disabled auto option in fstab? do you use systemd or openrc?

also, what do you think, when saying automount in combination with /etc/fstab? do you mean mounting a device at startup or do you mean mounting a usb pen when connecting to the machine?
_________________
For calming down your eyes or clearing your mind: www.patrickwehli.ch
Back to top
View user's profile Send private message
lexflex
Guru
Guru


Joined: 05 Mar 2006
Posts: 300
Location: the Netherlands

PostPosted: Wed Mar 25, 2015 4:45 pm    Post subject: Reply with quote

Indeed, more info is needed.

Also post the line if fstab in which you defined the share, and let us know if manual mounting works ( and how it is done).

Alex.
Back to top
View user's profile Send private message
tattonaga
n00b
n00b


Joined: 02 Mar 2015
Posts: 11

PostPosted: Thu Mar 26, 2015 6:08 pm    Post subject: Reply with quote

i have 2 pc and use aoe for sharing storage. then i want to automount /dev/fileserver/ubuntu to /home/repo/ubuntu.
this is my fstab configuration http://s304.photobucket.com/user/tattonaga/media/fstab_zpsszd2tnhi.png.html
is that right for automount ?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 36025
Location: 56N 3W

PostPosted: Thu Mar 26, 2015 8:15 pm    Post subject: Reply with quote

tattonaga,

Read about Network File System (NFS)

On the file server, you need to export the directory you want to share.
On the client, you need to mount it with a type of nfs.

You will need nfs support in your kernel on both systems. One only need server support, the other only client.
However its good to have the client and server at both ends. This allows you to share a volume over NFS to the PC exporting it.
This is of no practical value at all bet its eliminates some errors with usernames and permissions, so its good for testing.

Like all filesystems, NFS has its own user space tools. You will need them too.

NFS is insecure. If you trust you LAN, thats OK. Don't even consider using NFS on an untrusted network unless you add the security yourself.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum