<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:56:06 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-12839] &#8216;lctl pcc add &#8230;&#8217; fails with &#8220;: Not a directory (20)&#8221;</title>
                <link>https://jira.whamcloud.com/browse/LU-12839</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Running the first manual test in the PCC test plan, &#8220;Pressure Test via compilebench&#8221;, I get an error when adding a PCC backend on a client (trevis-62vm8):&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;# lctl pcc add /lustre/scratch/lpcc /dev/vda3 -p &quot;projid={100} rwid=2&quot;
lctl pcc pcc: error: setting llite.scratch-ffff9383a119e000.pcc=&quot;add /dev/vda3 projid={100} rwid=2&quot;
: Not a directory (20)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;On the client (vm8) dmesg, I see many of these messages:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[68485.718305] LustreError: 11-0: scratch-OST0003-osc-ffff9383f9c47800: operation ost_connect to node 10.9.6.176@tcp failed: rc = -30
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Running &#8216;lfs df&#8217; on the client (vm8), hangs before printing the information for OST0003. Yet running the same command on other clients (vm7) completes successfully.&lt;/p&gt;

&lt;p&gt;Since it seems like there&#8217;s a problem on an OSS, we look at the dmesg on the OSS (vm4) and see the following messages&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[68313.219321] LDISKFS-fs (dm-1): error count since last fsck: 54
[68313.220003] LDISKFS-fs (dm-1): initial error at time 1570550293: ldiskfs_mb_check_ondisk_bitmap:3719
[68313.220929] LDISKFS-fs (dm-1): last error at time 1570559969: ldiskfs_lookup:1816: inode 399
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;and then many of the following messages&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[68368.364485] LustreError: 24267:0:(tgt_lastrcvd.c:1027:tgt_client_new()) scratch-OST0003: Failed to write client lcd at idx 3, rc -30
[68368.365722] LustreError: 24267:0:(tgt_lastrcvd.c:1027:tgt_client_new()) Skipped 477 previous similar messages
[68630.939863] LustreError: 25860:0:(tgt_grant.c:248:tgt_grant_sanity_check()) ofd_destroy_export: tot_granted 277312 != fo_tot_granted 8715072
[68630.941251] LustreError: 25860:0:(tgt_grant.c:248:tgt_grant_sanity_check()) Skipped 232 previous similar messages 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;What did we do to get here? We set project quotas on the MDTs and OSTs and enabled HSM coordinators on all (4) MDTs. The on the client (vm8), we mount Lustre and ran the following commands:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;# mount | grep lustre
10.9.6.172@tcp:/scratch on /lustre/scratch type lustre (rw,flock,user_xattr,lazystatfs)
10.9.6.172@tcp:/scratch on /lustre/scratch2 type lustre (rw,flock,user_xattr,lazystatfs)
# lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
vda    253:0    0  120G  0 disk 
&#9500;&#9472;vda1 253:1    0   20G  0 part /
&#9500;&#9472;vda2 253:2    0    2G  0 part [SWAP]
&#9492;&#9472;vda3 253:3    0   98G  0 part 
# lhsmtool_posix --daemon --hsm-root /dev/vda3 --archive=2 /lustre/scratch &amp;lt; /dev/null &amp;gt;
-bash: syntax error near unexpected token `newline&apos;
# lhsmtool_posix --daemon --hsm-root /dev/vda3 --archive=2 /lustre/scratch
lhsmtool_posix: 1570566464.446881 lhsmtool_posix[1256]: action=0 src=(null) dst=(null) mount_point=/lustre/scratch
# lhsmtool_posix: 1570566464.459653 lhsmtool_posix[1257]: waiting for message from kernel

# ps -aux | grep hsm
root      1257  0.0  0.0  18500  1464 ?        Ss   20:27   0:00 lhsmtool_posix --daemon --hsm-root /dev/vda3 --archive=2 /lustre/scratch
# 
# /tmp/copytool_log 2&amp;gt;&amp;amp;1
-bash: /tmp/copytool_log: No such file or directory
# mkdir /lustre/scratch/lpcc
# lfs project -sp 100 /lustre/scratch/lpcc
# lctl pcc add /lustre/scratch /dev/vda3 -p &quot;projid={100} rwid=2&quot;
lctl pcc pcc: error: setting llite.scratch-ffff9383a119e000.pcc=&quot;add /dev/vda3 projid={100} rwid=2&quot;
: Not a directory (20)

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="57112">LU-12839</key>
            <summary>&#8216;lctl pcc add &#8230;&#8217; fails with &#8220;: Not a directory (20)&#8221;</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="jamesanunez">James Nunez</reporter>
                        <labels>
                            <label>PCC</label>
                    </labels>
                <created>Tue, 8 Oct 2019 22:26:31 +0000</created>
                <updated>Tue, 8 Oct 2019 22:26:31 +0000</updated>
                                            <version>Lustre 2.13.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i00nrz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>