<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hold on a sec - are you saying I can't run lfsck on a mounted drive?<div><br></div><div>From the 1.8 Lustre Manual:<br><div><br></div><div><span style="background-color: rgb(255, 255, 255);"><font face="helvetica, sans-serif" size="3"><b>Make the mdsdb file and all ostdb files available on a </b></font><font face="Helvetica" size="5"><b>mounted client</b></font><font face="helvetica, sans-serif" size="3"><b> and run </b></font></span><kbd class="Command" style="font-family: courier; white-space: pre; font-size: medium; background-color: rgb(255, 255, 255);">lfsck</kbd><span style="font-family: helvetica, sans-serif; font-size: medium; font-weight: bold; background-color: rgb(255, 255, 255);"> to examine the file system. Optionally, correct the defects found by lfsck.</span></div><div><font face="helvetica, sans-serif" size="3"><span style="background-color: rgb(255, 255, 255);"><b><br></b></span></font></div><div><font face="helvetica, sans-serif" size="3"><span style="background-color: rgb(255, 255, 255);"><b><br></b></span></font><div>My filesystem MDS needs to be rebooted once a day at the moment, this is why I need to fix these issues.</div><div apple-content-edited="true">
<span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><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><br style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br></span><br style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"></span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"></span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"></span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><img height="87" width="253" apple-inline="yes" id="B0C5A44E-2664-459C-B093-2D203B34CD52" apple-width="yes" apple-height="yes" src="cid:3340953947_834664"></span><br style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">Capital Markets CRC Ltd - Confidential</span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;"> </span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">Communication</span><br style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">The information contained in this e-mail is</span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;"> </span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">confidential.  It is intended for the addressee only.</span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">  </span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">If you receive this e-mail by mistake please</span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;"> </span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">promptly inform us by reply e-mail and then delete</span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;"> </span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">the e-mail and destroy any printed copy. You must</span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;"> </span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">not disclose or use in any way the information in the</span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;"> </span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">e-mail. There is no warranty that this e-mail is error</span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;"> </span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">or virus free. It may be a private communication,</span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;"> </span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">and if so, does not represent the views of the</span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;"> </span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">CMCRC and its associates.  If it is a private</span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;"> </span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">communication, care should be taken in opening it</span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;"> </span><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">to ensure that undue offence is not given.</span><br style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
</span></div>
<br><div><div>On 26 Jun 2014, at 2:20 pm, Dilger, Andreas <<a href="mailto:andreas.dilger@intel.com">andreas.dilger@intel.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">What version of Lustre are you using, and do you ever use "lfs migrate" or "lfs_migrate" to migrate files onto new OSTs? There was a bug that would cause orphan inodes on the MDS after migration.<br><br>This does result in some space leakage, but unless you have a large problem there is no requirement to run lfsck, which can take a long time.<br><br>The new LFSCK that is in the 2.6 release will be able to find and repair these objects while the filesystem is mounted.<br><br>Cheers, Andreas<br><br>On Jun 23, 2014, at 17:12, "Alastair Ferguson" <<a href="mailto:aferguson@cmcrc.com">aferguson@cmcrc.com</a><<a href="mailto:aferguson@cmcrc.com">mailto:aferguson@cmcrc.com</a>>> wrote:<br><br>I have run:<br><br>e2fsck -n -v —-mdsdb /tmp/mdsdb /dev/mapper/mpath1p1 >> /tmp/mdsdb_results2.txt<br><br>On my MDS as it is crashing regularly and it says I have unattached inodes which means presumably I just have to run lfsck -l -v after I have run the e2fsck on the OSTs against the MDSDB to put them into lost+found.<br><br>I couldn’t do this before because when this corruption originally happened it wouldn’t let me run e2fsck on one of the OSS’s because it had external journals but I discovered (in part by what Andreas said on Friday) that I can remove the journal and then recreate it internally thereby allowing me to run e2fsck and therefore lfsck correctly.<br><br>So my question is, this is just a corruption in the MDS - i.e. metadata not the OSTs so does that mean I won’t lose any actual data files, just file references? What data loss should I expect?<br><br>Let me know.<br><br>Thanks!<br><br>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><<a href="http://www.cmcrc.com">http://www.cmcrc.com</a>><br><br><br><image.png><br>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.<br><br><br>_______________________________________________<br>Lustre-discuss mailing list<br><a href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a><<a href="mailto:Lustre-discuss@lists.lustre.org">mailto:Lustre-discuss@lists.lustre.org</a>><br><a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br></blockquote></div><br></div></div></body></html>