<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><p class="p2">Yep, that works a treat, thanks Jonathan!</p><div>I was missing ea support and the map = no options</div><div><br></div><div>Cheers,</div><div>Barry</div><div><br></div><div><br></div>



</div>
<br><div><div>On 15 Aug 2012, at 23:07, Jonathan Buzzard <<a href="mailto:j.buzzard@dundee.ac.uk">j.buzzard@dundee.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Barry Evans wrote:<br><blockquote type="cite">Hello all,<br><br>Anyone had success with windows extended attributes actually passing<br>through samba over to GPFS?<br><br>On a 3.4.0-13 system with samba 3.5.11 when trying to set a file read<br>only through Win 7 explorer and attrib I get:<br><br>[2012/08/15 18:13:32.023966,  1]<br>modules/vfs_gpfs.c:1003(gpfs_get_xattr) gpfs_get_xattr: Get GPFS<br>attributes failed: -1<br><br>This is with gpfs:winattr set to yes. I also tried enabling 'store<br>dos attributes' for a laugh but the result was no different. I've not<br>tried bumping up the loglevel yet, this may reveal something more<br>interesting.<br></blockquote><br>Hum, worked for me with 3.4.0-13 and now with 3.4.0-15, using samba3x<br>packages that comes with CentOS 5.6 in the past and CentOS 5.8<br>currently. Note I have to rebuild the Samba packages to get the vfs_gpfs<br>module which you need to load. The relevant bits of the smb.conf are<br><br># general options<br>       vfs objects = shadow_copy2 fileid gpfs<br><br># the GPFS stuff<br>        fileid : algorithm = fsname<br>        gpfs : sharemodes = yes<br>        gpfs : winattr = yes<br>        force unknown acl user = yes<br>        nfs4 : mode = special<br>        nfs4 : chown = no<br>        nfs4 : acedup = merge<br><br># store DOS attributes in extended attributes (vfs_gpfs then stores them<br>in the file system)<br>       ea support = yes<br>       store dos attributes = yes<br>       map readonly = no<br>       map archive = no<br>       map system = no<br>       map hidden = no<br><br><br>Though I would note that working out what all the configuration options<br>required to make this (and other stuff) work where took some<br>considerable amount of time. I guess there is a reason why IBM charge<br>$$$ for the SONAS and StoreWise Unified products.<br><br>Note that if you are going for that full make my Samba/GPFS file server<br>look as close as possible to a pucker MS Windows server, you might want<br>to consider setting the following GPFS options<br><br>    cifsBypassShareLocksOnRename<br>    cifsBypassTraversalChecking<br>    allowWriteWithDeleteChild<br><br>All fairly self explanatory, and make GPFS follow Windows schematics<br>more closely, though they are "undocumented".<br><br>There is also there is an undocumented option for ACL's on mmchfs (I am<br>working on 3.4.0-15) so that you can do<br><br>     mmchfs test -k samba<br><br>Even shows up in the output of mmlsfs. Not entirely sure what samba<br>ACL's are mind you...<br><br><br>JAB.<br><br>--<br>Jonathan A. Buzzard                      Tel: +441382-386998<br>Storage Administrator, College of Life Sciences<br>University of Dundee, DD1 5EH<br><br>The University of Dundee is a registered Scottish Charity, No: SC015096<br><br>_______________________________________________<br>gpfsug-discuss mailing list<br><a href="mailto:gpfsug-discuss@gpfsug.org">gpfsug-discuss@gpfsug.org</a><br>http://gpfsug.org/mailman/listinfo/gpfsug-discuss<br></blockquote></div><br></body></html>