<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.linux.raid">
    <title>gmane.linux.raid</title>
    <link>http://permalink.gmane.org/gmane.linux.raid</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.raid/43293"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.raid/43292"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.raid/43291"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.raid/43290"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.raid/43289"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.raid/43288"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.raid/43287"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.raid/43286"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.raid/43285"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.raid/43284"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.raid/43283"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.raid/43282"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.raid/43281"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.raid/43280"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.raid/43279"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.raid/43278"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.raid/43277"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.raid/43276"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.raid/43275"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.raid/43274"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.raid/43293">
    <title>Re: RAID6 growing interrupted, array won't assemble or resume growing</title>
    <link>http://permalink.gmane.org/gmane.linux.raid/43293</link>
    <description>&lt;pre&gt;

OK, will do. Simply "mdadm --assemble /dev/md1 /dev/sdb /dev/sdd
/dev/sde /dev/sdf /dev/sdg"?

Thanks so much for all the help so far.

Nic
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Nic Wolfe</dc:creator>
    <dc:date>2013-06-19T23:52:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.raid/43292">
    <title>Growing a 5-drive RAID6 - some initial questions</title>
    <link>http://permalink.gmane.org/gmane.linux.raid/43292</link>
    <description>&lt;pre&gt;Hi,
   On my home server my / partition is a 5-drive RAID6 which doesn't
extend to the full extent of the drive. I've now removed everything to
the end of the drive (saved to external USB drives for now) and am
interested in growing the RAID6 to use all the disk space available.
Before I start I've got a couple of questions. Note that I have no
storage space issues. I only use about 200GB total on this machine so
the new, larger RAID6 will be more than large enough. I do value
having RAID6 and being able to lose two drives.

1) Is the fail/remove/partition/add method shown here a reasonable
method for my task?

https://raid.wiki.kernel.org/index.php/Growing

2) The RAID is a 5-drive RAID6 using a 16K chunk size. Would
performance be helped significantly using some other chunk size?

   I am not overly concerned about how long it takes to complete. It
seems to me that failing 1 drive in a RAID6 built using 500GB RE3 WD
drives is _reasonably_ safe. The drives came from 3 different orders
at Amazon spanning abo&lt;/pre&gt;</description>
    <dc:creator>Mark Knecht</dc:creator>
    <dc:date>2013-06-19T21:39:58</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.raid/43291">
    <title>Re: RAID6 growing interrupted, array won't assemble or resume growing</title>
    <link>http://permalink.gmane.org/gmane.linux.raid/43291</link>
    <description>&lt;pre&gt;

You trimmed here...  Per the linked reports, you have this problem.


Drive /dev/sdc has pending relocations.  Those are bad sectors that need
to be rewritten to either fix them or relocate them.  You are unable to
do that with your raid card because /dev/sdc does not support error
recovery control.

In fact, only your /dev/sdd supports it, and as a desktop drive, it
defaults to "Off" on every power cycle.

[trim /]


Some raid cards use part of the drive space to write management data,
and show a smaller drive to the OS.  If this is your case, you can
manually set up device mapper to expose the smaller areas as devices,
and build the MD array from those.  Detailed information about your
device sizes with and without the raid card would be needed.


No.  /dev/sdc is your problem.  There might be more, but they aren't
exposed in SMART yet.


As noted above, you will not be able to use /dev/sdc with the raid card.
 You could try leaving it out and taking a backup with the degraded
array.  That is what I woul&lt;/pre&gt;</description>
    <dc:creator>Phil Turmel</dc:creator>
    <dc:date>2013-06-19T18:36:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.raid/43290">
    <title>Re: [PATCH 2/6] Makefile: Allow the user to pass EXTRA_CFLAGS</title>
    <link>http://permalink.gmane.org/gmane.linux.raid/43290</link>
    <description>&lt;pre&gt;Hello Neil,

On 06/19/2013 02:07 AM, NeilBrown wrote:


I'm sorry for the extra work with the white space. Next time I'm first 
going to run linux/scripts/checkpatch.pl

Hmm, indeed

make CXFLAGS=-O3

works, but the other way around it does not:

CXFLAGS=-O3 make

I still wonder how it works, as Makefile sets "CXFLAGS = -ggdb".
Anyway, whichever exception 'make' has for that, can we change it to

-CXFLAGS = -ggdb
+CXFLAGS ?= -ggdb

