All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 00/18] Assorted md patches headed for 2.6.30
@ 2009-03-10  8:24 jzc-sina
  0 siblings, 0 replies; 24+ messages in thread
From: jzc-sina @ 2009-03-10  8:24 UTC (permalink / raw)
  To: linux-raid

hi neil:
I get your the latest patches (v2.6.29-rc5-335-g0ac4ee7) from git://neil.brown.name/md.
I want to test the function that switch raid from raid5 to raid6.
But find some problem.
I create a raid6 which has 4 disks,and write some files to this raid6 ,next,i remove two of them.
if this raid6 is ok,now i can read the files that i have written correctly.
but in fact that i can't read the files ok.maybe there is some error about raid6 in v2.6.29-rc5-335-g0ac4ee7.


Steps i have done are as follows
1, mdadm -C /dev/md6 -l 6 -n 4 /dev/sda /dev/sdb /dev/sdc /dev/sdd --metadata=1.0 --size=1000000 -f
2, pvcreate /dev/md6
3, vgcreate md6vg /dev/md6
4, lvcreate -L 200M -n md6lv md6vg
5, mkfs.xfs /dev/mapper/md6vg-md6lv
6, mount /dev/mapper/md6vg-md6lv /tmp     (is ok)

7, mdadm -f /dev/md6 /dev/sda /dev/sdb  (faulty two disks)
8, mount /dev/mapper/md6vg-md6lv /tmp   (now can't read the filesystem information correctly)
(mount: Structure needs cleaning) (print this )

thanks neil ,right here waiting for your help !

zhenchengjin 

^ permalink raw reply	[flat|nested] 24+ messages in thread
[parent not found: <7554605.886551236670855947.JavaMail.coremail@bj163app40.163.com>]
* [PATCH 00/18] Assorted md patches headed for 2.6.30
@ 2009-02-12  3:10 NeilBrown
  2009-02-12  8:11 ` Keld Jørn Simonsen
  2009-02-12  9:42 ` Farkas Levente
  0 siblings, 2 replies; 24+ messages in thread
From: NeilBrown @ 2009-02-12  3:10 UTC (permalink / raw)
  To: linux-raid

Hi,
 following is my current patch queue for 2.6.30, in case anyone would
like to review or otherwise comment.
They should show up in -next shortly.

Probably the most interesting are the last few which provide support
for converting a raid1 into a raid5, and a raid5 into a raid6.
I plan to do some more work here so the code might change a bit before
final submission, as I work out how best ot factor the code.

mdadm doesn't current support these conversions, but you can
simply
   echo raid5 > /sys/block/md0/md/level
to change a 2-drive raid1 into a raid5.  Similarly for 5->6

The raid6 array created will have a somewhat unusual layout in that
all the Q blocks will be on the last drive.  Later I'll create
functionality to restripe the array so that the Q block is rotated
around all the drives as you would expect.

Comments and testing very welcome.

Thanks,
NeilBrown




^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2009-03-13  1:00 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-10  8:24 [PATCH 00/18] Assorted md patches headed for 2.6.30 jzc-sina
     [not found] <7554605.886551236670855947.JavaMail.coremail@bj163app40.163.com>
2009-03-13  1:00 ` Neil Brown
  -- strict thread matches above, loose matches on Subject: below --
2009-02-12  3:10 NeilBrown
2009-02-12  8:11 ` Keld Jørn Simonsen
2009-02-12  9:13   ` Steve Fairbairn
2009-02-12  9:46     ` Keld Jørn Simonsen
2009-02-12 10:52       ` NeilBrown
2009-02-12 11:16         ` Keld Jørn Simonsen
2009-02-12 10:53       ` Julian Cowley
2009-02-13 16:54         ` Bill Davidsen
2009-02-16  5:35           ` Neil Brown
2009-02-16 17:31             ` Nagilum
2009-02-12 22:57     ` Dan Williams
2009-02-13 16:56     ` Bill Davidsen
2009-02-12  9:21   ` NeilBrown
2009-02-12  9:53     ` Keld Jørn Simonsen
2009-02-12 10:45       ` NeilBrown
2009-02-12 11:11         ` Keld Jørn Simonsen
2009-02-12 15:28         ` Wil Reichert
2009-02-12 17:44           ` Keld Jørn Simonsen
2009-02-12  9:42 ` Farkas Levente
2009-02-12 10:40   ` NeilBrown
2009-02-12 11:17     ` Farkas Levente
2009-02-13 17:02       ` Bill Davidsen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.