<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Ben,<div>When I referred to initialize I meant running xfs_quota -x project -s name</div><div>When I run xfs_quota -x 'project -c lg'</div><div>I do get warnings about project identifier and inheritance but only for the new directories that I created and copied the large data sets into. I don't get those warning about the earlier files and folders for a given project.</div><div>When I run the project -s again it does update the block usage. But I would think the block usage should update automatically.</div><div>Thanks for replying so quickly.</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 11:19 AM, Ben Myers wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Charles,<br><br>On Fri, Aug 09, 2013 at 10:14:21AM -0400, Weber, Charles (NIH/NIA/IRP) [C] wrote:<br><blockquote type="cite">CentOS 6.4 <br></blockquote><blockquote type="cite">Linux niairpfs1.irp.nia.nih.gov 2.6.32-358.6.2.el6.x86_64 #1 SMP Thu May 16 20:59:36 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux<br></blockquote><blockquote type="cite">xfsprogs-3.1.1-10.el6_4.1.x86_64<br></blockquote><blockquote type="cite">xfsdump-3.0.4-3.el6.x86_64<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">mount<br></blockquote><blockquote type="cite">/dev/mapper/shared1_vg-niairp_lv on /share/niairp type xfs (rw,delaylog,inode64,nobarrier,logbsize=256k,uquota,prjquota)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">this is a 63T filesystem<br></blockquote><blockquote type="cite">xfs_quota report<br></blockquote><blockquote type="cite">Project quota on /share/niairp (/dev/mapper/shared1_vg-niairp_lv)<br></blockquote><blockquote type="cite">Project ID Used Soft Hard Warn/Grace <br></blockquote><blockquote type="cite">---------- --------------------------------- <br></blockquote><blockquote type="cite">lbnnas 0 0 1T 00 [------]<br></blockquote><blockquote type="cite">lbnnccu 0 0 4.4T 00 [------]<br></blockquote><blockquote type="cite">tgb 1.3T 0 2T 00 [------]<br></blockquote><blockquote type="cite">apps 106.4G 0 150G 00 [------]<br></blockquote><blockquote type="cite">ncts 205.7G 0 250G 00 [------]<br></blockquote><blockquote type="cite">lg 1.4T 0 10T 00 [------]<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Since initializing a project quota, there is no change in used blocks. When I initialize the block count is correct. If I re-initialize, the used block count is updated properly. <br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I copied 2T last night into the folder referenced by the lg project quota and there is no change in used blocks today.<br></blockquote><blockquote type="cite">What have I missed?<br></blockquote><br>An initial guess is you did not set up the project in xfs_quota using the<br>'project -s' xfs_quota command.<br><br>'project -c' output should look like this:<br><br>xfs_quota> project -c testproject <br>Checking project testproject (path /mnt/test/testa)...<br>Checking project testproject (path /mnt/test/testb)...<br>Processed 2 (/etc/projects and cmdline) paths for project testproject with recursion depth infinite (-1).<br><br>But if you don't set up a project you might see something like this:<br><br>xfs_quota> project -c testproject<br>Checking project testproject (path /mnt/test/testa)...<br>/mnt/test/testa - project identifier is not set (inode=0, tree=33)<br>/mnt/test/testa - project inheritance flag is not set<br>/mnt/test/testa/file - project identifier is not set (inode=0, tree=33)<br>/mnt/test/testa/file - project inheritance flag is not set<br>Checking project testproject (path /mnt/test/testb)...<br>/mnt/test/testb - project identifier is not set (inode=0, tree=33)<br>/mnt/test/testb - project inheritance flag is not set<br>Processed 2 (/etc/projects and cmdline) paths for project testproject with recursion depth infinite (-1).<br><br>And you'd have similar symptoms. You can also check which project the files<br>you created are in by using the xfs_io 'lsproj' command. There is also a<br>'chproj' command if find that your existing files aren't in the project and<br>need to add them in.<br><br>Regards,<br><span class="Apple-tab-span" style="white-space:pre"> </span>Ben<br></div></blockquote></div><br></div></body></html>