Page 1 of 1

Problem with Symbolic links in shares...

Posted: Mon Jul 04, 2011 4:04 am
by nickschurch
Hi,

I'm new to Amahi, and while I've been using linux for a while, I don't really have much linux-foo. So, I've installed Fedora 14 and Amahi 6.1 and things seem to have set up just fine. I have the standard shares and I can map these as network drives on my windows 7 laptop.

I only have a small disk internal to the box, but I have several large external disks which I would like to mount and access through amahi. Several of these disks contain the same media (e.g. movies) because any one disk is not large enough to hold all the media of one type. So I figured that I'd just plug the disks in, and add symbolic links to /var/hda/movies from the files on the disks. This is similar to the way greyhole works I think. Unfortunately when I do this, the symbolic links aren't visible from the mapped network directory on my windows 7 laptop and I have no idea why :(

I've tries adding "follow symlinks = yes" and "wide links = yes" to the directory entry in smb.conf file (through the amahi advanced options), but that doesn't seem to have solved the problem.

Any ideas on how to do this sensibly? The only thing I'm not keen on trying is enabling greyhole for the external disks. This isn't recommended in case they aren't there for some reason, and I'd like to keep control of exactly which disk a file exists on in case I end up moving to a different system.

Cheers.

Re: Problem with Symbolic links in shares...

Posted: Tue Jul 05, 2011 2:17 am
by nickschurch
I managed to solve this problem by mounting the external ntfs drive from fstab to a permanent location rather than relying on the USB automount. That and a combination of the ntfs-3g package seems to have sorted things. yey!

Re: Problem with Symbolic links in shares...

Posted: Tue Jul 05, 2011 4:44 am
by bigfoot65
Awesome. Probably best to mount any external drives permanently. If you want to remove it later, you can comment out the fstab entry or complete remove it.

Not sure why the USB automount is not working correctly. I presume you have all the latest Fedora 14 updates. If not, that could have something to do with it.

Re: Problem with Symbolic links in shares...

Posted: Tue Jul 05, 2011 5:32 am
by nickschurch
Not sure why the USB automount is not working correctly. I presume you have all the latest Fedora 14 updates. If not, that could have something to do with it.
I have them all now! :D I didn't when I first tried it so that may well have been the problem.