Environment
SUSE Linux Enterprise Server 11 Service Pack 1
SUSE Linux Enterprise Server 11 Service Pack 2
Novell Open Enterprise Server 11 (OES 11) Linux
Novell Open Enterprise Server 11 Support Pack 1 (OES 11) Linux
McAfee VSE for Linux 1.7.x
McAfee VSE for Linux 1.9.x
SUSE Linux Enterprise Server 11 Service Pack 2
Novell Open Enterprise Server 11 (OES 11) Linux
Novell Open Enterprise Server 11 Support Pack 1 (OES 11) Linux
McAfee VSE for Linux 1.7.x
McAfee VSE for Linux 1.9.x
Situation
When moving or offlining NSS (Novell Storage Services) cluster resources, the following kernel warning messages are logged to /var/log/messages:
Jul 20 20:21:16 TESTSRV adminus daemon: umounting volume NSSVOL01 lazy=1 Jul 20 20:21:16 TESTSRV ndsd[7142]: [Info]ChangeVolumeStatus: Volume NSSVOL01 dismounted Jul 20 20:21:16 TESTSRV CIFS[11277]: EVENT: RPC: Dismount Volume NCP RPC received: volumeNumber: 243, status: 0, volumeName: NSSVOL01, volumeGUID: , poolName: , volumeMountPoint: /media/nss/NSSVOL01 Jul 20 20:21:16 TESTSRV kernel: [11956.064469] ------------[ cut here ]------------ Jul 20 20:21:16 TESTSRV kernel: [11956.064475] WARNING: at /usr/src/packages/BUILD/kernel-default-2.6.32.59/linux-2.6.32/fs/namespace.c:612 mntput_no_expire+0xa1/0x100()
Jul 20 20:21:16 TESTSRV kernel: [11956.064510] Supported: Yes Jul 20 20:21:16 TESTSRV kernel: [11956.064512] Pid: 3103, comm: umount Tainted: G W N 2.6.32.59-0.3-default #1 Jul 20 20:21:16 TESTSRV kernel: [11956.064513] Call Trace: Jul 20 20:21:16 TESTSRV kernel: [11956.064521] [<ffffffff810061dc>] dump_trace+0x6c/0x2d0 Jul 20 20:21:16 TESTSRV kernel: [11956.064525] [<ffffffff8139b7f6>] dump_stack+0x69/0x73 Jul 20 20:21:16 TESTSRV kernel: [11956.064529] [<ffffffff8104e554>] warn_slowpath_common+0x74/0xd0 Jul 20 20:21:16 TESTSRV kernel: [11956.064532] [<ffffffff81119a71>] mntput_no_expire+0xa1/0x100 Jul 20 20:21:16 TESTSRV kernel: [11956.064535] [<ffffffff8111a125>] sys_umount+0x65/0xd0 Jul 20 20:21:16 TESTSRV kernel: [11956.064539] [<ffffffff81002f7b>] system_call_fastpath+0x16/0x1b Jul 20 20:21:16 TESTSRV kernel: [11956.064543] [<00007fa97616a017>] 0x7fa97616a017 Jul 20 20:21:16 TESTSRV kernel: [11956.064544] ---[ end trace d7ff85417797525a ]--- Jul 20 20:21:16 TESTSRV kernel: [11956.167357] NSSLOG ==> [MSAP] comnLog[201] Jul 20 20:21:16 TESTSRV kernel: [11956.167359] Pool "NSSVOL01" - MSAP deactivate.
Resolution
The above messages are cosmetic and can be ignored, the volumes are synced and deactivated normally regardless of the above warning being logged.
Cause
The messages are logged when linux umount is triggered when a volume is already deactivated. There are two ways to deactivate a NSS volume:
1. umount leads to cleanup of the Linux mount and deactivates the NSS volume.
2. NSS deactivate command which do not cleanup the Linux mount data.
If number two above is performed first, the resulting umount also being triggered will result in the kernel warning being seen since the volume is then already deactivated.
1. umount leads to cleanup of the Linux mount and deactivates the NSS volume.
2. NSS deactivate command which do not cleanup the Linux mount data.
If number two above is performed first, the resulting umount also being triggered will result in the kernel warning being seen since the volume is then already deactivated.