View previous topic :: View next topic |
Author |
Message |
thecooptoo Veteran
Joined: 27 Apr 2003 Posts: 1353 Location: UK
|
Posted: Fri Jul 14, 2006 9:19 pm Post subject: shfs problems |
|
|
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 |
|
|
nitbix n00b
Joined: 10 Jul 2006 Posts: 55 Location: Suffolk (UK)
|
Posted: Sat Jul 15, 2006 6:30 pm Post subject: |
|
|
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 |
|
|
intgr Apprentice
Joined: 23 Jun 2004 Posts: 225 Location: Earth, Sol, Milky Way
|
Posted: Sat Jul 15, 2006 7:32 pm Post subject: Re: shfs problems |
|
|
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 |
|
|
thecooptoo Veteran
Joined: 27 Apr 2003 Posts: 1353 Location: UK
|
Posted: Sat Jul 15, 2006 8:27 pm Post subject: |
|
|
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 |
|
|
intgr Apprentice
Joined: 23 Jun 2004 Posts: 225 Location: Earth, Sol, Milky Way
|
Posted: Sat Jul 15, 2006 8:31 pm Post subject: |
|
|
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 |
|
|
thecooptoo Veteran
Joined: 27 Apr 2003 Posts: 1353 Location: UK
|
Posted: Sat Jul 15, 2006 9:28 pm Post subject: |
|
|
already there
Code: | dads linux # cat .config |grep FUSE
CONFIG_FUSE_FS=y
dads linux # |
_________________ join the optout - http://nhsconfidentiality.org |
|
Back to top |
|
|
|