[LU-4784] refresh of samba share Created: 20/Mar/14 Updated: 17/Dec/14 Resolved: 17/Dec/14 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 1.8.7, Lustre 1.8.9 |
| Fix Version/s: | None |
| Type: | Question/Request | Priority: | Minor |
| Reporter: | Supporto Lustre Jnet2000 (Inactive) | Assignee: | Emoly Liu |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Environment: |
rhel5.7.samba3x-3.5.4-0.83, windows 7 |
||
| Attachments: |
|
| Rank (Obsolete): | 13162 |
| Description |
|
Our filesystem is exported via samba. When a user modify directory content on a lustre client these changes don't apper on share until the f5 key is pressed on windows client. Otherwise, when same operation is executed directly on the node that export filesystem (a xen virtual machine) the share reflect the changes immediately. How we can fix this problem ? |
| Comments |
| Comment by Peter Jones [ 20/Mar/14 ] |
|
Emoly Could you please advise on this one? Thanks Peter |
| Comment by Supporto Lustre Jnet2000 (Inactive) [ 20/Mar/14 ] |
|
If you run this simple script in a directory of a lustre client that not export the filesystem via samba, the content doesn't appear on the pc that see this directory through samba. Otherwise if you run the same script on the same directory on the client that export the filesystem via samba the content is updated immediately. I think that may be a problem of cache coerency. Regards |
| Comment by Supporto Lustre Jnet2000 (Inactive) [ 25/Mar/14 ] |
|
In the aim to collect more info with the attached script I created files on a client while on the samba server I run the command watch -n1 "ls dir_to_watch" to ensure that the server see the files: server refresh correctly, but the pc don't see the files until the f5 key is pressed. |
| Comment by Emoly Liu [ 09/Apr/14 ] |
|
After reading the description and comments carefully, I redid the experiment but failed to reproduce the problem. My local test environment is windows7 + samba3.0.33 + lustre1.8.9 (kernel 2.6.18-348.3.1.el5). My steps are here: [test]
comment = For testing only, please
path = /mnt/lustre/smb_test
read only = no
guest ok = yes
2. mount lustre to /mnt/lustre, and mkdir /mnt/lustre/smb_test If possible, could you please provide your steps in detail? Thanks. I tried many times but still can't hit this problem. |
| Comment by John Fuchs-Chesney (Inactive) [ 17/Dec/14 ] |
|
I'm marking this as 'Cannot Reproduce'. If you need more work on this ticket please let us know. Thanks, |