Re: Resize raid? RAID Reconfig Tool?

2006-03-01 Thread Andrew Cady
On Tue, Feb 28, 2006 at 09:14:57AM +0100, Jan Johansson wrote:
 because you forgot the missing drive
 
 Lets change that theory. Lets say I want to growthe array as I move data
 over. And I need to grow it in several stages. Then I can not use
 missing, since I then I effect have 1 missing drives in a RAID-5.
 
 So, is there tools to actually _add_ drives to an existin Raid5?

raidreconf and EVMS.  Unfortunately both solutions leave somethng to be
desired.  Solaris's (vaporware) ZFS will do it, too.

It's a real shame, because the underlying technical issues are really
not difficult.  Raid resize should be simple, safe, and live.  Oh well.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



RE: Resize raid? RAID Reconfig Tool?

2006-02-28 Thread Jan Johansson
because you forgot the missing drive

Lets change that theory. Lets say I want to growthe array as I move data
over. And I need to grow it in several stages. Then I can not use
missing, since I then I effect have 1 missing drives in a RAID-5.

So, is there tools to actually _add_ drives to an existin Raid5?



Re: Resize raid? RAID Reconfig Tool?

2006-02-28 Thread Henrique de Moraes Holschuh
On Mon, 27 Feb 2006, Jan Johansson wrote:
 I think I'll be using XFS on that disk, which I understand _Can_ be
 resized dynamically?

Don't resize the underlying device of a mounted XFS partition.  You have
been warned.  Note that I don't mean enlarging an active XFS partition to
use more space that was already in the underlying block device, that should
work.

-- 
  One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie. -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Resize raid? RAID Reconfig Tool?

2006-02-27 Thread Jan Johansson
Is RAID Reconfiguration Tool  ( http://unthought.net/raidreconf/ )
still the only way to reconfigure an array? I just thought since the
page is from 2001 maybe there is a new way? I would like to add another
200GB disk and go from RAID-1 - RAID-5



Re: Resize raid? RAID Reconfig Tool?

2006-02-27 Thread Johannes Wiedersich

Jan Johansson wrote:

Is RAID Reconfiguration Tool  ( http://unthought.net/raidreconf/ )
still the only way to reconfigure an array? I just thought since the
page is from 2001 maybe there is a new way? I would like to add another
200GB disk and go from RAID-1 - RAID-5



We use mdadm to administer our software raid. For (certain) hardware 
raid there other tools available. Just apt-cache search raid...


Johannes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Resize raid? RAID Reconfig Tool?

2006-02-27 Thread Craig M. Houck
I am using a Dell raid controller on a PE1850 that has a create interface
for changing things AND it will tell you if what you are about to do is
going to destory data.
Oh yes, running Debian 2.4.x


At 07:03 PM 2/27/2006 +0100, Jan Johansson wrote:
Is RAID Reconfiguration Tool  ( http://unthought.net/raidreconf/ )
still the only way to reconfigure an array? I just thought since the
page is from 2001 maybe there is a new way? I would like to add another
200GB disk and go from RAID-1 - RAID-5



RbtBotL
Craig - 

 oBU SysAdmin
/|\  607 777 6827 
 ^  Tot Ziens
   



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



RE: Resize raid? RAID Reconfig Tool?

2006-02-27 Thread Jan Johansson
We use mdadm to administer our software raid. For (certain) hardware 
raid there other tools available. Just apt-cache search raid...

Wait... does mdadm have that built in?



RE: Resize raid? RAID Reconfig Tool?

2006-02-27 Thread Jan Johansson
We use mdadm to administer our software raid. For (certain) hardware 
raid there other tools available. Just apt-cache search raid...

Wait... does mdadm have that built in?


Let's rephrase that.

Lets say I just did

cookiemonster:/mnt/hde1# mdadm --create /dev/md0 --level=5
--raid-devices=2 /dev/hd[cd]1 --auto
mdadm: array /dev/md0 started.

Which gives me a RAID5 on 2x200GB (That right now really is a RAID1)

And I later on would like to add _another_ 200GB disk to that array and
turn it into a 400GB RAID5, can mdadm do that? I see a grow switch,
but I am abit unclear about the usage.

I think I'll be using XFS on that disk, which I understand _Can_ be
resized dynamically?



Re: Resize raid? RAID Reconfig Tool?

2006-02-27 Thread Laurent CARON

Jan Johansson a écrit :
We use mdadm to administer our software raid. For (certain) hardware 
raid there other tools available. Just apt-cache search raid...


Wait... does mdadm have that built in?




Let's rephrase that.

Lets say I just did

cookiemonster:/mnt/hde1# mdadm --create /dev/md0 --level=5
--raid-devices=2 /dev/hd[cd]1 --auto
mdadm: array /dev/md0 started.

Which gives me a RAID5 on 2x200GB (That right now really is a RAID1)


Raid5 on n-1 disks is more like raid0



And I later on would like to add _another_ 200GB disk to that array and
turn it into a 400GB RAID5, can mdadm do that?


What you can basically do is build a degraded array (using missing)
mdadm -Cv /dev/md0 -l1 -n3 /dev/hdc1 /dev/hdd1 missing

It will be like having raid0 (in terms of security) but will let you 
move your existing data onto it.


Laurent


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




RE: Resize raid? RAID Reconfig Tool?

2006-02-27 Thread Jan Johansson
Raid5 on n-1 disks is more like raid0

Are you sure there? It seem to have come up as one 200GB device?

cookiemonster:~# cat /proc/mdstat
Personalities : [raid5]
md0 : active raid5 hdd1[1] hdc1[0]
  195358336 blocks level 5, 64k chunk, algorithm 2 [2/2] [UU]

unused devices: none
cookiemonster:~#

What you can basically do is build a degraded array (using missing)
mdadm -Cv /dev/md0 -l1 -n3 /dev/hdc1 /dev/hdd1 missing


Wouldn't I want -l5?

It will be like having raid0 (in terms of security) but will let you 
move your existing data onto it.

...which is what I want, cause the last 200GB is the one with the data
on.



Re: Resize raid? RAID Reconfig Tool?

2006-02-27 Thread Laurent CARON

Jan Johansson a écrit :

Raid5 on n-1 disks is more like raid0



Are you sure there? It seem to have come up as one 200GB device?


because you forgot the missing drive



cookiemonster:~# cat /proc/mdstat
Personalities : [raid5]
md0 : active raid5 hdd1[1] hdc1[0]
  195358336 blocks level 5, 64k chunk, algorithm 2 [2/2] [UU]

unused devices: none
cookiemonster:~#



What you can basically do is build a degraded array (using missing)
mdadm -Cv /dev/md0 -l1 -n3 /dev/hdc1 /dev/hdd1 missing




Wouldn't I want -l5?


my mistake, you're right




It will be like having raid0 (in terms of security) but will let you 
move your existing data onto it.



...which is what I want, cause the last 200GB is the one with the data
on.




Basically.

Build your new degraded array.

Migrate data to it.

Rebuild your array

You should be done


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]