Samba can cause a Veritas File System (VxFS) to hang.

book

Article ID: 100001778

calendar_today

Updated On:

Description

Error Message

kernel: BUG: warning at fs/inotify.c:202/set_dentry_child_flags()
kernel: [] set_dentry_child_flags+0xef/0x14d

Resolution


Two possible solutions are available to address this issue.



1. Change the Samba "kernel change notify" setting in the smb.conf file.

Samba uses a default setting of "kernel change notify = yes" which asks the kernel for change notifications in directories so that Samba clients can refresh whenever the data on the server changes. This parameter is only used when the kernel supports change notification to user programs using the inotify interface.  Using Samba with this default setting can cause a VxFS file system to hang.  The message similar to"kernel: BUG: warning at fs/inotify.c:202/set_dentry_child_flags()" might be logged in the system message log.

A workaround is to add the following line to the smb.conf file.

kernel changenotify = no

After adding the line to the smb.conf file, it's necessary to restart Samba for the change to take effect.

 
2. Install a patch for VxFS.

Although changing the "kernel change notify" setting usually fixes the issue, a hang might still occur.  Therefore, a VxFS hotfix patch 5.0 MP3RP3HF4 is also available to address the hang via a fix for Etrack incident 1836701.  The fix will be put in a future rolling patch or maintenance pack for VxFS.  Please contact Veritas Enterprise Support for additional information.

 
 

 

Issue/Introduction

Samba can cause a Veritas File System (VxFS) to hang.