<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I think I understand it.<div><br></div><div>I have an existing path on a new server:</div><div>/share/niairp/LG</div><div>mkdir /share/niairp/LG/NEW</div><div>set rights....</div><div># above is normal</div><div>copy data from other server</div><div>xfsdump... | ssh xfsrestore....</div><div><br></div><div>Because I am copying the files from a partition on remote server to a subdirectory on new server via xfsdump and restore, the project tags are not getting applied. The existing files on the other server are xfs but definitely do not have project quotas.</div><div>So the solution is to project -s each new dir_name after I do the copy and afterward all should be fine.</div><div><br></div><div>I'll try over next week or so to monitor, but it does sound reasonable.</div><div>Thanks,</div><div>Chuck</div><div><br></div><div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div><div>Weber, Charles (NIH/NIA/IRP) </div><div><a href="mailto:weberc@mail.nih.gov">weberc@mail.nih.gov</a></div><div>p: 410-558-8001</div><div>c: 443-473-6493</div><div>251 Bayview Blvd</div><div>Baltimore MD 21224</div><div><div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">NCTS performance comments and survey at:</span></div><div><a href="https://niairpkiosk.irp.nia.nih.gov/content/ncts-user-survey">https://niairpkiosk.irp.nia.nih.gov/content/ncts-user-survey</a></div></div></div></div></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Aug 9, 2013, at 1:17 PM, Ben Myers wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hey Charles,<br><br>On Fri, Aug 09, 2013 at 12:29:20PM -0400, Weber, Charles (NIH/NIA/IRP) [C] wrote:<br><blockquote type="cite">When I referred to initialize I meant running xfs_quota -x project -s name<br></blockquote><br>Hmm. What if you used 'xfs_quota -x project -s -p /path/to/new/dirs name'?<br><br><blockquote type="cite">When I run xfs_quota -x 'project -c lg'<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I do get warnings about project identifier and inheritance but only for the<br></blockquote><blockquote type="cite">new directories that I created and copied the large data sets into. I don't<br></blockquote><blockquote type="cite">get those warning about the earlier files and folders for a given project.<br></blockquote><br>Those warnings refer to not having a project id set in the inode core, and<br>whether a directory will set it's project id into the inode cores of whatever<br>you create inside. Without that project id set in the new files you create,<br>the quota subsystem won't know which project quota to reserve blocks<br>against. That's why your block usage wasn't changing.<br><br><blockquote type="cite">When I run the project -s again it does update the block usage.<br></blockquote><br>Maybe the first try failed to find the new directory? I'm not sure.<br><br><blockquote type="cite">But I would think the block usage should update automatically.<br></blockquote><br>Could you cut an paste the procedure to you used to create the new directories?<br><br>Thanks,<br><span class="Apple-tab-span" style="white-space:pre"> </span>Ben<br></div></blockquote></div><br></div></body></html>