Find the answer to your Linux question:
Results 1 to 2 of 2
Can I share an NFS mount with samba? Scenario: ServerA has an NFS Mount to ServerB at mount point /home/qlogger/logs I can cd to /home/qlogger/logs on ServerA and see the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Posts
    2

    NFS With Samba


    Can I share an NFS mount with samba?

    Scenario:

    ServerA has an NFS Mount to ServerB at mount point /home/qlogger/logs

    I can cd to /home/qlogger/logs on ServerA and see the contents as they would be on ServerB (NFS Working with proper permissions rw).

    I have a samba share setup on ServerA to share the NFS Mounted Directory (/home/qlogger/logs)

    I connect with my windows host and am able to view the files and folders. I can create folders just fine however; when I go to copy a file from the windows machine to the samba share I receive a message saying the file is locked.

    I have disabled oplocks in samba and the problem still persists.

    Any suggestions?

    Please and thank you!

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,356
    hi and welcome.

    Yes, I have a suggestion: Donīt re-export a network-filesystem
    That is just asking for trouble.
    It is a fragile setup: you depend on 2 servers to work, not just one
    And it introduces unneeded complexity, as you already experience

    I would
    a) mount the nfs from windows (can be done, althought the windows Services for Unix SFU is a bit odd, imho)
    or
    b) This is about logs? Standard logs maybe?
    Then I would go for rsyslog and phplogcon
    You must always face the curtain with a bow.

Posting Permissions

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