which would make it work with either way CXFLAGS is specified.


Thanks,
Bernd

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Bernd Schubert</dc:creator>
    <dc:date>2013-06-19T09:48:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.raid/43289">
    <title>Re: RAID6 growing interrupted, array won't assemble or resume growing</title>
    <link>http://permalink.gmane.org/gmane.linux.raid/43289</link>
    <description>&lt;pre&gt;
Done, thanks.


[trim /]


OK I have built a PC with properly supported hardware that I can now
hook all my drives up to directly. Unfortunately because they were
being managed by the RAID card before as single drive JBOD arrays they
do not show up as md devices on the new PC, so I will have to attempt
to get this array running on the old PC with the old RAID/JBOD setup.

On the new PC I can see the SMART info but since the drives will have
to be managed by the RAID card anyway I'm not sure if it is prudent to
mess with the settings. It does sound like a good idea to maybe
increase the timeouts on the OS though ("echo 180
were just power in the first place?

In case it helps though:

sdb: http://pastebin.com/btrpcMF0
sdc: http://pastebin.com/kdcrf9mY
sdd: http://pastebin.com/S0nj9Ma9
sde: http://pastebin.com/G3vUZf92
sdf: http://pastebin.com/0P2LbDQq
sdg: http://pastebin.com/8q4vuU1a

Finally, I don't actually necessarily need to finish the reshape; I
just want to get the data off. Can I assemble the array &lt;/pre&gt;</description>
    <dc:creator>Nic Wolfe</dc:creator>
    <dc:date>2013-06-19T06:21:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.raid/43288">
    <title>Re: Optimal value for bitmap-chunk option</title>
    <link>http://permalink.gmane.org/gmane.linux.raid/43288</link>
    <description>&lt;pre&gt;On Tue, 18 Jun 2013 16:52:09 +0400
Роман Алексеев  &amp;lt;r.alekseev&amp;lt; at &amp;gt;qwarta.ru&amp;gt; wrote:


It's just the minimum granularity of pieces that get rebuilt after unclean
shutdowns. E.g. if your array decides it's "dirty" in 5 different areas, with
a 16MB chunk the rebuild will process 5*16MB, but with a 128MB it will rebuild
5*128MB. On modern systems the difference in time required to do the rebuild
between these two will be negligible. But having a larger size helps
noticeably in everyday operation (makes writes faster). So there is nothing to
"calculate" really, just use a reasonably large size like 128 or 256 MB.

https://raid.wiki.kernel.org/index.php/Write-intent_bitmap
http://techblog.tgharold.com/2013/01/mdadm-using-bitmaps-to-speed-up-rebuilds.html
http://blog.liw.fi/posts/write-intent-bitmaps/ (the 1st comment)

&lt;/pre&gt;</description>
    <dc:creator>Roman Mamedov</dc:creator>
    <dc:date>2013-06-19T04:38:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.raid/43287">
    <title>Re: [PATCH 0/6] raid6check fixes</title>
    <link>http://permalink.gmane.org/gmane.linux.raid/43287</link>
    <description>&lt;pre&gt;On Tue, 18 Jun 2013 11:09:10 +0200 Bernd Schubert
&amp;lt;bernd.schubert&amp;lt; at &amp;gt;itwm.fraunhofer.de&amp;gt; wrote:


Thanks for mentioning that.  I've fix that problem.

NeilBrown



&lt;/pre&gt;</description>
    <dc:creator>NeilBrown</dc:creator>
    <dc:date>2013-06-19T00:08:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.raid/43286">
    <title>Re: [PATCH 2/6] Makefile: Allow the user to pass EXTRA_CFLAGS</title>
    <link>http://permalink.gmane.org/gmane.linux.raid/43286</link>
    <description>&lt;pre&gt;On Tue, 18 Jun 2013 11:09:21 +0200 Bernd Schubert
&amp;lt;bernd.schubert&amp;lt; at &amp;gt;itwm.fraunhofer.de&amp;gt; wrote:


Doesn't it?  It works for me.

   make CXFLAGS=-O3

compiled with "-O3".


I haven't applied this patch (feel free to try to be more convincing) but has
applied all the others (after removing a little bit of trailing white space).

Thanks,
NeilBrown



&lt;/pre&gt;</description>
    <dc:creator>NeilBrown</dc:creator>
    <dc:date>2013-06-19T00:07:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.raid/43285">
    <title>Re: Proper way to delete an old RAID1?</title>
    <link>http://permalink.gmane.org/gmane.linux.raid/43285</link>
    <description>&lt;pre&gt;
I suppose one other small point on this topic, should anyone read it
in the distant future, is that once I've stopped the RAID and zero'ed
the superblocks the RAID itself is gone and cannot be reassembled but
the partitions are still there, and they are still marked as 'Linux
raid autodetect' in fdisk.

To move forward with growing other RAIDs I need to remove the existing
but now unused partitions to make room for future changes.

Cheers,
Mark
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Mark Knecht</dc:creator>
    <dc:date>2013-06-18T20:02:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.raid/43284">
    <title>Re: Proper way to delete an old RAID1?</title>
    <link>http://permalink.gmane.org/gmane.linux.raid/43284</link>
    <description>&lt;pre&gt;
You're right, I'm wrong. It was #6 I was referring to when I first posted.

Thanks for the correction. We'll see if anyone else suggests #6 actually works.

Cheers,
Mark
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Mark Knecht</dc:creator>
    <dc:date>2013-06-18T19:08:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.raid/43283">
    <title>Re: Proper way to delete an old RAID1?</title>
    <link>http://permalink.gmane.org/gmane.linux.raid/43283</link>
    <description>&lt;pre&gt;Mark,

His instructions at #3 are correct, #6 are incorrect (or someone has
to correct me and knows the --remove will work on an entire MD
device?).


