Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I have added the NFS server by the FFP 0.5. When a symbolic link is created, I could access the link target by the Windows Samba shared but not the NFS client. The NFS client even does not show the source name. The NFS client is TVIX6500A. Anybody have suggestion? Thanks.
export:
/mnt/HD_a2/Video 192.168.1.0/24(rw,no_root_squash)
command of the symbolic link:
cd /mnt/HD_a2/Video/Dir1
ln -s /mnt/HD_a2/Video/Dir2 ./test
Offline
first remove the bad link
rm /mnt/HD_a2/Video/Dir1/test
then try
cd /mnt/HD_a2/Video/Dir1 ln -s ../Dir2 ./test
I think the problem is that the symbolic link has the full path of the target directory
#ls -la /mnt/HD_a2/Video/Dir1/test
lrwxrwxrwx 1 root root 21 Dec 31 10:14 /mnt/HD_a2/Video/Dir1/test -> /mnt/HD_a2/Video/Dir2
But the NFS client does not have any knowledge of the directory structure above "Video"
Last edited by mig (2008-12-31 20:16:07)
Offline
Why do you need a symbolic link ?
Is the entry in the export file not sufficient ??
Am I correct in thinking the you use symbolic link to share a directory with a different name ?
Offline
GreenGiant: What I am doing is trying to test when having 2 HDs with standard Volumes but just want to be shared by NFS by a single mount point.
mig: Thank you. It works now. However, from your assumption, is it possible to do the task as I said above? Seems Absolute path should be used? (I don't have 2 HDs to test yet)
Last edited by kinghong (2009-01-01 06:06:04)
Offline
kinghong wrote:
However, from your assumption, is it possible to do the task as I said above? Seems Absolute path should be used? (I don't have 2 HDs to test yet)
Hmmm, that a hard one. I don't think you can NFS export two hard drives as a single mount point.
It might be possible if you mount (--bind) one DNS-323 file system [HD_b2] to a
sub-directory on the exported file system [HD_a2]. But, I have never tried this.
Offline
use mount --bind instead of ln -s. I had trouble getting symbolic links to work (could never get it to work through NFS), but mounting using the bind option worked great. unlike a link, you need to create the dir you will be mounting the remote dir to.
mkdir /mnt/HD_a2/Video/Dir1/test
mount --bind /mnt/HD_a2/Video/Dir2 /mnt/HD_a2/Video/Dir1/test
You will need to add the mount --bind lines to your startup files as it is not persistent, like an ln -s would be.
HTH
Offline
Thanks for the help. I too made a single folder for a samba share. Creating the symbolic links worked fine from Windows. Once I mounted the cifs share from Ubuntu it was trying to follow the symbolic link on the NAS. Using the mount --bind works great. I can now stop pulling my hair out trying to get NFS to work!! Thanks for the help.
Offline