<div dir="ltr"><blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"></blockquote></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span style="font-size:13px;font-family:arial,sans-serif">What's a "RAID NAS controller"? Details, please, or we can't help<br></span><span style="font-size:13px;font-family:arial,sans-serif">you.</span></blockquote>
<div><br></div><div>Maybe I am not expressing my self clearly. That is what I meant: <br><a href="http://www.starline.de/produkte/raid-systeme/infortrend-raid-systeme/eonstor/es-a08u-g2421/" target="_blank">http://www.starline.de/produkte/raid-systeme/infortrend-raid-systeme/eonstor/es-a08u-g2421/</a><br>
<br><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px;line-height:20.15625px">It is a piece of hardware that we use to apply RAIDx (normally 1 or </span><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px;line-height:20.15625px">5) over physical disks instead of plugging them on the storage server and applying RAID via software or something else. It exports the volumes using an SCSI channel. The devices are seen on the server as normal sd*, as if they were normal physical devices.</span><br>
</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">So, hardware RAID5, lost a drive, rebuild on replace, filesystem in</span><br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">
<span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">a bad way after rebuild?</span></blockquote><div> </div><div><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px;line-height:20.15625px">That is exactly what happened, the RAID5 array lost a drive, and after we replaced and rebuild it, the filesystem was not mounting anymore. Teorically, this should not affect the filesystem since the RAID5 would have recovered any lost information. </span><br>
</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/16 Dave Chinner <span dir="ltr"><<a href="mailto:david@fromorbit.com" target="_blank">david@fromorbit.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Sun, Dec 15, 2013 at 10:34:43PM -0200, Rafael Weingartner wrote:<br>
> So, sadly I went for the big hammer option, I thought that there were no<br>
> other options ;).<br>
><br>
> I'm guessing it can't find or validate the primary superblock, so<br>
> > it's looking for a secondary superblock. Please post the output of<br>
> > the running repair so we can see exactly what it is doing.<br>
><br>
> That is exactly what it seems that it is happening.<br>
><br>
</div>> *dmesg erros:*<br>
<div><div class="h5">><br>
> > 81.927888] Pid: 878, comm: mount Not tainted 3.5.0-44-generic<br>
> > #67~precise1-Ubuntu<br>
> > [ 81.927891] Call Trace:<br>
> > [ 81.927941] [<ffffffffa01d460f>] xfs_error_report+0x3f/0x50 [xfs]<br>
> > [ 81.927972] [<ffffffffa01ecd66>] ? xfs_free_extent+0xe6/0x130 [xfs]<br>
> > [ 81.927990] [<ffffffffa01ea318>] xfs_free_ag_extent+0x528/0x730 [xfs]<br>
> > [ 81.928007] [<ffffffffa01e8e07>] ? kmem_zone_alloc+0x67/0xe0 [xfs]<br>
> > [ 81.928033] [<ffffffffa01ecd66>] xfs_free_extent+0xe6/0x130 [xfs]<br>
> > [ 81.928055] [<ffffffffa021bb10>] xlog_recover_process_efi+0x170/0x1b0<br>
> > [xfs]<br>
> > [ 81.928075] [<ffffffffa021cd56>]<br>
> > xlog_recover_process_efis.isra.8+0x76/0xd0 [xfs]<br>
> > [ 81.928097] [<ffffffffa0220a17>] xlog_recover_finish+0x27/0xd0 [xfs]<br>
> > [ 81.928119] [<ffffffffa022812c>] xfs_log_mount_finish+0x2c/0x30 [xfs]<br>
> > [ 81.928140] [<ffffffffa0223620>] xfs_mountfs+0x420/0x6b0 [xfs]<br>
> > [ 81.928156] [<ffffffffa01e2ffd>] xfs_fs_fill_super+0x21d/0x2b0 [xfs]<br>
> > [ 81.928163] [<ffffffff8118b716>] mount_bdev+0x1c6/0x210<br>
> > [ 81.928179] [<ffffffffa01e2de0>] ? xfs_parseargs+0xb80/0xb80 [xfs]<br>
> > [ 81.928194] [<ffffffffa01e10a5>] xfs_fs_mount+0x15/0x20 [xfs]<br>
> > [ 81.928198] [<ffffffff8118c563>] mount_fs+0x43/0x1b0<br>
> > [ 81.928202] [<ffffffff811a5ee3>] ? find_filesystem+0x63/0x80<br>
> > [ 81.928206] [<ffffffff811a7246>] vfs_kern_mount+0x76/0x120<br>
> > [ 81.928209] [<ffffffff811a7c34>] do_kern_mount+0x54/0x110<br>
> > [ 81.928212] [<ffffffff811a9934>] do_mount+0x1a4/0x260<br>
> > [ 81.928215] [<ffffffff811a9e10>] sys_mount+0x90/0xe0<br>
> > [ 81.928220] [<ffffffff816a7729>] system_call_fastpath+0x16/0x1b<br>
> > [ 81.928229] XFS (dm-0): Failed to recover EFIs<br>
> > [ 81.928232] XFS (dm-0): log mount finish failed<br>
> > [ 81.972741] XFS (dm-1): Mounting Filesystem<br>
> > [ 82.195661] XFS (dm-1): Ending clean mount<br>
> > [ 82.203627] XFS (dm-2): Mounting Filesystem<br>
> > [ 82.479044] XFS (dm-2): Ending clean mount<br>
><br>
> Actually, the problem was a little bit more complicated. This LVM2<br>
> partition, was using a physical device (PV) that is exported by a RAID NAS<br>
> controller.<br>
<br>
</div></div>What's a "RAID NAS controller"? Details, please, or we can't help<br>
you.<br>
<div class="im"><br>
> This volume exported by the controller was created using a RAID<br>
> 5, there was a hardware failure in one of the HDs of the array and the<br>
> volume got unavailable, till we replaced the bad driver with a new one and<br>
> the array rebuild finished.<br>
<br>
</div>So, hardware RAID5, lost a drive, rebuild on replace, filesystem in<br>
a bad way after rebuild?<br>
<div class="HOEnZb"><div class="h5"><br>
Cheers,<br>
<br>
Dave.<br>
--<br>
Dave Chinner<br>
<a href="mailto:david@fromorbit.com">david@fromorbit.com</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Rafael Weingärtner</div>
</div>