Kind regards,
Caspar
Met vriendelijke groet,

Caspar Smit
Systemengineer
TB BV
Dorsvlegelstraat 13
1445 PA Purmerend

T: +31(0)299 410 475
F: +31(0)299 410 476
&amp;lt; at &amp;gt;: c.smit&amp;lt; at &amp;gt;truebit.nl
W: www.truebit.nl


2013/6/18 Mark Knecht &amp;lt;markknecht&amp;lt; at &amp;gt;gmail.com&amp;gt;:
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Caspar Smit</dc:creator>
    <dc:date>2013-06-18T19:01:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.raid/43282">
    <title>Re: Proper way to delete an old RAID1?</title>
    <link>http://permalink.gmane.org/gmane.linux.raid/43282</link>
    <description>&lt;pre&gt;
Thanks Caspar. What you are saying makes more sense to me and is, as
best I can tell, consistent with man mdadm.

I've used this site a few times as it seems to come up a lot when
Googling mdadm questions:

http://www.ducea.com/2009/03/08/mdadm-cheat-sheet/

Apparently his instructions in #3 are incorrect.

Cheers,
Mark

&amp;lt;SNIP&amp;gt;
&amp;lt;SNIP&amp;gt;
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Mark Knecht</dc:creator>
    <dc:date>2013-06-18T18:55:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.raid/43281">
    <title>Re: Proper way to delete an old RAID1?</title>
    <link>http://permalink.gmane.org/gmane.linux.raid/43281</link>
    <description>&lt;pre&gt;Hi Mark,

Stopping an MD device will not remove/delete anything.
The --remove command cannot be used AFTER an MD device is stopped.
(--remove is only for removing drives/partitions from a running MD
device NOT to remove the MD itself e.g. mdadm --remove /dev/mdX
/dev/sdb, furthermore a drive/partition can only be removed after you
fail the drive first or it has failed by itself offcouse, see the
--fail switch)

To completely erase the MD you need to stop it and then remove the
superblocks from the member drives:

mdadm --stop /dev/md127
mdadm --zero-superblock /dev/sdb5
mdadm --zero-superblock /dev/sdc5
mdadm --zero-superblock /dev/sdd5

You can combine the last 3 commands to:

mdadm --zero-superblock /dev/sd[b-d]5

but to be 100% safe use them seperately.

