Highlighted
Robert_W_Brandt Absent Member.
Absent Member.
1672 views

Another Strange NSS problem

I am not sure how to fully explain this...

I have a NSS volume mounted at /srv/group which I can access via NCP or Samba (i.e. \\NCPNAME\GROUP or \\SMBNAME\GROUP) or from the server command line.

I see all the same files regardless of which way I view the volume. However there is this weird problem...

CASE 1:
Say I create a test file from a NCP connection - I can see it in all views. (Good)
Say I delete that file from a SMB connection - I no longer see it in any view. (Good)
Say I recreate that test file with the same name in the NCP connection - I can see it in the NCP view but no where else!!! (in fact I get an error in the command line from /bin/ls saying the file does not exist)

CASE 2:
Say I create a test file from a NCP connection - I can see it in all views. (Good)
Say I delete that file from a SMB connection - I no longer see it in any view. (Good)
Say I recreate that test file with the same name in the SMB connection - I can see it in the SMB view and command line but not in the NCP view!!!

I have noticed that everything does sync up again after a reboot. But there must be a way to fix/sync this quicker/manually!

Thanks
Bob
Labels (2)
Tags (3)
0 Likes
6 Replies
bwisupport Absent Member.
Absent Member.

Re: Another Strange NSS problem

Maybe

rcsmbfs {force-reload|reload|restart|reload}

will help?

Tom
0 Likes
bwisupport Absent Member.
Absent Member.

Re: Another Strange NSS problem

And just to be sure: What's about ncpcon->config->commit files setting? May this be a caching issue, solved by flushing to disk?

Tom
0 Likes
Robert_W_Brandt Absent Member.
Absent Member.

Re: Another Strange NSS problem

Thanks for the quick reply...

The samba restart did nothing.. but I believe the problem is with NSS or NCP anyway.

I checked the COMMIT_FILES setting (which was the default 0) and I changed it to 1 but this did not have any affect either...

I also tried the NCPCON NSS RESYNC=volumename and this also did not have an affect??
NCPCON FLUCH VOLUME volumename had no affect either...

Any other ideas?
Bob
0 Likes
Knowledge Partner
Knowledge Partner

Re: Another Strange NSS problem

On 14.10.2011 03:26, robert w brandt wrote:
>
> Thanks for the quick reply...
>
> The samba restart did nothing.. but I believe the problem is with NSS
> or NCP anyway.


But you *do* have cross protocol locks enabled, right?

CU,
--
Massimo Rosen
Novell Knowledge Partner
No emails please!
http://www.cfc-it.de
CU,
--
Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de
0 Likes
Robert_W_Brandt Absent Member.
Absent Member.

Re: Another Strange NSS problem

mrosen;2146277 wrote:
On 14.10.2011 03:26, robert w brandt wrote:
But you *do* have cross protocol locks enabled, right?

Actually on this specific server I do not....

I turned it off because we are having another NSS issue with corrupt files

But I have this issue with every server I have... and on every other server, cross protocol is enabled.

Bob
0 Likes
Knowledge Partner
Knowledge Partner

Re: Another Strange NSS problem

On 18.10.2011 11:06, robert w brandt wrote:
>
> mrosen;2146277 Wrote:
>> On 14.10.2011 03:26, robert w brandt wrote:
>> But you *do* have cross protocol locks enabled, right?
>>

> Actually on this specific server I do not....


Well, with cross protocol locks disabled, what you see is *absolutely*
normal. That's what they're there for.

> I turned it off because we are having another NSS issue with' corrupt
> files'
> (http://forums.novell.com/novell/novell-product-discussion-forums/open-enterprise-server/oes-linux/oes-l-storage-backup/444802-corrupt-files-fstab-mount-info.html)
>
> But I have this issue with every server I have... and on every other
> server, cross protocol is enabled.


In that case I can only suggest you open a SR, after double checking
that it really happens with cross-protocol-locks enabled.

CU,
--
Massimo Rosen
Novell Knowledge Partner
No emails please!
http://www.cfc-it.de
CU,
--
Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.