Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

Red Hat Enterprise Linux で samba を経由して NFS マウントを共有することができますか?

Solution Verified - Updated -

Issue

  • samba を使用して、NFS マウントポイントでもあるディレクトリを共有すると、共有時にファイルが破損し、古いファイルがロックされ、異なるファイルにアクセスする問題が発生します。
  • 共有内のファイルを閉じると、smbstatus および lsof から古いロックが見つかります。
  • /var/log/samba/smbd.log または /var/log/messages でこれらのエラーが表示される場合があります。
    [2010/02/09 17:37:19, 0] smbd/dfree.c:sys_disk_free(148) WARNING: dfree is broken on this system
    [2010/02/08 11:56:49, 0] lib/sysquotas.c:sys_get_quota(421) sys_path_to_bdev() failed for path [.]!
    
  • ファイルのオープン操作時に取得した tcpdump には、以下の "Locking AndX Response" が含まれる場合があります。
    NT Status:STATUS_FILE_LOCK_CONFLICT (0xc0000054)
    

Environment

  • Red Hat Enterprise Linux 3
  • Red Hat Enterprise Linux 4
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.