Sunil and Saar - thanks for the quick replies!!<br><br>Quick follow-up question: would the 11g asmcmd &quot;md_backup&quot; command also be able to quickly rebuild all of the disk header information without losing any data?
<br><br><br><div><span class="gmail_quote">On 12/13/07, <b class="gmail_sendername">Saar Maoz</b> &lt;<a href="mailto:Saar.Maoz@oracle.com">Saar.Maoz@oracle.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>To avoid confusion, the paragraph I wrote is in context of ASM&#39;s<br>management of superblock, not OCFS2.&nbsp;&nbsp;OCFS2 was already responded to by<br>Sunil in another reply.<br><br>Regards,<br><br>Saar.<br><br>--<br>&nbsp;&nbsp; __&nbsp;&nbsp;_&nbsp;&nbsp;&nbsp;&nbsp;_&nbsp;&nbsp;__&nbsp;&nbsp;&nbsp;&nbsp;_ _&nbsp;&nbsp; _&nbsp;&nbsp; _ ___ _____________________________
<br>&nbsp;&nbsp;((&nbsp;&nbsp;/\\&nbsp;&nbsp;/\\ ||)&nbsp;&nbsp;|\V/| /\\ /\\ &gt;/ Consulting Software Engineer<br>&nbsp;&nbsp;_))//-\\//-\\||\&nbsp;&nbsp;|||||//-\\\\//&lt;_ Oracle Corporation<br>&nbsp;&nbsp;HQ: 650.50-mixOS&nbsp;&nbsp;WK: 510.222.4224 <a href="mailto:Saar.Maoz@oracle.com">Saar.Maoz@oracle.com
</a>&nbsp;&nbsp;4op441<br>&nbsp;&nbsp;\\\\\\\\50-64967\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\<br>&nbsp;&nbsp;///Share your knowledge with others and compete with yourself///<br><br><br>On Thu, 13 Dec 2007, Saar Maoz wrote:<br><br>&gt; Date: Thu, 13 Dec 2007 20:28:44 +0200 (Jerusalem Standard Time)
<br>&gt; From: Saar Maoz &lt;<a href="mailto:Saar.Maoz@oracle.com">Saar.Maoz@oracle.com</a>&gt;<br>&gt; To: Jeremy Schneider &lt;<a href="mailto:jeremy.schneider@ardentperf.com">jeremy.schneider@ardentperf.com</a>&gt;<br>
&gt; Cc: <a href="mailto:ocfs2-users@oss.oracle.com">ocfs2-users@oss.oracle.com</a><br>&gt; Subject: Re: [Ocfs2-users] superblock backups, ASM vs OCFS2<br>&gt;<br>&gt; Jermey,<br>&gt;<br>&gt; In <a href="http://11.1.0.7">
11.1.0.7</a> (and beyond) we will have a backup of the disk header (the first<br>&gt; 4k).&nbsp;&nbsp;Prior to that, we have been able in most circumstances to reconstruct<br>&gt; the disk header using KFED.&nbsp;&nbsp;KFED will still be the tool to restore the disk
<br>&gt; header going forward, it will just be a simpler, more reliable procedure.<br>&gt;<br>&gt; Regards,<br>&gt;<br>&gt; Saar.<br>&gt;<br>&gt; --<br>&gt;&nbsp;&nbsp;__&nbsp;&nbsp;_&nbsp;&nbsp;&nbsp;&nbsp;_&nbsp;&nbsp;__&nbsp;&nbsp;&nbsp;&nbsp;_ _&nbsp;&nbsp; _&nbsp;&nbsp; _ ___ _____________________________
<br>&gt; ((&nbsp;&nbsp;/\\&nbsp;&nbsp;/\\ ||)&nbsp;&nbsp;|\V/| /\\ /\\ &gt;/ Consulting Software Engineer<br>&gt; _))//-\\//-\\||\&nbsp;&nbsp;|||||//-\\\\//&lt;_ Oracle Corporation<br>&gt; HQ: 650.50-mixOS&nbsp;&nbsp;WK: 510.222.4224 <a href="mailto:Saar.Maoz@oracle.com">
Saar.Maoz@oracle.com</a>&nbsp;&nbsp;4op441<br>&gt; \\\\\\\\50-64967\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\<br>&gt; ///Share your knowledge with others and compete with yourself///<br>&gt;<br>&gt;<br>&gt; On Thu, 13 Dec 2007, Jeremy Schneider wrote:
<br>&gt;<br>&gt;&gt; Date: Thu, 13 Dec 2007 10:58:44 -0600<br>&gt;&gt; From: Jeremy Schneider &lt;<a href="mailto:jeremy.schneider@ardentperf.com">jeremy.schneider@ardentperf.com</a>&gt;<br>&gt;&gt; To: <a href="mailto:ocfs2-users@oss.oracle.com">
ocfs2-users@oss.oracle.com</a><br>&gt;&gt; Subject: [Ocfs2-users] superblock backups, ASM vs OCFS2<br>&gt;&gt;<br>&gt;&gt; [Also posted to Oracle-L]<br>&gt;&gt;<br>&gt;&gt; Just wondering, does anyone know much about &quot;superblock&quot; backups in ASM vs
<br>&gt;&gt; OCFS2?<br>&gt;&gt;<br>&gt;&gt; I ran into an interesting case a month or so back where someone had<br>&gt;&gt; accidentally tried to initialize their ASM disks with linux LVM...&nbsp;&nbsp;and<br>&gt;&gt; written the LVM headers to the disk.&nbsp;&nbsp;It was just a few bytes at the very
<br>&gt;&gt; top of the disk - but it was enough to totally hose ASM.&nbsp;&nbsp;Which started me<br>&gt;&gt; thinking, &quot;if this was a filesystem then I&#39;d have a backup superblock that<br>&gt;&gt; I<br>&gt;&gt; could recover&quot;.&nbsp;&nbsp;Who knows - maybe ASM has a backup of its header block -
<br>&gt;&gt; but it&#39;s all proprietary and if there&#39;s a tool that will recover an ASM<br>&gt;&gt; header then it&#39;s probably buried at Oracle support somewhere.<br>&gt;&gt;<br>&gt;&gt; Looks like OCFS2 includes superblock backups since this patchset:
<br>&gt;&gt; <a href="http://lkml.org/lkml/2007/1/22/148">http://lkml.org/lkml/2007/1/22/148</a><br>&gt;&gt;<br>&gt;&gt; Not sure if ckfs will recover them but since it&#39;s open source it&#39;d be<br>&gt;&gt; trivial to put together a utility that would recover a superblock.
<br>&gt;&gt;<br>&gt;&gt; This seems to me to be a great reason to choose OCFS2 over ASM.&nbsp;&nbsp;Recovering<br>&gt;&gt; a backup superblock is MUCH faster than recreating the entire volume and<br>&gt;&gt; restoring data from backup!!!&nbsp;&nbsp;I don&#39;t even know if you could use dd to try
<br>&gt;&gt; to backup your ASM disk headers - since it&#39;s proprietary I don&#39;t know<br>&gt;&gt; what&#39;s<br>&gt;&gt; in those blocks.<br>&gt;&gt;<br>&gt;&gt; Anyone have any thoughts on this?&nbsp;&nbsp;Is there anything I&#39;m missing here?
<br>&gt;&gt;<br>&gt;&gt; Jeremy<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt; Jeremy Schneider<br>&gt;&gt; Chicago, IL<br>&gt;&gt; <a href="http://www.ardentperf.com/category/technical">http://www.ardentperf.com/category/technical
</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>_______________________________________________<br>Ocfs2-users mailing list<br><a href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a><br><a href="http://oss.oracle.com/mailman/listinfo/ocfs2-users">
http://oss.oracle.com/mailman/listinfo/ocfs2-users</a><br><br><br>_______________________________________________<br>Ocfs2-users mailing list<br><a href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a><br>
<a href="http://oss.oracle.com/mailman/listinfo/ocfs2-users">http://oss.oracle.com/mailman/listinfo/ocfs2-users</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Jeremy Schneider<br>Chicago, IL<br><a href="http://www.ardentperf.com/category/technical">
http://www.ardentperf.com/category/technical</a><br>