<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:00:22 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-13332] Can&apos;t start lhsmtool</title>
                <link>https://jira.whamcloud.com/browse/LU-13332</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Not sure what I am doing wrong. Followed the documentation.&lt;br/&gt;
 I have hsm_control enabled on mdt&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
nbptest3-srv1 ~ # lctl get_param mdt.*.hsm_control
mdt.nbptest3-MDT0000.hsm_control=enabled
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;When I try to start hsm I get an error&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
service198 ~ # lhsmtool_posix --hsm-root /mnt/pcc -v /nobackuptest3 
lhsmtool_posix: 1583393927.046985 lhsmtool_posix[10762]: action=0 src=(&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;) dst=(&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;) mount_point=/nobackuptest3
lhsmtool_posix: cannot start copytool on &lt;span class=&quot;code-quote&quot;&gt;&apos;/nobackuptest3&apos;&lt;/span&gt;: No such device or address (6)
lhsmtool_posix: 1583393927.080040 lhsmtool_posix[10762]: cannot start copytool &lt;span class=&quot;code-keyword&quot;&gt;interface&lt;/span&gt;: No such device or address (6)
lhsmtool_posix: 1583393927.080134 lhsmtool_posix[10762]: process finished, errs: 0 major, 0 minor, rc=-6 (No such device or address)
service198 ~ # df
Filesystem                     1K-blocks      Used    Available Use% Mounted on
devtmpfs                        16300832         0     16300832   0% /dev
tmpfs                           16315784         4     16315780   1% /dev/shm
tmpfs                           16315784     14768     16301016   1% /run
/dev/sda32                     237959828   9766176    216099292   5% /
tmpfs                           16315784         0     16315784   0% /sys/fs/cgroup
/dev/sda11                       1176704     72300      1042964   7% /boot
10.151.27.53@o2ib:/nbptest3 311935815440     14440 296206997160   1% /nobackuptest3
/dev/nvme0n1                  1537235176  46143840   1412934264   4% /mnt/pcc
tmpfs                            3263160         0      3263160   0% /run/user/11312
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="58276">LU-13332</key>
            <summary>Can&apos;t start lhsmtool</summary>
                <type id="9" iconUrl="https://jira.whamcloud.com/images/icons/issuetypes/undefined.png">Question/Request</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="6">Not a Bug</resolution>
                                        <assignee username="beevans">Ben Evans</assignee>
                                    <reporter username="mhanafi">Mahmoud Hanafi</reporter>
                        <labels>
                    </labels>
                <created>Thu, 5 Mar 2020 07:41:59 +0000</created>
                <updated>Thu, 5 Mar 2020 21:39:49 +0000</updated>
                            <resolved>Thu, 5 Mar 2020 21:39:48 +0000</resolved>
                                    <version>Lustre 2.13.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="264644" author="pjones" created="Thu, 5 Mar 2020 14:37:30 +0000"  >&lt;p&gt;Ben&lt;/p&gt;

&lt;p&gt;Could you please advise?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="264657" author="beevans" created="Thu, 5 Mar 2020 17:00:10 +0000"  >&lt;p&gt;Mahmoud, could you please run lfs df on the lhsmtool client?&lt;/p&gt;

&lt;p&gt;If you could also get /var/log/messages from the MDS and the client where this is run (just the last few lines when you try to start the copytool should be sufficient)&lt;/p&gt;</comment>
                            <comment id="264696" author="mhanafi" created="Thu, 5 Mar 2020 21:23:55 +0000"  >&lt;p&gt;Nothing on the mds&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
