<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:07:57 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-14228] mv file operation completed with different results to encrypted directory and to unencrypted</title>
                <link>https://jira.whamcloud.com/browse/LU-14228</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Create big file, more than half of file system size. File should fit to file system. &lt;br/&gt;
 Check file system size.&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;
[root@trevis-59vm10 ~]# dd &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt;=/dev/vda of=/mnt/lustre/sda bs=1M count=500
[root@trevis-59vm10 ~]# du -sh /mnt/lustre/sda
501M    /mnt/lustre/sdc

[root@trevis-59vm10 ~]# lfs df -h
UUID                       bytes        Used   Available Use% Mounted on
lustre-MDT0000_UUID       122.1M        2.6M      108.6M   3% /mnt/lustre[MDT:0]
lustre-OST0000_UUID       305.8M      254.3M       24.9M  92% /mnt/lustre[OST:0]
lustre-OST0001_UUID       305.8M      270.2M        9.0M  97% /mnt/lustre[OST:1]

filesystem_summary:       611.5M      524.6M       33.9M  94% /mnt/lustre
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Move file to unencrypted directory. Result was successful. File renamed.&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;
[root@trevis-59vm10 ~]# mv /mnt/lustre/sda /mnt/lustre/sdb
[root@trevis-59vm10 ~]# du -sh /mnt/lustre/sdb
501M    /mnt/lustre/sdb
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Move file to encrypted directory. Result was No space left on device&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;
[root@trevis-59vm10 ~]# mv /mnt/lustre/sdb /mnt/lustre/dir1/
mv: error writing &lt;span class=&quot;code-quote&quot;&gt;&apos;/mnt/lustre/dir1/sdb&apos;&lt;/span&gt;: No space left on device

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Below are details about test environment.&lt;/p&gt;

&lt;p&gt;Clients was installed with commands:&lt;/p&gt;

&lt;p&gt;loadjenkinsbuild -j lustre-master -b 0 -n trevis-59vm10 -d el8.1 -a x86_64 -t client -p test -rv&lt;/p&gt;

&lt;p&gt;loadjenkinsbuild -j lustre-master -b 0 -n trevis-59vm12 -d ubuntu2004 -a x86_64 -t client -p test -rv&lt;/p&gt;

&lt;p&gt;Lustre client version Ubuntu 20.04. &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;
[18829.299323] Lustre: Lustre: Build Version: 2.13.57_12_g3c75d25
[18829.344486] LNet: Added LNI 10.9.6.30@tcp [8/256/0/180]
[18829.345220] LNet: Accept secure, port 988
[18830.416612] Lustre: Mounted lustre-client
 dpkg -l | grep lustre
ii  lustre-client-modules-5.4.0-40-&lt;span class=&quot;code-keyword&quot;&gt;generic&lt;/span&gt; 2.13.57-12-g3c75d25-1             amd64        Lustre Linux kernel module (kernel 5.4.0-40-&lt;span class=&quot;code-keyword&quot;&gt;generic&lt;/span&gt;)
ii  lustre-client-utils                    2.13.57-12-g3c75d25-1             amd64        Userspace utilities &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; the Lustre filesystem (client)
ii  lustre-dev                             2.13.57-12-g3c75d25-1             amd64        Development files &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; the Lustre filesystem
ii  lustre-iokit                           2.13.57-12-g3c75d25-1             amd64        Collection of benchmark tools &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; the Lustre filesystem
ii  lustre-tests                           2.13.57-12-g3c75d25-1             amd64        Test suite &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; the Lustre filesystem
ii  posix                                  1.2                               amd64        This is POSIX compliance source to test POSIX on lustre.

