aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Shared Temp & Incomming folder on a remote Machine?  (Read 5021 times)

raid517

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Shared Temp & Incomming folder on a remote Machine?
« on: June 11, 2006, 05:27:00 AM »

Hi the title says it all really. I would love to be able to have a single shared and temp folder that I could share between several different machines on my Lan rather than requiring one Temp and one Incomming folder per machine. This would mean that regardless of which machine I am working on, my temp and incomming folder could always be the same.

GJ
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Shared Temp & Incomming folder on a remote Machine?
« Reply #1 on: June 11, 2006, 09:21:30 AM »

mount a nfs or smb share, and use that...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Shared Temp & Incomming folder on a remote Machine?
« Reply #2 on: June 11, 2006, 12:50:41 PM »

or run a daemon on that machine and use any remote tool to control it.
Logged

raid517

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: Shared Temp & Incomming folder on a remote Machine?
« Reply #3 on: June 11, 2006, 01:35:11 PM »

Hi I am not entirely clear on how to use NFS.... However as far as Samba is concerned when I mount a Samba share in KDE, by doing smb://192.168.1.113 (or whatever) this just shows up as a symlink in Konqueror and I can't open it or point to it in the amule options.

I'm assuming that you are implying that it is possible to mount a samba share, just as you would mount a drive, at a specific location - and that amule should be able to see this? How exactly is this achieved?

Also what are the main advantages of NFS over samba and how would this be used for this purpose? I have heard many people claim that NFS is superior to Samba - but I have never had much cause to investigate this previously.
« Last Edit: June 11, 2006, 07:02:27 PM by raid517 »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Shared Temp & Incomming folder on a remote Machine?
« Reply #4 on: June 11, 2006, 02:44:43 PM »

You CAN'T share the temp folder on several aMule instances. Keep that in mind. Incoming is ok, shareds is ok, Temp you can't.
Logged

raid517

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: Shared Temp & Incomming folder on a remote Machine?
« Reply #5 on: June 11, 2006, 03:08:39 PM »

You can't share the temp folder on several running eMule instances, no. But if I start a download on one machine and want to finish it on another, this is perfectly possible to do.

Until recently I have been shunting my temp folder back and forth between different machines - hence why this question cropped up.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Shared Temp & Incomming folder on a remote Machine?
« Reply #6 on: June 11, 2006, 03:44:18 PM »

Ok. Just checking.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Shared Temp & Incomming folder on a remote Machine?
« Reply #7 on: June 11, 2006, 06:40:47 PM »

This is an example of mounting a samba-share.
Code: [Select]
su
mkdir /mnt/smb
mount -t smbfs //anymachine/anyshare /mnt/smb

The same for nfs:
Code: [Select]
su
mkdir /mnt/nfs
mount -t nfs 192.168.1.23:/home/user/anyfolder /mnt/nfs

NFS is said to be faster and imho it's easier to set up.
(For a more detailed help of mounting samba or nfs-shares, just google around a bit. You'll find tons of howtos. :) )
Logged

raid517

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: Shared Temp & Incomming folder on a remote Machine?
« Reply #8 on: June 11, 2006, 07:03:41 PM »

And can that share be added to my fstab (or something similar) so that it can be mounted at boot? If so how exactly should this be done.

Thanks...
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Shared Temp & Incomming folder on a remote Machine?
« Reply #9 on: June 11, 2006, 07:07:02 PM »

Code: [Select]
//anymachine/anyfolder /mnt/smb smbfs noauto,username=xxxx,password=xxxxx 0 0 (username and password may not be needed)
Logged

vdb

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 215
Re: Shared Temp & Incomming folder on a remote Machine?
« Reply #10 on: June 11, 2006, 07:11:10 PM »

It can, use something like:
:/multimedia/Shares /opt/shares nfs timeo=20,rsize=2048,wsize=2048,async,rw,nosuid

There one thing to remember though: After you have mounted the share you should not forget to set the rights on it so that your aMule user can actually write to it and that non-group users can not read the files:
chown -R amule:users /opt/shares/*
chmod -R o-r /opt/shares/*

This is for an NFS mount, I don't know if the samba mounts automatically inherit the rights of the mount point.
Logged
A waste is a terrible thing to mind.

raid517

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: Shared Temp & Incomming folder on a remote Machine?
« Reply #11 on: June 11, 2006, 08:02:51 PM »

Thanks....
Logged

Onip

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
Re: Shared Temp & Incomming folder on a remote Machine?
« Reply #12 on: June 13, 2006, 12:50:09 PM »

I suggest using cifs instead of smbfs as filesystem for mount. It is smbfs evolution and hasn't got may problem of it. Most important is the 4GB limit for a share...
Logged

vdb

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 215
Re: Shared Temp & Incomming folder on a remote Machine?
« Reply #13 on: June 13, 2006, 02:30:59 PM »

Show me a Netware 4.11 implementation of that and I will use it from now on  :)
« Last Edit: June 13, 2006, 02:37:00 PM by vdb »
Logged
A waste is a terrible thing to mind.