<div dir="ltr">Hi folks, <div><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px;line-height:20.15625px">I am having some troubles with a XFS over one LVM partition. After an unexpected reboot, I am getting the following message when I try to mount it:</span><br>
</div><div><i>mount: Structure needs cleaning</i><br></div><div><br></div><div><br></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px;line-height:20.15625px">I tried "</span><span class="" title="sudd, judo, ludo, suds, sumo" style="padding:1px;margin:2px;font-style:italic;border-bottom-width:thin;border-bottom-style:dashed;border-bottom-color:red;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px;line-height:20.15625px">sudo</span><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px;line-height:20.15625px"> </span><span class="" title="" style="padding:1px;margin:2px;font-style:italic;border-bottom-width:thin;border-bottom-style:dashed;border-bottom-color:red;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px;line-height:20.15625px">xfs_check</span><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px;line-height:20.15625px"> /</span><span class="" title="def, deva, dv, derv, des, den, del, dec, deb, rev, nev" style="padding:1px;margin:2px;font-style:italic;border-bottom-width:thin;border-bottom-style:dashed;border-bottom-color:red;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px;line-height:20.15625px">dev/</span><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px;line-height:20.15625px">mapper/volume". Sadly, I got the message:</span></font></span><br>
</div><div>xfs_check: cannot init perag data (117)<br></div><div><i>ERROR: The filesystem has valuable metadata changes in a log which needs to</i><br></div><div><div><i>be replayed. Mount the filesystem to replay the log, and unmount it before</i></div>
<div><i>re-running xfs_check. If you are unable to mount the filesystem, then use</i></div><div><i>the xfs_repair -L option to destroy the log and attempt a repair.</i></div><div><i>Note that destroying the log may cause corruption -- please attempt a mount</i></div>
<div><i>of the filesystem before doing this</i></div></div><div><br></div><div><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px;line-height:20.15625px">So, I tried:</span><br></div>
<div><div>xfs_repair -L <br></div><div><br></div><div><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px;line-height:20.15625px">The command is running for over 3 hours </span><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px;line-height:20.15625px">and still just dots on my screen, I have no idea of what is happening. Any ideas how I can get it to work again? Or at least some work</span><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px;line-height:20.15625px"> around that would enable me to extract the data that it contains.</span><br>
</div><div><br></div><div>The server is a Ubuntu server 12.04.</div><div>The XFS version is: xfs_info version 3.1.7</div><div>If you need I can provide you with more info.</div><div><br></div><div>Thanks,</div><div><br></div>
-- <br><div dir="ltr">Rafael Weingärtner</div>
</div></div>