Mar  5 13:19:33 nbptest3-srv1 kernel: [146234.152375] Lustre: nbptest3-OST0000: Connection restored to 964be805-c593-4 (at 10.151.27.56@o2ib)
Mar  5 13:19:33 nbptest3-srv1 kernel: [146234.152378] Lustre: Skipped 1 previous similar message
Mar  5 13:20:01 nbptest3-srv1 systemd[1]: Created slice User Slice of root.
Mar  5 13:20:01 nbptest3-srv1 systemd[1]: Started Session 1443 of user root.
Mar  5 13:20:01 nbptest3-srv1 systemd[1]: Started Session 1444 of user root.
Mar  5 13:20:01 nbptest3-srv1 systemd[1]: Started Session 1445 of user root.
Mar  5 13:20:01 nbptest3-srv1 systemd[1]: Removed slice User Slice of root.
nbptest3-srv1 ~ # &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;br/&gt;
On the client&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
Mar  5 13:19:14 service198 kernel: [21244.122717] LNet: Using FMR &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; registration
Mar  5 13:19:16 service198 kernel: [21246.847040] LNet: Added LNI 10.151.27.56@o2ib [32/125536/0/0]
Mar  5 13:19:33 service198 kernel: [21263.646119] Lustre: Mounted nbptest3-client
Mar  5 13:20:02 service198 systemd[1]: Created slice User Slice of root.
Mar  5 13:20:02 service198 systemd[1]: Started Session 216 of user root.
Mar  5 13:20:02 service198 systemd[1]: Started Session 214 of user root.
Mar  5 13:20:02 service198 systemd[1]: Started Session 215 of user root.
Mar  5 13:20:03 service198 systemd[1]: Removed slice User Slice of root.
Mar  5 13:20:28 service198 kernel: [21318.585281] LustreError: 33188:0:(lmv_obd.c:778:lmv_hsm_ct_register()) nbptest3-clilmv-ffffa0b793817000: iocontrol MDC nbptest3-MDT0001_UUID on MDT idx 1 cmd 401866d5: err = -6
Mar  5 13:20:28 service198 kernel: [21318.603000] VFS: Close: file count is 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;On the cmd line&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
service198 ~ # lhsmtool_posix --daemon --hsm-root /mnt/pcc /nobackuptest3
lhsmtool_posix: 1583443391.886380 lhsmtool_posix[33322]: action=0 src=(&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;) dst=(&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;) mount_point=/nobackuptest3
service198 ~ # lhsmtool_posix: cannot start copytool on &lt;span class=&quot;code-quote&quot;&gt;&apos;/nobackuptest3&apos;&lt;/span&gt;: No such device or address (6)
lhsmtool_posix: 1583443391.920160 lhsmtool_posix[33323]: cannot start copytool &lt;span class=&quot;code-keyword&quot;&gt;interface&lt;/span&gt;: No such device or address (6)
lhsmtool_posix: 1583443391.920277 lhsmtool_posix[33323]: process finished, errs: 0 major, 0 minor, rc=-6 (No such device or address)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Mounted Filesystem&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
Filesystem                     1K-blocks     Used    Available Use% Mounted on
devtmpfs                        16300832        0     16300832   0% /dev
tmpfs                           16315784        4     16315780   1% /dev/shm
tmpfs                           16315784    14672     16301112   1% /run
/dev/sda32                     237959828 13620136    212245332   7% /
tmpfs                           16315784        0     16315784   0% /sys/fs/cgroup
/dev/sda11                       1176704    72300      1042964   7% /boot
/dev/nvme0n1                  1537235176 46143840   1412934264   4% /mnt/pcc
10.151.27.53@o2ib:/nbptest3 311935815440    14440 296206997160   1% /nobackuptest3
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
service198 /nobackuptest3 # lctl dl
  0 UP mgc MGC10.151.27.53@o2ib eddb5d50-3b93-4 4
  1 UP lov nbptest3-clilov-ffffa0b793817000 a30aa14f-9ea3-4 3
  2 UP lmv nbptest3-clilmv-ffffa0b793817000 a30aa14f-9ea3-4 4
  3 UP mdc nbptest3-MDT0001-mdc-ffffa0b793817000 a30aa14f-9ea3-4 4
  4 UP mdc nbptest3-MDT0000-mdc-ffffa0b793817000 a30aa14f-9ea3-4 4
  5 UP osc nbptest3-OST0005-osc-ffffa0b793817000 a30aa14f-9ea3-4 4
  6 UP osc nbptest3-OST0003-osc-ffffa0b793817000 a30aa14f-9ea3-4 4
  7 UP osc nbptest3-OST0007-osc-ffffa0b793817000 a30aa14f-9ea3-4 4
  8 UP osc nbptest3-OST0004-osc-ffffa0b793817000 a30aa14f-9ea3-4 4
  9 UP osc nbptest3-OST0009-osc-ffffa0b793817000 a30aa14f-9ea3-4 4
 10 UP osc nbptest3-OST0001-osc-ffffa0b793817000 a30aa14f-9ea3-4 4
 11 UP osc nbptest3-OST0008-osc-ffffa0b793817000 a30aa14f-9ea3-4 4
 12 UP osc nbptest3-OST0000-osc-ffffa0b793817000 a30aa14f-9ea3-4 4
 13 UP osc nbptest3-OST0006-osc-ffffa0b793817000 a30aa14f-9ea3-4 4
 14 UP osc nbptest3-OST0002-osc-ffffa0b793817000 a30aa14f-9ea3-4 4
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="264697" author="mhanafi" created="Thu, 5 Mar 2020 21:36:26 +0000"  >&lt;p&gt;We can close this I figured out the issue. I forgot about the second MDT and didn&apos;t enable hsm_control on the second MDT. Its working now.&lt;/p&gt;</comment>
                            <comment id="264698" author="beevans" created="Thu, 5 Mar 2020 21:39:48 +0000"  >&lt;p&gt;Resolved by user&lt;/p&gt;</comment>
                    </comments>
                    <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|i00uwf:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>