You are not logged in.

#1 2006-04-07 14:14:38

riwa
Member
From: Lund, Sweden
Registered: 2006-04-04
Posts: 214

Mounting harddrive through ssh(or similiar)?[SOLVED]

Is it possible? We have several computers in the house and I would like to being able to mount their hard-drives on my laptop so I can have a bigger share and use dcpp. Any suggestions? It doesn't matter if it's not ssh but I'd prefer it if it were.

/Richard


If you must have must. Have must.
- DKE supporters about this wonderful swedish soda.

Offline

#2 2006-04-07 14:22:43

nogoma
Member
From: Cranston, RI
Registered: 2006-03-01
Posts: 217

Re: Mounting harddrive through ssh(or similiar)?[SOLVED]

Check out sshfs in [extra], it does exactly what you want. Of course, if this is for shared data, you could also consider using a networked filesystem like NFS for the data. I personally use sshfs all the time to mount media from my desktop onto my laptop, which works fantastically on a wireless connection.


-nogoma
---
Code Happy, Code Ruby!
http://www.last.fm/user/nogoma/

Offline

#3 2006-04-07 14:44:52

riwa
Member
From: Lund, Sweden
Registered: 2006-04-04
Posts: 214

Re: Mounting harddrive through ssh(or similiar)?[SOLVED]

Thanks! That's what I need. Works fine. However, can I browse through the files? Because I can't add the dir I mounted it in in dc++. That's the main purpose of doing it since I only have an 80 GB hd on this laptop...


If you must have must. Have must.
- DKE supporters about this wonderful swedish soda.

Offline

#4 2006-04-10 23:16:50

nogoma
Member
From: Cranston, RI
Registered: 2006-03-01
Posts: 217

Re: Mounting harddrive through ssh(or similiar)?[SOLVED]

That's interesting; AFAIK, programs should see it as a completely normal mountpoint. I use it fine in plenty of programs (I play media from it via amaroK and bmp no problem). Of course, if the connection dies or something, weird things can happen; I've had situations where the connection died, and then I couldn't umount the sshfs mount b/c it was dead... strange. That hasn't been for a long while though, so either sshfs "got better" or I got more careful; I don't know. As for your problem, I guess make sure the connection is good, and you're authenticating fine. You can list the contents with a simple "ls"? Perhaps I am misunderstanding your problem.


-nogoma
---
Code Happy, Code Ruby!
http://www.last.fm/user/nogoma/

Offline

#5 2006-04-27 15:08:31

riwa
Member
From: Lund, Sweden
Registered: 2006-04-04
Posts: 214

Re: Mounting harddrive through ssh(or similiar)?[SOLVED]

I think I might be using wrong option when mounting. If I do:

rox /mnt/xhd

as root I can see it. So maybie my regular user don't have permission to read it. How can I give RX permissions to all users on all mounted devices? I think I have the same problem with cd/dvd.


If you must have must. Have must.
- DKE supporters about this wonderful swedish soda.

Offline

#6 2006-04-27 15:17:02

riwa
Member
From: Lund, Sweden
Registered: 2006-04-04
Posts: 214

Re: Mounting harddrive through ssh(or similiar)?[SOLVED]

Solved it. Found the allow_other option. Thanks for all the help!


If you must have must. Have must.
- DKE supporters about this wonderful swedish soda.

Offline

Board footer

Powered by FluxBB