aMule Forum
English => Feature requests => Topic started by: raid517 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
-
mount a nfs or smb share, and use that...
-
or run a daemon on that machine and use any remote tool to control it.
-
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.
-
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.
-
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.
-
Ok. Just checking.
-
This is an example of mounting a samba-share.
su
mkdir /mnt/smb
mount -t smbfs //anymachine/anyshare /mnt/smb
The same for nfs:
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. :) )
-
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...
-
//anymachine/anyfolder /mnt/smb smbfs noauto,username=xxxx,password=xxxxx 0 0
(username and password may not be needed)
-
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.
-
Thanks....
-
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...
-
Show me a Netware 4.11 implementation of that and I will use it from now on :)