Shadow copy services - path error on windows 7 using gpfs

Orlando Richards orlando.richards at ed.ac.uk
Fri Apr 20 09:30:41 MDT 2012


Hi there,

I've come across an obscure problem on a Windows 7 client when accessing 
shadow copies on our samba server, which uses GPFS as the underlying 
file system.

I'm using:
  GPFS 3.4.0-12 (also tested with 3.4.0-7)
  samba 3.6.4 from the sernet repos (also tested with 3.5.14)
  RHEL 5.6 (also tested on 5.8, 6.2)
  ctdb 1.0.114.4-1

The task I'm trying to perform is to copy a folder out of the shadow 
copy, and place it somewhere else (say, on the desktop, which is stored 
on local disk). However, when doing so I get an error window up which says:

-----
Item Not Found
Could not find this item

This is no longer located in 
\\myserver.com\isg\@GMT-2012.04.20-12.00.00\iti\unix\users. Verify the 
item's location and try again.

			| Try Again | Cancel |
-----


"@GMT-2012.04.20-12.00.00" is the snapshot name, "isg" is the share name.

When performing the same operation under Windows XP, it works fine.

When pulling individual files out (rather than folders), it works fine.


I've attached log level = 10 dumps of the process from both the windows 
XP machine (log.winxp) and the windows 7 machine (log.win7)

The big difference (my uneducated eye) can see in the logs is the 
presence of the following entries in the win7 logs:

   smbd_check_open_rights: Could not get acl on 
@GMT-2012.04.20-12.00.00/iti/unix/users/orichard: 
NT_STATUS_OBJECT_NAME_NOT_FOUND

and similar - in this context:

[2012/04/20 16:05:32.409101,  5] smbd/open.c:2597(open_directory)
   open_directory: opening directory 
@GMT-2012.04.20-12.00.00/iti/unix/users/orichard, access_mask = 0x81, 
share_access = 0x7 create_options = 0x0, create_disposition = 0x1, 
file_attributes = 0x10
[2012/04/20 16:05:32.409308, 10] modules/vfs_gpfs.c:259(gpfs_get_nfs4_acl)
   gpfs_get_nfs4_acl invoked for 
@GMT-2012.04.20-12.00.00/iti/unix/users/orichard
[2012/04/20 16:05:32.409518,  8] modules/vfs_gpfs.c:242(gpfs_getacl_alloc)
   smbd_gpfs_getacl failed with No such file or directory
[2012/04/20 16:05:32.409647,  9] modules/vfs_gpfs.c:265(gpfs_get_nfs4_acl)
   gpfs_getacl failed for 
@GMT-2012.04.20-12.00.00/iti/unix/users/orichard with No such file or 
directory
[2012/04/20 16:05:32.409857, 10] smbd/open.c:117(smbd_check_open_rights)
   smbd_check_open_rights: Could not get acl on 
@GMT-2012.04.20-12.00.00/iti/unix/users/orichard: 
NT_STATUS_OBJECT_NAME_NOT_FOUND
[2012/04/20 16:05:32.410085, 10] smbd/open.c:2719(open_directory)
   open_directory: smbd_check_open_rights on file 
@GMT-2012.04.20-12.00.00/iti/unix/users/orichard failed with 
NT_STATUS_OBJECT_NAME_NOT_FOUND
[2012/04/20 16:05:32.410250, 10] smbd/open.c:3429(create_file_unixpath)
   create_file_unixpath: NT_STATUS_OBJECT_NAME_NOT_FOUND
[2012/04/20 16:05:32.410440, 10] smbd/open.c:3702(create_file_default)
   create_file: NT_STATUS_OBJECT_NAME_NOT_FOUND
[2012/04/20 16:05:32.410630,  3] smbd/error.c:81(error_packet_set)
   error packet at smbd/error.c(161) cmd=162 (SMBntcreateX) 
NT_STATUS_OBJECT_NAME_NOT_FOUND



I'm a bit lost at this stage! - can anyone help?

Cheers,
Orlando.




-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.win7.gz
Type: application/x-gzip
Size: 19396 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120420/55a1ee06/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.winxp.gz
Type: application/x-gzip
Size: 24061 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120420/55a1ee06/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testparm.gz
Type: application/x-gzip
Size: 3453 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120420/55a1ee06/attachment-0002.bin>


More information about the samba-technical mailing list