<div dir="ltr">xfs.  Fiddling with it.  It&#39;s completely possible/plausible it could be a bad superblock<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 26, 2016 at 2:32 PM, Charles Burton <span dir="ltr">&lt;<a href="mailto:charles.d.burton@gmail.com" target="_blank">charles.d.burton@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Oh, what filesystem is it too?  I know xfs has special tools for dealing with it.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 26, 2016 at 8:31 PM, Charles Burton <span dir="ltr">&lt;<a href="mailto:charles.d.burton@gmail.com" target="_blank">charles.d.burton@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>This was done on Fedora 23 with LVM for everything except /boot as well.  Dump runs on the VFS layer not the device layer, LVM is technically device layer think of it like this:<br><br></div>file -&gt; filesysystem -&gt; lvm -&gt; device<br><br></div>Dump operates at the filesystem layer, so getting a bad superblock means that you likely actually have a bad superblock.  Try running fsck against that filesystem and see what you get.<br><div><div><br></div></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 26, 2016 at 8:19 PM, Charles Burton <span dir="ltr">&lt;<a href="mailto:charles.d.burton@gmail.com" target="_blank">charles.d.burton@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>If you want you can also add compression:<br><br></div>dump -0u -f - /home/mbean | gzip &gt; /mnt/mbean.dump.gz<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 26, 2016 at 8:16 PM, Charles Burton <span dir="ltr">&lt;<a href="mailto:charles.d.burton@gmail.com" target="_blank">charles.d.burton@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>I just verified that it works fine on LVM.  It should look like this:<br><br></div>dump -0u -f /mnt/mbean.dump /home/mbean<br><br></div>The /mnt/mbean.dump is the destination file to dump to.  The /home/mbean is filesystem you wish to dump from.  <br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 26, 2016 at 8:10 PM, Mike Bean <span dir="ltr">&lt;<a href="mailto:beandaemon@gmail.com" target="_blank">beandaemon@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sure looks that way.  Works on physical devices, didn&#39;t seem to care for my syntax.   It&#39;s dump -0u -f (destination) (source)?<div><br></div><div><br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 26, 2016 at 2:08 PM, Charles Burton <span dir="ltr">&lt;<a href="mailto:charles.d.burton@gmail.com" target="_blank">charles.d.burton@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>It doesn&#39;t work quite like you&#39;re thinking.  Dump doesn&#39;t care about LVM, not at least as far as I know.  Try:<br><br></div>dump -0u -f /mnt/mbean /home/mbean<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 26, 2016 at 8:04 PM, Mike Bean <span dir="ltr">&lt;<a href="mailto:beandaemon@gmail.com" target="_blank">beandaemon@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for the tip.   At least at first blush it looks like I can&#39;t use dump and restore.   They only work on devices and not on logical volumes.  At least not on my logical volumes (I&#39;m getting bad magic number in super-block.)   I think I&#39;m going to play with it a  little while longer, see if I can figure out if it really can&#39;t handle or if I&#39;m just PEBKAC.   Could also be this box.  I&#39;m testing it on a box that I don&#39;t really care if it breaks<div><br></div><div><div>dump -0u -f /mnt/mbean /dev/mapper/rootvg-homelv</div><div>  DUMP: Date of this level 0 dump: Tue Apr 26 14:00:16 2016</div><div>  DUMP: Dumping /dev/mapper/rootvg-homelv (/home) to /mnt/mbean</div><div>/dev/mapper/rootvg-homelv: Bad magic number in super-block while opening filesystem</div><div>  DUMP: The ENTIRE dump is aborted.</div></div><div><br></div><div>Mike B</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 25, 2016 at 12:34 PM, Chris Fedde <span dir="ltr">&lt;<a href="mailto:chris@fedde.us" target="_blank">chris@fedde.us</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I say this every time backups get mentioned but I have to say it again.  I like dump.  Dump and restore are a perfect set of tools that solve the backup problem neatly and flexibly.  And so far have not let me down for either fat finger recovery or for full disk recovery.   </p>
<p dir="ltr">I find it silly that this tool that is integrated with the OS and woks so well is overlooked by everyone. Even by the certification folks.</p>
<p dir="ltr">Let me say it again.  I like dump. Maybe I need to write up a blog article or something.</p><div><div>
<div class="gmail_quote">On Apr 19, 2016 6:33 PM, &quot;Mike Bean&quot; &lt;<a href="mailto:beandaemon@gmail.com" target="_blank">beandaemon@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Yeah, I know ; )<br><br></div>Mike B<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 19, 2016 at 3:49 PM, David L. Anselmi <span dir="ltr">&lt;<a href="mailto:anselmi@anselmi.us" target="_blank">anselmi@anselmi.us</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>Mike Bean wrote:<br>
&gt; Theorhetically yes, and we did that, but as predicted, since I #1 noticed<br>
&gt; the box was down and #2 attempted to fix it, I therefore have ownership of<br>
&gt; it now.   Have to look into a cheap scale able method to get actual backups<br>
&gt; and stop depending on snap shots.   I suppose I could just back it up.  But<br>
&gt; it&#39;s only a matter of time before someone notices the Jenkins box has<br>
&gt; backups and complains that all the other boxes don&#39;t.<br>
<br>
</span>You need to get a new job. Life&#39;s too short...<br>
<br>
And for everyone else, this is an example why you vote against whatever the government wants to<br>
spend money on.<br>
<br>
Dave<br>
<div><div>_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org" target="_blank">clue@cluedenver.org</a><br>
For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" rel="noreferrer" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br>
</div></div></blockquote></div><br></div>
<br>_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org" target="_blank">clue@cluedenver.org</a><br>
For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" rel="noreferrer" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br></blockquote></div>
</div></div><br>_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org" target="_blank">clue@cluedenver.org</a><br>
For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" rel="noreferrer" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org" target="_blank">clue@cluedenver.org</a><br>
For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" rel="noreferrer" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org" target="_blank">clue@cluedenver.org</a><br>
For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" rel="noreferrer" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org" target="_blank">clue@cluedenver.org</a><br>
For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" rel="noreferrer" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org">clue@cluedenver.org</a><br>
For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" rel="noreferrer" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br></blockquote></div><br></div>