&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;
[24669.478523] Lustre: lustre-OST0000-osc-ffff89bba284d800: disconnect after 24s idle
[24669.479479] Lustre: Skipped 1 previous similar message
[26524.543507] Lustre: 9090:0:(policy.c:449:llcrypt_ioctl_get_policy_ex()) inode 144115205272502273: returning policy filenames_en
cryption_mode as 4, but is in fact &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;
[26766.726913] Lustre: 9128:0:(policy.c:449:llcrypt_ioctl_get_policy_ex()) inode 144115205272502273: returning policy filenames_en
cryption_mode as 4, but is in fact &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;
[28575.857999] Lustre: lustre-OST0001-osc-ffff89bba284d800: disconnect after 23s idle
[30695.439703] Lustre: lustre-OST0000-osc-ffff89bba284d800: disconnect after 24s idle
[119819.762873] Lustre: 7988:0:(client.c:2282:ptlrpc_expire_one_request()) @@@ Request sent has timed out &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; slow reply: [sent 16
08140338/real 1608140338]  req@000000005606ed07 x1686133235745664/t0(0) o104-&amp;gt;lustre-MDT0000@10.9.6.30@tcp:15/16 lens 328/224 e 0
to 1 dl 1608140345 ref 1 fl Rpc:XQr/0/ffffffff rc 0/-1 job:&apos;&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Lustre server configuration and versions&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;
[ 1427.387306] Lustre: Lustre: Build Version: 2.13.57
[ 1427.430301] LNet: Added LNI 10.9.6.27@tcp [8/256/0/180]
[ 1427.431051] LNet: Accept secure, port 988

[root@trevis-59vm9 ~]# rpm -qa | grep lustre
kernel-modules-4.18.0-147.8.1.el8_lustre.x86_64
kernel-core-4.18.0-147.8.1.el8_lustre.x86_64
lustre-2.13.57-1.el8.x86_64
kmod-lustre-osd-ldiskfs-2.13.57-1.el8.x86_64
lustre-osd-ldiskfs-mount-2.13.57-1.el8.x86_64
lustre-tests-2.13.57-1.el8.x86_64
lustre-iokit-2.13.57-1.el8.x86_64
kernel-4.18.0-147.8.1.el8_lustre.x86_64
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>Client:  2.13.57_12_g3c75d25&lt;br/&gt;
Server: 2.13.57-1</environment>
        <key id="62023">LU-14228</key>
            <summary>mv file operation completed with different results to encrypted directory and to unencrypted</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="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="1">Fixed</resolution>
                                        <assignee username="sebastien">Sebastien Buisson</assignee>
                                    <reporter username="vilapa">Vikentsi Lapa</reporter>
                        <labels>
                    </labels>
                <created>Wed, 16 Dec 2020 18:13:57 +0000</created>
                <updated>Thu, 17 Dec 2020 10:26:56 +0000</updated>
                            <resolved>Thu, 17 Dec 2020 10:26:56 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="287788" author="adilger" created="Wed, 16 Dec 2020 19:49:01 +0000"  >&lt;p&gt;Moving a file to an encrypted directory will cause it to be copied and encrypted. I think this behavior is expected, but possibly needs to be documented in the feature notes. &lt;/p&gt;</comment>
                            <comment id="287846" author="sebastien" created="Thu, 17 Dec 2020 08:20:48 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;In section &quot;30.5.1. Client-side encryption access semantics&quot; of the Lustre doc updated with content related to the client encryption feature, that you can preview via &lt;a href=&quot;https://build.whamcloud.com/job/lustre-manual-reviews/1109/artifact/lustre_manual.xhtml#managingSecurity.clientencryption.semantics&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.whamcloud.com/job/lustre-manual-reviews/1109/artifact/lustre_manual.xhtml#managingSecurity.clientencryption.semantics&lt;/a&gt; , there is a special note for this use case:&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;Note

&quot;moving&quot; an unencrypted file into an encrypted directory, e.g. with the mv program, is
implemented in userspace by a copy followed by a delete. Be aware that the original
unencrypted data may remain recoverable from free space on the disk; prefer to keep all
files encrypted from the very beginning.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So I think it covers your concern. Do you agree to close this ticket?&lt;br/&gt;
Thanks,&lt;br/&gt;
Sebastien.&lt;/p&gt;</comment>
                            <comment id="287857" author="vilapa" created="Thu, 17 Dec 2020 10:26:56 +0000"  >&lt;p&gt;Yes it can be closed because it is covered by documentation. User informed about this case and can plan move/rename operation accordingly to free disk space&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|i01hcv:</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>