
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.sabayonlinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Repair_filesystem_using_fsck_on_a_raid_setup&amp;feed=atom&amp;action=history</id>
		<title>HOWTO: Repair filesystem using fsck on a raid setup - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Repair_filesystem_using_fsck_on_a_raid_setup&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Repair_filesystem_using_fsck_on_a_raid_setup&amp;action=history"/>
		<updated>2013-05-21T12:04:54Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.4</generator>

	<entry>
		<id>http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Repair_filesystem_using_fsck_on_a_raid_setup&amp;diff=6654&amp;oldid=prev</id>
		<title>Joost: HOWTO: Repair filesystem using fdck on a raid setup moved to HOWTO: Repair filesystem using fsck on a raid setup</title>
		<link rel="alternate" type="text/html" href="http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Repair_filesystem_using_fsck_on_a_raid_setup&amp;diff=6654&amp;oldid=prev"/>
				<updated>2009-04-13T20:42:46Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;a href=&quot;/index.php?title=HOWTO:_Repair_filesystem_using_fdck_on_a_raid_setup&quot; class=&quot;mw-redirect&quot; title=&quot;HOWTO: Repair filesystem using fdck on a raid setup&quot;&gt;HOWTO: Repair filesystem using fdck on a raid setup&lt;/a&gt; moved to &lt;a href=&quot;/index.php?title=HOWTO:_Repair_filesystem_using_fsck_on_a_raid_setup&quot; title=&quot;HOWTO: Repair filesystem using fsck on a raid setup&quot;&gt;HOWTO: Repair filesystem using fsck on a raid setup&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;If you need to check your filesystem on a raid setup, here is a quick way to get to it.&lt;br /&gt;
Boot your sabayon live desktop and open up a terminal and become root. (type su and the password in live is &amp;quot;root&amp;quot;)&lt;br /&gt;
There is a command that can quickly scan your raid setup it looks like this:&lt;br /&gt;
&lt;br /&gt;
{{Console| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt;sabayon sabayonuser # mdadm --examine --scan&lt;br /&gt;
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=18da210b:6e9d1d99:38c4b11d:065b4669&lt;br /&gt;
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=55af4bbb:9f0a9666:7c15b592:e914b925&lt;br /&gt;
ARRAY /dev/md2 level=raid1 num-devices=2 UUID=a9921c21:43cc1f10:fb25275b:4b619534&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
My example has 3 partitions, /boot a swap and a / partition.&lt;br /&gt;
On my / partition ''(/dev/md2 in the array)'' i'm getting a warning so in this example i'm going to check this out.&lt;br /&gt;
&lt;br /&gt;
For our next step we simply do the same but we store this output in a file so the next step can use this information.&lt;br /&gt;
&lt;br /&gt;
'''Step 1.'''&lt;br /&gt;
&lt;br /&gt;
{{Console| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt;sabayon sabayonuser # mdadm --examine --scan &amp;gt;&amp;gt; /etc/mdadm.conf&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
'''Step 2.'''&lt;br /&gt;
&lt;br /&gt;
{{Console| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt;sabayon sabayonuser # mdadm --assemble /dev/md2&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
mdadm: /dev/md2 has been started with 2 drives.&lt;br /&gt;
&lt;br /&gt;
'''Step 3.'''&lt;br /&gt;
&lt;br /&gt;
From here it works like any normal fsck.&lt;br /&gt;
&lt;br /&gt;
{{Console| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt;sabayon sabayonuser # fsck /dev/md2&lt;br /&gt;
fsck 1.41.3 (12-Oct-2008)&lt;br /&gt;
e2fsck 1.41.3 (12-Oct-2008)&lt;br /&gt;
/dev/md2 contains a file system with errors, check forced.&lt;br /&gt;
Pass 1: Checking inodes, blocks, and sizes&lt;br /&gt;
Inodes that were part of a corrupted orphan linked list found.  Fix&amp;lt;y&amp;gt;? yes&lt;br /&gt;
&lt;br /&gt;
Inode 61670074 was part of the orphaned inode list.  FIXED.&lt;br /&gt;
Inode 61671606 was part of the orphaned inode list.  FIXED.&lt;br /&gt;
Inode 63766553 was part of the orphaned inode list.  FIXED.&lt;br /&gt;
Inode 63766554 was part of the orphaned inode list.  FIXED.&lt;br /&gt;
Inode 63766555 was part of the orphaned inode list.  FIXED.&lt;br /&gt;
Inode 63766567 was part of the orphaned inode list.  FIXED.&lt;br /&gt;
Inode 63766571 was part of the orphaned inode list.  FIXED.&lt;br /&gt;
Pass 2: Checking directory structure&lt;br /&gt;
Pass 3: Checking directory connectivity&lt;br /&gt;
Pass 4: Checking reference counts&lt;br /&gt;
Pass 5: Checking group summary information&lt;br /&gt;
Block bitmap differences:  -61020160 -(61678592--61678942) -(61679616--61679966) -(61680640--61680999)&lt;br /&gt;
Fix&amp;lt;y&amp;gt;? yes&lt;br /&gt;
&lt;br /&gt;
Free blocks count wrong for group #1882 (15090, counted=16152).&lt;br /&gt;
Fix&amp;lt;y&amp;gt;? yes&lt;br /&gt;
&lt;br /&gt;
Free blocks count wrong (70491297, counted=70492359).&lt;br /&gt;
Fix&amp;lt;y&amp;gt;? yes&lt;br /&gt;
&lt;br /&gt;
Inode bitmap differences:  -61669497 -61670074 -61671606 -(63766553--63766555) -63766567 -63766571&lt;br /&gt;
Fix&amp;lt;y&amp;gt;? yes&lt;br /&gt;
&lt;br /&gt;
Free inodes count wrong for group #1882 (30730, counted=30733).&lt;br /&gt;
Fix&amp;lt;y&amp;gt;? yes&lt;br /&gt;
&lt;br /&gt;
Free inodes count wrong for group #1946 (32751, counted=32756).&lt;br /&gt;
Fix&amp;lt;y&amp;gt;? yes&lt;br /&gt;
&lt;br /&gt;
Free inodes count wrong (77558369, counted=77558377).&lt;br /&gt;
Fix&amp;lt;y&amp;gt;? yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/dev/md2: ***** FILE SYSTEM WAS MODIFIED *****&lt;br /&gt;
/dev/md2: 331159/77889536 files (0.3% non-contiguous), 7368649/77861008 blocks&amp;lt;/pre&amp;gt;}}&lt;/div&gt;</summary>
		<author><name>Joost</name></author>	</entry>

	</feed>