<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">OK, bit of a weird one, so 3 OSTs are 100%, but there is 30TB of free space around the other OSTs, so I do:<div><br></div><div><b>lfs df -h</b></div><div><br></div><div>Get this part as one of the OSTs I need to deactivate:</div><div><br></div><div>AC3-OST000c_UUID           14.3T       13.6T       87.4M 100% /data[OST:12]</div><div><br></div><div>then</div><div><br></div><div><b>lctl dl</b></div><div><br></div><div> 19 UP osc AC3-OST000c-osc AC3-mdtlov_UUID 5</div><div><br></div><div>Then </div><div><br></div><div><b>lctl --device 19 deactivate</b></div><div><b><br></b></div><div>then<b> </b></div><div><b><br></b></div><div><b>lctl dl:</b></div><div><b><br></b></div><div> 19 IN osc AC3-OST000c-osc AC3-mdtlov_UUID 5</div><div><br></div><div>Should be read only right>>?</div><div><br></div><div>Then</div><div><br></div><div><strong style="font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 17.328125px; text-align: left; background-color: rgb(255, 255, 255); ">lfs getstripe -O AC3-OST000c_UUID -rv -d /data | grep /data >> ost000c_raw.txt</strong></div><div><div style="text-align: left;"><font face="Arial, Helvetica, FreeSans, sans-serif" size="4"><span style="line-height: 17px;"><b><br></b></span></font></div><div style="text-align: left;"><font face="Arial, Helvetica, FreeSans, sans-serif" size="4"><span style="line-height: 17px;">To find the files in the filesystem (/data) and strip out all the stuff you don't need.</span></font></div><div style="text-align: left;"><font face="Arial, Helvetica, FreeSans, sans-serif" size="4"><span style="line-height: 17px;"><br></span></font></div><div style="text-align: left;"><font face="Arial, Helvetica, FreeSans, sans-serif" size="4"><span style="line-height: 17px;">Then:</span></font></div><div style="text-align: left;"><font face="Arial, Helvetica, FreeSans, sans-serif" size="4"><span style="line-height: 17px;"><b><br></b></span></font></div><div style="text-align: left;"><b>while read line; do cp -p "$line" "$line.___bak"; rm -f "$line"; mv "$line.___bak" "$line";  done < ost000c_raw.txt</b></div><div style="text-align: left;"><br></div><div style="text-align: left;">This should move the data off the OST but it doesn't. I have used this procedure before to remove data from a whole server (which worked) and I can see when I  <b>lfs df -h </b>the ost emptying but in this case it goes up and down suggesting it is copying BACK to the same OST despite the fact it is IN not UP when <b>lctl dl </b>is run.</div><div style="text-align: left;"><br></div><div style="text-align: left;">How can I get files off this as I get errors spaying no space on device??</div><div><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Tahoma; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; 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><span><br class="Apple-interchange-newline"><font class="Apple-style-span" face="Arial">Alastair Ferguson<br>IT Manager<br>Capital Markets CRC Limited (CMCRC)<br>Telephone: +61 2 8088 4222<br>Mobile: +61 424 235 159<br>Fax: +61 2 8088 4201<br><a href="http://www.cmcrc.com">www.cmcrc.com</a> </font></span></div><div><span><br></span></div></span><br class="Apple-interchange-newline"><span></span><span></span><span></span><span><img height="87" width="253" id="8683cb93-a491-408e-81be-152b1608612a" apple-width="yes" apple-height="yes" src="cid:3340953947_834664"></span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Tahoma; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: 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: Tahoma; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; 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: Tahoma; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; 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: Tahoma; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; 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="font-family: Helvetica; "><br></span><font class="Apple-style-span" face="Arial" size="1"><span class="Apple-style-span" style="font-size: 9px; ">Capital Markets CRC Ltd - Confidential Communication<br>The information contained in this e-mail is confidential.  It is intended for the addressee only.  If you receive this e-mail by mistake please promptly inform us by reply e-mail and then delete the e-mail and destroy any printed copy. You must not disclose or use in any way the information in the e-mail. There is no warranty that this e-mail is error or virus free. It may be a private communication, and if so, does not represent the views of the CMCRC and its associates.  If it is a private communication, care should be taken in opening it to ensure that undue offence is not given.</span></font><span class="Apple-style-span" style="font-family: Helvetica; "><br></span><span class="Apple-style-span" style="font-family: Helvetica; "><br></span></span></span></span></span>
</span></div>
<br></div></div></body></html>