You are not logged in.

#1 2009-02-04 00:27:31

whaevr
Member
Registered: 2008-03-17
Posts: 182

Mounting with shfs in fstab

I can't get it to work hmm

I followed the wiki and heres the line I added to my fstab file.

whaevr@192.168.1.200:/home/whaevr/FAH /home/whaevr/FAH2 shfs rw,noauto,uid=localuser,persistent 0 0

I run sudo mount -a

check the FAH2 folder and nothing >.<

I can ssh into the remote box without a password so what am I doing wrong..?

Offline

#2 2009-02-04 00:48:18

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Mounting with shfs in fstab

mount -a will not mount anything that has noauto as an option. Try mounting the volume explicitly, or else remove noauto.

FYI: shfs is quite old - most recent upstream release was in May 2004. This does not mean it won't work for you, but generally the use of up-to-date, well-maintained code is preferred. These days, sshfs is the usual recommendation for this requirement.

Offline

#3 2009-02-04 01:01:22

whaevr
Member
Registered: 2008-03-17
Posts: 182

Re: Mounting with shfs in fstab

So how would I use sshfs in fstab? I have it installed its just the wiki told me to use shfs..

Offline

#4 2009-02-04 01:18:27

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Mounting with shfs in fstab

No - the wiki has pages on both shfs and sshfs. You decided to use shfs.

The sshfs page does not include a sample fstab entry, so you will have to look elsewhere for that. Googling "sshfs fstab" would be my suggestion. When you find it, feel free to add it to the sshfs wiki page.

Offline

#5 2009-02-04 01:22:20

whaevr
Member
Registered: 2008-03-17
Posts: 182

Re: Mounting with shfs in fstab

Well in my defense the word "fstab" isn't even on the sshfs page in the wiki. Thats why I went with shfs

Edit:
Alright fixed the wiki.

Last edited by whaevr (2009-02-04 01:44:31)

Offline

Board footer

Powered by FluxBB