Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
shfs problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
thecooptoo
Veteran
Veteran


Joined: 27 Apr 2003
Posts: 1353
Location: UK

PostPosted: Fri Jul 14, 2006 9:19 pm    Post subject: shfs problems Reply with quote

ive got a reverse SSH tunnel from work to my server and i want to access the file system
Im trying shfs
ive emerged it , but cant modprobe it or mount using it

Code:

dads linux # modprobe shfs
FATAL: Error inserting shfs (/lib/modules/2.6.16-gentoo-r9/misc/fs/shfs.ko): Invalid module format
dads linux # emerge -p shfs

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-fs/shfs-0.35-r3
dads linux # modprobe shfs
FATAL: Error inserting shfs (/lib/modules/2.6.16-gentoo-r9/misc/fs/shfs.ko): Invalid module format
dads linux # shfsmount -P 23 root@grenada:  /mnt/GRENADA
Password:
shfsmount: shfs filesystem not supported by the kernel
dads linux #
dads linux # uname -rpv
2.6.16-gentoo-r9 #3 SMP PREEMPT Tue Jul 4 17:53:14 BST 2006 AMD Athlon(tm) processor
dads linux #       

_________________
join the optout - http://nhsconfidentiality.org
Back to top
View user's profile Send private message
nitbix
n00b
n00b


Joined: 10 Jul 2006
Posts: 55
Location: Suffolk (UK)

PostPosted: Sat Jul 15, 2006 6:30 pm    Post subject: Reply with quote

There probably should be an option for shfs in your kernel, so you would have tu recompile it using that option enabled.
_________________
.:nitbix:.
Back to top
View user's profile Send private message
intgr
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 225
Location: Earth, Sol, Milky Way

PostPosted: Sat Jul 15, 2006 7:32 pm    Post subject: Re: shfs problems Reply with quote

thecooptoo wrote:
ive got a reverse SSH tunnel from work to my server and i want to access the file system
Im trying shfs
ive emerged it , but cant modprobe it or mount using it

I don't have a good idea how to help with shfx, but I can recommend trying sys-fs/sshfs-fuse as an alternative, which is a user-space implementation and works through FUSE.

nitbix wrote:
There probably should be an option for shfs in your kernel, so you would have tu recompile it using that option enabled.

I think what he is doing is correct, shfs is an out-of-tree kernel module ebuild.
Back to top
View user's profile Send private message
thecooptoo
Veteran
Veteran


Joined: 27 Apr 2003
Posts: 1353
Location: UK

PostPosted: Sat Jul 15, 2006 8:27 pm    Post subject: Reply with quote

I couldnt find a kernel option for shfs.
wheres the Howto for fuse
Code:

dads paul # man sshfs-fuse
No manual entry for sshfs-fuse
dads paul # man fuse
No manual entry for fuse
dads paul #                       

_________________
join the optout - http://nhsconfidentiality.org
Back to top
View user's profile Send private message
intgr
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 225
Location: Earth, Sol, Milky Way

PostPosted: Sat Jul 15, 2006 8:31 pm    Post subject: Reply with quote

If you want to try sshfs-fuse, then you first have to enable FUSE support in your kernel:
Code:

    File systems  --->
<*> Filesystem in Userspace support

If it wasn't already enabled then compile and reboot.
Then:
Code:
# emerge sshfs-fuse
Back to top
View user's profile Send private message
thecooptoo
Veteran
Veteran


Joined: 27 Apr 2003
Posts: 1353
Location: UK

PostPosted: Sat Jul 15, 2006 9:28 pm    Post subject: Reply with quote

already there
Code:
dads linux # cat .config |grep FUSE
CONFIG_FUSE_FS=y
dads linux #   

_________________
join the optout - http://nhsconfidentiality.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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