<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:41:26 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-4295] removing files on deactivated OST doesn&apos;t free up space</title>
                <link>https://jira.whamcloud.com/browse/LU-4295</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;One OST is deactivated on the MDS via &quot;lctl --device 56 deactivate&quot;.&lt;/p&gt;

&lt;p&gt;Now when I try to drain the OST, I can remove (rm) files without an error message, but no space gets freed up on that OST as shown in &quot;lfs df&quot; output.&lt;/p&gt;

&lt;p&gt;I assume it only removed the inode/object on the MDS, but doesn&apos;t touch the deactivated OST, leaving all the migrated files behind as orphaned objects on the OST, which is pretty bad.&lt;/p&gt;

&lt;p&gt;If I do the same migration with the OST active, space as shown in &quot;lfs df&quot; does get freed up correctly.&lt;/p&gt;
</description>
                <environment>Lustre 2.4.1 RHEL6 2.6.32-358.18.1.el6_lustre.x86_64</environment>
        <key id="22210">LU-4295</key>
            <summary>removing files on deactivated OST doesn&apos;t free up space</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="6">Not a Bug</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="wbaudler">Wolfgang Baudler</reporter>
                        <labels>
                            <label>server</label>
                    </labels>
                <created>Fri, 22 Nov 2013 14:00:56 +0000</created>
                <updated>Fri, 1 Dec 2017 02:17:38 +0000</updated>
                            <resolved>Wed, 27 Nov 2013 19:43:54 +0000</resolved>
                                    <version>Lustre 2.4.1</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="72206" author="adilger" created="Mon, 25 Nov 2013 04:46:54 +0000"  >&lt;p&gt;The MDS keeps a log of the objects deleted on the deactivated OST (this can happen if the OST is offline for any reason), and they should be deleted if the OST is activated again.&lt;/p&gt;</comment>
                            <comment id="73467" author="wbaudler" created="Fri, 13 Dec 2013 13:31:23 +0000"  >&lt;p&gt;Well, in practice this did not work. I have reactivated the OST and then drained it with a script using&lt;/p&gt;

&lt;p&gt;lfs getstripe -v -r --obd $OST_PARAM $DIR&lt;/p&gt;

&lt;p&gt;to find all the files on the OST&lt;/p&gt;

&lt;p&gt;(since lfs_migrate is currently broken for 2.4.1)&lt;/p&gt;

&lt;p&gt;Now, after this draining is done lfs gestripe doesn&apos;t list any files any more on this OST, but lfs df still shows over 200GB of used disk space. So there must be some orphaned objects on there, presumably left over when I tried to drain the OST in a deactivated state as initially described.&lt;/p&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="31500">LU-7012</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="23911">LU-4825</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="34119">LU-7668</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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_10040" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic</customfieldname>
                        <customfieldvalues>
                                        <label>metadata</label>
            <label>server</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzw9xj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>11779</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>