<div dir="ltr">Hi Darrick,<div><br></div><div>Thanks for the response.</div><div><br></div><div>Could you please clarify if there is any strong reason behind in stating to use xfs_metadump and xfs_mdrestore as just debugging tools in their respective man pages ?</div><div><br></div><div>We tried xfsdump, its backing up the rtdev partition (/dev/sda1) as well. I have around 450GB worth of recordings in my /dev/sda1 (rtdev).</div><div>I don't want to use any intermediate storage to backup all these data.</div><div><br></div><div>Yes, my aim is to backup the metadata (dont want to touch my rtdev) on /dev/sda2, reformat "/dev/sda2" with crypt layer, restore metadata back on /dev/sda2.</div><div>At the end, I am expecting my rtdev untouched and should automatically appear after encrypting my /dev/sda2.</div><div><br></div><div>Note:</div><div>/dev/sda2- xfs partition</div><div>/dev/sda1 - xfs realtime partition</div><div><br></div><div class="gmail_extra"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div>Thank you,</div><div>Murali<br></div></div></div>
<br><div class="gmail_quote">On Tue, Sep 27, 2016 at 1:04 PM, Darrick J. Wong <span dir="ltr"><<a href="mailto:darrick.wong@oracle.com" target="_blank">darrick.wong@oracle.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Sep 27, 2016 at 09:49:11AM -0400, murali krishna wrote:<br>
> Hi All,<br>
><br>
> Got your email id from Nathan Scott.<br>
><br>
> Could you please clarify the reasons behind stating below statement in<br>
> xfs_metadump man page.<br>
><br>
><br>
><br>
</span>> *xfs_metadump should not be used for any purposes other than for<br>
> debugging and reporting filesystem problems*<br>
<span class="">> Man page: <a href="http://man7.org/linux/man-pages/man8/xfs_metadump.8.html" rel="noreferrer" target="_blank">http://man7.org/linux/man-<wbr>pages/man8/xfs_metadump.8.html</a><br>
><br>
> I am trying to encrypt my existing xfs drive (/dev/sda2) and would like to<br>
> backup metadata using xfs_metadump and restore it back using xfs_mdrestore<br>
> after encrypting my drive. In order to retain entire contents of my<br>
> realtime partition (/dev/sda1), I need to perform this step.<br>
><br>
> Can I use xfs_metadump to backup meta-data of xfs and restore it back<br>
> successfully ?<br>
> Why xfs_metadump should be specifically used as debugging tool ? Please<br>
> clarify ?<br>
<br>
</span>Uh.... if your goal is to back up data, reformat the storage with a crypto<br>
layer, and then restore the data, why not just use xfsdump/xfsrestore?<br>
Your data will end up all nicely defragmented, too.<br>
<br>
--D<br>
<br>
><br>
> Thanks in Advance,<br>
> Murali<br>
<br>
> ______________________________<wbr>_________________<br>
> xfs mailing list<br>
> <a href="mailto:xfs@oss.sgi.com">xfs@oss.sgi.com</a><br>
> <a href="http://oss.sgi.com/mailman/listinfo/xfs" rel="noreferrer" target="_blank">http://oss.sgi.com/mailman/<wbr>listinfo/xfs</a><br>
<br>
</blockquote></div><br></div></div>