<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Can you cut/paste your full VFS options for gpfs and shadow copy
from smb.conf?<br>
</p>
<br>
<div class="moz-cite-prefix">On 06/07/2016 10:37, Sobey, Richard A
wrote:<br>
</div>
<blockquote
cite="mid:AMSPR06MB40587C9D86C7090128AB6A3DF3A0@AMSPR06MB405.eurprd06.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Quick
followup on this. Doing some more samba debugging (i.e.
increasing log levels!) and come up with the following:<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier
New"">[2016/07/06 10:07:35.602080, 3]
../source3/smbd/vfs.c:1322(check_reduced_name)<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier
New""> check_reduced_name:
admin/ict/serviceoperations/slough_project/Slough_Layout
reduced to
/gpfs/prd/groupspace/ic/admin/ict/serviceoperations/slough_project/Slough_Layout<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier
New"">[2016/07/06 10:07:35.611881, 3]
../source3/smbd/dosmode.c:196(unix_mode)<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier
New"">
unix_mode(admin/ict/serviceoperations/slough_project/Slough_Layout)
returning 0644<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier
New"">[2016/07/06 10:07:35.613374, 0]
../source3/modules/vfs_shadow_copy2.c:1211(check_access_snapdir)<o:p></o:p></span></p>
<p class="MsoPlainText"><b><span
style="font-family:"Courier New""> user does
not have list permission on snapdir
/gpfs/prd/groupspace/ic/admin/ict/.snapshots<o:p></o:p></span></b></p>
<p class="MsoPlainText"><span style="font-family:"Courier
New"">[2016/07/06 10:07:35.613416, 0]
../source3/modules/vfs_shadow_copy2.c:1380(shadow_copy2_get_shadow_copy_data)<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier
New""> access denied on listing snapdir
/gpfs/prd/groupspace/ic/admin/ict/.snapshots<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier
New"">[2016/07/06 10:07:35.613434, 0]
../source3/modules/vfs_default.c:1145(vfswrap_fsctl)<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier
New""> FSCTL_GET_SHADOW_COPY_DATA: connectpath
/gpfs/prd/groupspace/ic, failed - NT_STATUS_ACCESS_DENIED.<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier
New"">[2016/07/06 10:07:47.648557, 3]
../source3/smbd/service.c:1138(close_cnum)<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier
New""> 155.198.55.14 (ipv4:155.198.55.14:51298) closed
connection to service IPC$<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Any
takers? I cannot run mmgetacl on the .snapshots folder at
all, as root. A snapshot I just created to make sure I had
full control on the folder: (39367 is me, I didn’t run this
command on a CTDB node so the UID mapping isn’t working).<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">[root@icgpfs01
.snapshots]# mmgetacl -k nfs4 @GMT-2016.07.06-08.00.06<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">#NFSv4
ACL<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">#owner:root<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">#group:root<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">group:74036:r-x-:allow:FileInherit:DirInherit:Inherited<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">(X)READ/LIST
(-)WRITE/CREATE (-)MKDIR (X)SYNCHRONIZE (X)READ_ACL
(X)READ_ATTR (X)READ_NAMED<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">(-)DELETE
(-)DELETE_CHILD (-)CHOWN (X)EXEC/SEARCH (-)WRITE_ACL
(-)WRITE_ATTR (-)WRITE_NAMED<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">user:39367:rwxc:allow:FileInherit:DirInherit:Inherited<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">(X)READ/LIST
(X)WRITE/CREATE (X)MKDIR (X)SYNCHRONIZE (X)READ_ACL
(X)READ_ATTR (X)READ_NAMED<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">(X)DELETE
(X)DELETE_CHILD (X)CHOWN (X)EXEC/SEARCH (X)WRITE_ACL
(X)WRITE_ATTR (X)WRITE_NAMED<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="EN-US">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:gpfsug-discuss-bounces@spectrumscale.org">gpfsug-discuss-bounces@spectrumscale.org</a>
[<a class="moz-txt-link-freetext" href="mailto:gpfsug-discuss-bounces@spectrumscale.org">mailto:gpfsug-discuss-bounces@spectrumscale.org</a>]
<b>On Behalf Of </b>Sobey, Richard A<br>
<b>Sent:</b> 20 June 2016 16:03<br>
<b>To:</b> gpfsug main discussion list
<a class="moz-txt-link-rfc2396E" href="mailto:gpfsug-discuss@spectrumscale.org"><gpfsug-discuss@spectrumscale.org></a><br>
<b>Subject:</b> Re: [gpfsug-discuss] Snapshots / Windows
previous versions<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Thanks
Kevin. We are upgrading to GPFS 4.2 and CES in a few weeks
but our customers have come to like previous versions and
indeed it is sort of a selling point for us.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Samba
is the only thing we’ve changed recently after the badlock
debacle so I’m tempted to blame that, but who knows.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">If
(when) I find out I’ll let everyone know.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Richard<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="EN-US">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:gpfsug-discuss-bounces@spectrumscale.org">gpfsug-discuss-bounces@spectrumscale.org</a>
[<a class="moz-txt-link-freetext" href="mailto:gpfsug-discuss-bounces@spectrumscale.org">mailto:gpfsug-discuss-bounces@spectrumscale.org</a>]
<b>On Behalf Of </b>Buterbaugh, Kevin L<br>
<b>Sent:</b> 20 June 2016 15:56<br>
<b>To:</b> gpfsug main discussion list
<a class="moz-txt-link-rfc2396E" href="mailto:gpfsug-discuss@spectrumscale.org"><gpfsug-discuss@spectrumscale.org></a><br>
<b>Subject:</b> Re: [gpfsug-discuss] Snapshots / Windows
previous versions<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Richard, <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I can’t answer your question but I can
tell you that we have experienced either the exact same
thing you are or something very similar. It occurred for us
after upgrading from GPFS 3.5 to 4.1.0.8 and it persists
even after upgraded to GPFS 4.2.0.3 and the very latest
sernet-samba.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">And to be clear, when we upgraded from
GPFS 3.5 to 4.1 we did *not* upgrade SAMBA versions at that
time. Therefore, I believe that something changed in GPFS.
That doesn’t mean it’s GPFS’ fault, of course. SAMBA may
have been relying on a
bug<ctrl-h><ctrl-h><ctrl-h>undocumented
feature in GPFS that IBM fixed for all I know, and I’m
obviously speculating here.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">The problem we see is that the .snapshots
directory in each folder can be cd’d to but is empty. The
snapshots are all there, however, if you:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"> cd /<mount point of
fs>/.snapshots/<data and time snapshot was
taken>/rest/of/path/to/folder/in/question<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">This obviously prevents users from being
able to do their own recovery of files unless you do
something like what you describe, which we are unwilling to
do for security reasons. We have a ticket open with DDN…<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Kevin<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">On Jun 20, 2016, at 8:45 AM, Sobey,
Richard A <<a moz-do-not-send="true"
href="mailto:r.sobey@imperial.ac.uk">r.sobey@imperial.ac.uk</a>>
wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">Hi
all<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">Can
someone clarify if the ability for Windows to view
snapshots as Previous Versions is exposed by SAMBA
or GPFS? Basically, if suddenly my users cannot
restore files from snapshots over a CIFS share,
where should I be looking?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">I
don’t know when this problem occurred, but within
the last few weeks certainly our users with full
control over their data now see no previous
versions available, but if we export their fileset
and set “force user = root” all the snapshots are
available.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">I
think the answer is SAMBA, right? We’re running
GPFS 3.5 and sernet-samba 4.2.9.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">Many
thanks<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">Richard<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Helvetica",sans-serif">_______________________________________________<br>
gpfsug-discuss mailing list<br>
gpfsug-discuss at<span class="apple-converted-space"> </span></span><a
moz-do-not-send="true"
href="http://spectrumscale.org/"><span
style="font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#954F72">spectrumscale.org</span></a><span
style="font-size:10.5pt;font-family:"Helvetica",sans-serif"><br>
</span><a moz-do-not-send="true"
href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><span
style="font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#954F72">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</span></a><o:p></o:p></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">—<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Kevin Buterbaugh - Senior System
Administrator<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Vanderbilt University - Advanced
Computing Center for Research and Education<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a moz-do-not-send="true"
href="mailto:Kevin.Buterbaugh@vanderbilt.edu">Kevin.Buterbaugh@vanderbilt.edu</a> -
(615)875-9633<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
<a class="moz-txt-link-freetext" href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<!-- HTML Codes by Quackit.com -->
<title>
</title>
<meta name="viewport" content="width=device-width,
initial-scale=1">
<style type="text/css">
body {background-color:ffffff;background-repeat:no-repeat;background-position:top left;background-attachment:fixed;}
h1{font-family:Cursive;color:000000;}
p {font-family:Arial;font-size:15px;font-style:normal;font-weight:normal;color:000000;}
</style>
<p>Barry Evans<br>
Technical Director & Co-Founder<br>
<font color="red">Pixit Media</font><br>
Mobile: +44 (0)7950 666 248<br>
<a href="http://www.pixitmedia.com">http://www.pixitmedia.com</a></p>
</div>
</body>
</html>
<br>
<div><img src="http://pixitmedia.com/sig/sig-cio.jpg"></div><div>This email is confidential in that it is intended for the exclusive attention of the addressee(s) indicated. If you are not the intended recipient, this email should not be read or disclosed to any other person. Please notify the sender immediately and delete this email from your computer system. Any opinions expressed are not necessarily those of the company from which this email was sent and, whilst to the best of our knowledge no viruses or defects exist, no responsibility can be accepted for any loss or damage arising from its receipt or subsequent use of this email.</div>