This will erase the superblocks on the members of /dev/md127 and you
will not be able to assemble it again and it will not be started
during a reboot (remove it from the mdadm.conf too offcourse, but
since the array comes up as /dev/md127 I presume it is &lt;/pre&gt;</description>
    <dc:creator>Caspar Smit</dc:creator>
    <dc:date>2013-06-18T18:42:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.raid/43280">
    <title>Proper way to delete an old RAID1?</title>
    <link>http://permalink.gmane.org/gmane.linux.raid/43280</link>
    <description>&lt;pre&gt;I'm in the process of trying to clean up my home server. When I first
built the machine the main RAID was a partition-based 0.90 RAID1 which
is no longer used. I would like to get rid of this RAID (/dev/md127)
completely. What's the right way to do this?

mark&amp;lt; at &amp;gt;c2RAID6 ~ $ cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md6 : active raid5 sdd6[2] sdb6[0] sdc6[1]
      494833664 blocks super 1.1 level 5, 64k chunk, algorithm 2 [3/3] [UUU]
      bitmap: 0/2 pages [0KB], 65536KB chunk

md7 : active raid6 sdd7[2] sdc7[1] sdb7[0] sdf2[4] sde2[3]
      395387904 blocks super 1.2 level 6, 16k chunk, algorithm 2 [5/5] [UUUUU]

md127 : active (auto-read-only) raid1 sdc5[1] sdd5[2] sdb5[0]
      52436032 blocks [3/3] [UUU]

md3 : active raid6 sdb3[0] sdf3[5] sde3[3] sdd3[2] sdc3[1]
      157305168 blocks super 1.2 level 6, 16k chunk, algorithm 2 [5/5] [UUUUU]

unused devices: &amp;lt;none&amp;gt;
mark&amp;lt; at &amp;gt;c2RAID6 ~ $

To I need to do anything more than:

mdadm --stop /dev/md127
mdadm --remove /&lt;/pre&gt;</description>
    <dc:creator>Mark Knecht</dc:creator>
    <dc:date>2013-06-18T17:36:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.raid/43279">
    <title>Re: [PATCH 0/6] raid6check fixes</title>
    <link>http://permalink.gmane.org/gmane.linux.raid/43279</link>
    <description>&lt;pre&gt;
Hi Bernd,

cool!!!

Good you're keeping it up!

bye,

&lt;/pre&gt;</description>
    <dc:creator>Piergiorgio Sartor</dc:creator>
    <dc:date>2013-06-18T17:16:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.raid/43278">
    <title>Set AUTOCHECK=false</title>
    <link>http://permalink.gmane.org/gmane.linux.raid/43278</link>
    <description>&lt;pre&gt;Hi,

Could someone explain me what can happen if I disable AUTOCHECK option 
in /etc/default/mdadm file?

Thanks
&lt;/pre&gt;</description>
    <dc:creator>Роман Алексеев</dc:creator>
    <dc:date>2013-06-18T13:15:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.raid/43277">
    <title>Optimal value for bitmap-chunk option</title>
    <link>http://permalink.gmane.org/gmane.linux.raid/43277</link>
    <description>&lt;pre&gt;Hello,

I want to speed up rebuilding process of the raid to do that I'm going
to apply the command:

mdadm --grow --bitmap=internal --bitmap-chunk=NNNN /dev/mdX

But I don't know how to calculate optimal value of bitmap-chunk option.
How can I do that?

Any help would be greatly appreciated.

--
Roman
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Роман Алексеев</dc:creator>
    <dc:date>2013-06-18T12:52:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.raid/43276">
    <title>[PATCH 0/6] raid6check fixes</title>
    <link>http://permalink.gmane.org/gmane.linux.raid/43276</link>
    <description>&lt;pre&gt;Here are a few raid6check fixes. This series also includes a patch for
Makefile to allow to build with optimizations. I only fixed raid6check
to build with -O3, but I don't have time left today to fix mdadm 
(e.g. Grow.c:2237:41: error: ‘info2.data_offset’ may be used uninitialized in this function [-Werror=uninitialized])

I wanted to send the memleak-fixes much earlier, but then
I had been too busy. This patch is lightly tested, patches
from today are only build-tested.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Bernd Schubert</dc:creator>
    <dc:date>2013-06-18T09:09:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.raid/43275">
    <title>[PATCH 3/6] raid6check: Fix memory leaks detected by valgrind</title>
    <link>http://permalink.gmane.org/gmane.linux.raid/43275</link>
    <description>&lt;pre&gt;==2389947== 24 bytes in 1 blocks are definitely lost in loss record 1 of 10
==2389947==    at 0x4C2B3F8: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==2389947==    by 0x408067: xmalloc (xmalloc.c:36)
==2389947==    by 0x401B19: check_stripes (raid6check.c:151)
==2389947==    by 0x4030C6: main (raid6check.c:521)
==2389947==
==2389947== 24 bytes in 1 blocks are definitely lost in loss record 2 of 10
==2389947==    at 0x4C2B3F8: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==2389947==    by 0x408067: xmalloc (xmalloc.c:36)
==2389947==    by 0x401B67: check_stripes (raid6check.c:155)
==2389947==    by 0x4030C6: main (raid6check.c:521)
==2389947==

Signed-off-by: Bernd Schubert &amp;lt;bernd.schubert&amp;lt; at &amp;gt;fastmail.fm&amp;gt;
---
 raid6check.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/raid6check.c b/raid6check.c
index f5aeee4..17f7430 100644
--- a/raid6check.c
+++ b/raid6check.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -325,9 +325,11 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; exitCheck:
 free(stripe_buf);
 free(stripes);
 free(blocks);
+free(block_inde&lt;/pre&gt;</description>
    <dc:creator>Bernd Schubert</dc:creator>
    <dc:date>2013-06-18T09:09:26</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.raid/43274">
    <title>[PATCH 6/6] raid6check: Check return value of lseek64()</title>
    <link>http://permalink.gmane.org/gmane.linux.raid/43274</link>
    <description>&lt;pre&gt;If lseek64() failed it was still writing to the disks, which would introduce
data corruption.

Signed-off-by: Bernd Schubert &amp;lt;bernd.schubert&amp;lt; at &amp;gt;fastmail.fm&amp;gt;
---
 raid6check.c |   32 ++++++++++++++++++++++++++++----
 1 file changed, 28 insertions(+), 4 deletions(-)

diff --git a/raid6check.c b/raid6check.c
index 90a7fd3..ee0de2f 100644
--- a/raid6check.c
+++ b/raid6check.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -185,11 +185,19 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; int check_stripes(struct mdinfo *info, int *source, unsigned long long *offsets,
 goto exitCheck;
 }
 for (i = 0 ; i &amp;lt; raid_disks ; i++) {
-lseek64(source[i], offsets[i] + start * chunk_size, 0);
+off64_t seek_res = lseek64(source[i], offsets[i] + start * chunk_size, 
+   SEEK_SET);
+if (seek_res &amp;lt; 0) {
+fprintf(stderr, "lseek to source %d failed\n", i);
+unlock_all_stripes(info, sig);
+err = -1;
+goto exitCheck;
+}
 int read_res = read(source[i], stripes[i], chunk_size);
 if (read_res &amp;lt; chunk_size) {
 fprintf(stderr, "Failed to read complete chunk disk %d, aborting\n", i&lt;/pre&gt;</description>
    <dc:creator>Bernd Schubert</dc:creator>
    <dc:date>2013-06-18T09:09:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.raid/43273">
    <title>[PATCH 5/6] raid6check: Fix compiler warnings.</title>
    <link>http://permalink.gmane.org/gmane.linux.raid/43273</link>
    <description>&lt;pre&gt;Fix some compiler warnings appearing with optimization levels.

Signed-off-by: Bernd Schubert &amp;lt;bernd.schubert&amp;lt; at &amp;gt;fastmail.fm&amp;gt;
---
 raid6check.c |   32 ++++++++++++++++++++++++++------
 1 file changed, 26 insertions(+), 6 deletions(-)

diff --git a/raid6check.c b/raid6check.c
index 480422d..90a7fd3 100644
--- a/raid6check.c
+++ b/raid6check.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -186,7 +186,12 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; int check_stripes(struct mdinfo *info, int *source, unsigned long long *offsets,
 }
 for (i = 0 ; i &amp;lt; raid_disks ; i++) {
 lseek64(source[i], offsets[i] + start * chunk_size, 0);
-read(source[i], stripes[i], chunk_size);
+int read_res = read(source[i], stripes[i], chunk_size);
+if (read_res &amp;lt; chunk_size) {
+fprintf(stderr, "Failed to read complete chunk disk %d, aborting\n", i);
+unlock_all_stripes(info, sig);
+goto exitCheck;
+}
 }
 err = unlock_all_stripes(info, sig);
 if(err != 0)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -282,14 +287,23 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; int check_stripes(struct mdinfo *info, int *source, unsigned long long *offsets,
 goto exitCheck;
 }
 
+&lt;/pre&gt;</description>
    <dc:creator>Bernd Schubert</dc:creator>
    <dc:date>2013-06-18T09:09:36</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.linux.raid">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.linux.raid</link>
  </textinput>
</rdf:RDF>
