nfs and sharing symlinks
|
|||
|
Rank: ? (4821)
Member #: 3416 |
i have a "server" running fedora core 4 on my home lan. its main purpose is to store files for my other computers, which normally run windows. i'm slowly getting used to linux (again fedora core, though i'm using 5) for a workstation, so i set up my server to share files using nfs in addition to samba.
now the tricky part: my server has 3 hard drives, two of which hold the files. on the first hard drive is a directory which contains symlinks to other directories which are on the other two drives. for example: /share/mail/ -> /files/drive2/mail/ /share/documents/ -> /files/drive2/documents/ /share/source/ -> /files/drive3/source/ for samba, i just share /share/ and everything is great. with nfs, if i just share /share/ then the linux client actually sees /share/mail/ as a symlink to /files/drive2/mail/ which doesn't exist on the client. i currently have it working, but i have /share/, /files/drive2/, and /files/drive3/ available through nfs and mounted on the linux client (it didn't work to share /files/ instead of the subdirectories). is there any way to tell nfs on the server to resolve the symlinks so that i can just mount /share/ on the client and actually get at the files i want? alternately, is there something else i can do on the server instead of symlinks? i still want to control which directories under /share/ are on which hard drive. i used symlinks because i understood those and it was relatively simple for me to set up, but if there's something else i could do instead that would make nfs easier, i could change it.
my mind is like a steel trap! it only hangs on to the big stuff. visit my forums at track7.org
|
||
|
Please login or register to post a reply.