* Raid 4 resize, raid0 limit question
@ 2006-02-03 0:00 JaniD++
2006-02-03 0:12 ` Neil Brown
0 siblings, 1 reply; 4+ messages in thread
From: JaniD++ @ 2006-02-03 0:00 UTC (permalink / raw)
To: linux-raid
Hello, list,
I plan to resize (grow) one raid4 array.
1. stop the array.
2. resize the partition on all disks to fit the maximum size.
After this restart(assemble) the array is possiple?
I mean, how can the kernel find the superblock fits on the half of the new
partitions?
I need to recreate the array instead of using -G option?
Can i force raid to resync only the new area?
The raid0 in 2.6.16-rc1 supports 4x 3.6TB soure devices? :-)
Thanks,
Janos
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Raid 4 resize, raid0 limit question
2006-02-03 0:00 Raid 4 resize, raid0 limit question JaniD++
@ 2006-02-03 0:12 ` Neil Brown
2006-02-03 0:24 ` JaniD++
0 siblings, 1 reply; 4+ messages in thread
From: Neil Brown @ 2006-02-03 0:12 UTC (permalink / raw)
To: JaniD++; +Cc: linux-raid
On Friday February 3, djani22@dynamicweb.hu wrote:
> Hello, list,
>
> I plan to resize (grow) one raid4 array.
>
> 1. stop the array.
> 2. resize the partition on all disks to fit the maximum size.
The approach is currently not supported. It would need a change to
mdadm to find the old superblock and relocate it to the new end of the
partition.
The only currently 'supported' way it to remove devices one at a time,
resize them, and add them back in as new devices, waiting for the
resync.
NeilBrown
>
> After this restart(assemble) the array is possiple?
> I mean, how can the kernel find the superblock fits on the half of the new
> partitions?
> I need to recreate the array instead of using -G option?
> Can i force raid to resync only the new area?
>
> The raid0 in 2.6.16-rc1 supports 4x 3.6TB soure devices? :-)
... maybe?
I think it does, but I cannot promise anything.
NeilBrown
>
> Thanks,
> Janos
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Raid 4 resize, raid0 limit question
2006-02-03 0:12 ` Neil Brown
@ 2006-02-03 0:24 ` JaniD++
2006-02-04 12:33 ` JaniD++
0 siblings, 1 reply; 4+ messages in thread
From: JaniD++ @ 2006-02-03 0:24 UTC (permalink / raw)
To: Neil Brown; +Cc: linux-raid
----- Original Message -----
From: "Neil Brown" <neilb@suse.de>
To: "JaniD++" <djani22@dynamicweb.hu>
Cc: <linux-raid@vger.kernel.org>
Sent: Friday, February 03, 2006 1:12 AM
Subject: Re: Raid 4 resize, raid0 limit question
> On Friday February 3, djani22@dynamicweb.hu wrote:
> > Hello, list,
> >
> > I plan to resize (grow) one raid4 array.
> >
> > 1. stop the array.
> > 2. resize the partition on all disks to fit the maximum size.
>
> The approach is currently not supported. It would need a change to
> mdadm to find the old superblock and relocate it to the new end of the
> partition.
>
> The only currently 'supported' way it to remove devices one at a time,
> resize them, and add them back in as new devices, waiting for the
> resync.
Good news! :-)
This takes about 1 weeks for me... :-(
I should recreate....
>
> NeilBrown
>
>
> >
> > After this restart(assemble) the array is possiple?
> > I mean, how can the kernel find the superblock fits on the half of the
new
> > partitions?
> > I need to recreate the array instead of using -G option?
> > Can i force raid to resync only the new area?
> >
> > The raid0 in 2.6.16-rc1 supports 4x 3.6TB soure devices? :-)
>
> ... maybe?
> I think it does, but I cannot promise anything.
Anyway, i will test it on the weekend, and i dont need to grow the FS too on
it.
How can i safe test it (and NBD >2TB) to work well, without data lost?
Thanks,
Janos
>
> NeilBrown
>
>
> >
> > Thanks,
> > Janos
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Raid 4 resize, raid0 limit question
2006-02-03 0:24 ` JaniD++
@ 2006-02-04 12:33 ` JaniD++
0 siblings, 0 replies; 4+ messages in thread
From: JaniD++ @ 2006-02-04 12:33 UTC (permalink / raw)
To: Neil Brown; +Cc: linux-raid
--cut--
> > > I plan to resize (grow) one raid4 array.
> > >
> > > 1. stop the array.
> > > 2. resize the partition on all disks to fit the maximum size.
> >
> > The approach is currently not supported. It would need a change to
> > mdadm to find the old superblock and relocate it to the new end of the
> > partition.
> >
> > The only currently 'supported' way it to remove devices one at a time,
> > resize them, and add them back in as new devices, waiting for the
> > resync.
>
> Good news! :-)
> This takes about 1 weeks for me... :-(
> I should recreate....
>
>
> >
> > NeilBrown
Neil!
What do you think about making 2 files into proc or sys, as 2 margin for
raid sync?
The default value is 0 and sectorcount. (or KiB of the array)
The user can set this befor the sync is starts, or when the sync is run, and
if the sync is done, the default values are set again automatically.
The sync is move between the two value only.
This is easy to write - i think-, not too dangerous, and some times (or
often) very practical.
This will help for me often, including this time, to raid4 resize from 2TB
to 3.6TB.
> >
> >
> > >
> > > After this restart(assemble) the array is possiple?
> > > I mean, how can the kernel find the superblock fits on the half of the
> new
> > > partitions?
> > > I need to recreate the array instead of using -G option?
> > > Can i force raid to resync only the new area?
> > >
> > > The raid0 in 2.6.16-rc1 supports 4x 3.6TB soure devices? :-)
> >
> > ... maybe?
> > I think it does, but I cannot promise anything.
>
> Anyway, i will test it on the weekend, and i dont need to grow the FS too
on
> it.
>
> How can i safe test it (and NBD >2TB) to work well, without data lost?
Anybody know any good tool to test the 13.4TB raid0 array inside 8TB live,
and valuable fs without data lost?
I need to test the raid0 and NBD before resize the FS to fit to the array.
I can think only to dd with skip=NN option, but at this time i did'nt trust
the dd enough. :-)
Thanks,
Janos
>
> Thanks,
> Janos
>
> >
> > NeilBrown
> >
> >
> > >
> > > Thanks,
> > > Janos
> > >
> > > -
> > > To unsubscribe from this list: send the line "unsubscribe linux-raid"
in
> > > the body of a message to majordomo@vger.kernel.org
> > > More majordomo info at http://vger.kernel.org/majordomo-info.html
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-02-04 12:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-03 0:00 Raid 4 resize, raid0 limit question JaniD++
2006-02-03 0:12 ` Neil Brown
2006-02-03 0:24 ` JaniD++
2006-02-04 12:33 ` JaniD++
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).