Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    i cannot tail a symbolic link on nfs mounted directory


    on the client im trying to tail the file however it fails

    lrwxrwxrwx 1 wwwrun root 35 Nov 2 00:07 symvlink1.log -> /var/log/mylogs/daemon.log-20111102

    server15:/nfs/c1 # tail symvlink1.log
    tail: cannot open `symvlink1.log' for reading: No such file or directory
    server15:/logs/cluster1/vm11 #

    is there a way to tail the link file from the client nfs


  2. #2
    It looks like the logfile is symlinked to a file that is NOT served by NFS. Instead, it is looking for the symlink target on the NFS client, in the /var/log/mylogs directory.

    To be sure, you can show the output of these commands:

    df -T
    showmount --exports <NFS_SERVER_IPADDRESS>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts