linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RAID5 fill up?
@ 2006-09-08  9:31 Lars Schimmer
  2006-09-08 10:15 ` Michael Tokarev
  0 siblings, 1 reply; 8+ messages in thread
From: Lars Schimmer @ 2006-09-08  9:31 UTC (permalink / raw)
  To: linux-raid

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

I´ve got a software RAiD5 with 6 250GB HDs.
Now I changed one disk after another to a 400GB HD and resynced the
raid5 after each change.
Now the RAID5 has got 6 400GB HDs and still uses only 6*250GB space.
How can I grow the md0 device to use 6*400GB?

MfG,
Lars Schimmer
- --
- -------------------------------------------------------------
TU Graz, Institut für ComputerGraphik & WissensVisualisierung
Tel: +43 316 873-5405       E-Mail: l.schimmer@cgv.tugraz.at
Fax: +43 316 873-5402       PGP-Key-ID: 0x4A9B1723
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFAThzmWhuE0qbFyMRApImAJ9j3CJRyfoGeg2IthY6JCMDRs5GugCfQZIY
ENAC2gqh3fc8/HZQs1dUhAs=
=guH4
-----END PGP SIGNATURE-----
-
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] 8+ messages in thread

* RAID5 fill up?
@ 2006-09-08  9:33 Lars Schimmer
  0 siblings, 0 replies; 8+ messages in thread
From: Lars Schimmer @ 2006-09-08  9:33 UTC (permalink / raw)
  To: linux-raid

Hi!

I´ve got a software RAiD5 with 6 250GB HDs.
Now I changed one disk after another to a 400GB HD and resynced the
raid5 after each change.
Now the RAID5 has got 6 400GB HDs and still uses only 6*250GB space.
How can I grow the md0 device to use 6*400GB?

MfG,
Lars Schimmer
-- 
-------------------------------------------------------------
TU Graz, Institut für ComputerGraphik & WissensVisualisierung
Tel: +43 316 873-5405       E-Mail: l.schimmer@cgv.tugraz.at
Fax: +43 316 873-5402       PGP-Key-ID: 0x4A9B1723
-
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] 8+ messages in thread

* Re: RAID5 fill up?
  2006-09-08  9:31 RAID5 fill up? Lars Schimmer
@ 2006-09-08 10:15 ` Michael Tokarev
  2006-09-08 12:26   ` Lars Schimmer
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Tokarev @ 2006-09-08 10:15 UTC (permalink / raw)
  To: Lars Schimmer; +Cc: linux-raid

Lars Schimmer wrote:
> Hi!
> 
> I´ve got a software RAiD5 with 6 250GB HDs.
> Now I changed one disk after another to a 400GB HD and resynced the
> raid5 after each change.
> Now the RAID5 has got 6 400GB HDs and still uses only 6*250GB space.
> How can I grow the md0 device to use 6*400GB?

mdadm --grow is your friend.

/mjt

-
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] 8+ messages in thread

* Re: RAID5 fill up?
  2006-09-08 10:15 ` Michael Tokarev
@ 2006-09-08 12:26   ` Lars Schimmer
  2006-09-08 13:25     ` Luca Berra
       [not found]     ` <45016867.7080800@tls.msk.ru>
  0 siblings, 2 replies; 8+ messages in thread
From: Lars Schimmer @ 2006-09-08 12:26 UTC (permalink / raw)
  Cc: linux-raid

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Tokarev wrote:
> Lars Schimmer wrote:
>> Hi!
>>
>> I´ve got a software RAiD5 with 6 250GB HDs.
>> Now I changed one disk after another to a 400GB HD and resynced the
>> raid5 after each change.
>> Now the RAID5 has got 6 400GB HDs and still uses only 6*250GB space.
>> How can I grow the md0 device to use 6*400GB?
> 
> mdadm --grow is your friend.

Oh, damn, right. I was focussed on --grow to add a new HD to the RAID....
But isn´t there a switch to grow to max possible value?
Do I always have to search for the biggest value and type it in by hand?

> /mjt
> 


MfG,
Lars Schimmer
- --
- -------------------------------------------------------------
TU Graz, Institut für ComputerGraphik & WissensVisualisierung
Tel: +43 316 873-5405       E-Mail: l.schimmer@cgv.tugraz.at
Fax: +43 316 873-5402       PGP-Key-ID: 0x4A9B1723
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFAWF3mWhuE0qbFyMRAn7QAJ9nZ7I+n/bxM22AoKbfSXoMovup8ACfS+i6
nYASA51BlYQaSavD7CWLL8c=
=S0dO
-----END PGP SIGNATURE-----
-
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] 8+ messages in thread

* Re: RAID5 fill up?
  2006-09-08 12:26   ` Lars Schimmer
@ 2006-09-08 13:25     ` Luca Berra
  2006-09-08 16:35       ` Mr. James W. Laferriere
       [not found]     ` <45016867.7080800@tls.msk.ru>
  1 sibling, 1 reply; 8+ messages in thread
From: Luca Berra @ 2006-09-08 13:25 UTC (permalink / raw)
  To: linux-raid

On Fri, Sep 08, 2006 at 02:26:31PM +0200, Lars Schimmer wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Michael Tokarev wrote:
>> Lars Schimmer wrote:
>>> Hi!
>>>
>>> I´ve got a software RAiD5 with 6 250GB HDs.
>>> Now I changed one disk after another to a 400GB HD and resynced the
>>> raid5 after each change.
>>> Now the RAID5 has got 6 400GB HDs and still uses only 6*250GB space.
>>> How can I grow the md0 device to use 6*400GB?
>> 
>> mdadm --grow is your friend.
>
>Oh, damn, right. I was focussed on --grow to add a new HD to the RAID....
>But isn´t there a switch to grow to max possible value?
>Do I always have to search for the biggest value and type it in by hand?
man mdadm
....
       -z, --size=
....
              This value can be set with --grow for RAID level 1/4/5/6. If the
              array  was created with a size smaller than the currently active
              drives, the extra space can be accessed using --grow.  The  size
              can  be given as max which means to choose the largest size that
              fits on all current drives.


-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \
-
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] 8+ messages in thread

* Re: RAID5 fill up?
       [not found]     ` <45016867.7080800@tls.msk.ru>
@ 2006-09-08 13:41       ` Lars Schimmer
  0 siblings, 0 replies; 8+ messages in thread
From: Lars Schimmer @ 2006-09-08 13:41 UTC (permalink / raw)
  Cc: linux-raid

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Tokarev wrote:
> Lars Schimmer wrote:
> []
>>>> mdadm --grow is your friend.
>> Oh, damn, right. I was focussed on --grow to add a new HD to the RAID....
>> But isn´t there a switch to grow to max possible value?
>> Do I always have to search for the biggest value and type it in by hand?
> 
> How about actually reading the fine manual? ;-P
> 
>   -z, --size=
> 
>               This value can be set with --grow for RAID level 1/4/5/6. If the
>               array  was created with a size smaller than the currently active
>               drives, the extra space can be accessed using --grow.  The  size
>               can  be given as max which means to choose the largest size that
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>               fits on all current drives.

*damn* This must be the friday... Or I´m in weekend to fast.

THANKS so far.

> /mjt


MfG,
Lars Schimmer
- --
- -------------------------------------------------------------
TU Graz, Institut für ComputerGraphik & WissensVisualisierung
Tel: +43 316 873-5405       E-Mail: l.schimmer@cgv.tugraz.at
Fax: +43 316 873-5402       PGP-Key-ID: 0x4A9B1723
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFAXMUmWhuE0qbFyMRAtqjAJ96irdwtHjIEpvXbrq60a01VLAsMQCdHhCn
YIPwr2pZQ7cErVc9NxenxGA=
=Kgy0
-----END PGP SIGNATURE-----
-
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] 8+ messages in thread

* Re: RAID5 fill up?
  2006-09-08 13:25     ` Luca Berra
@ 2006-09-08 16:35       ` Mr. James W. Laferriere
  2006-09-16 14:12         ` Bill Davidsen
  0 siblings, 1 reply; 8+ messages in thread
From: Mr. James W. Laferriere @ 2006-09-08 16:35 UTC (permalink / raw)
  To: linux-raid maillist

[-- Attachment #1: Type: TEXT/PLAIN, Size: 2037 bytes --]

 	Hello Neil & Luca ,

On Fri, 8 Sep 2006, Luca Berra wrote:
> On Fri, Sep 08, 2006 at 02:26:31PM +0200, Lars Schimmer wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> 
>> Michael Tokarev wrote:
>>> Lars Schimmer wrote:
>>>> Hi!
>>>> 
>>>> I´ve got a software RAiD5 with 6 250GB HDs.
>>>> Now I changed one disk after another to a 400GB HD and resynced the
>>>> raid5 after each change.
>>>> Now the RAID5 has got 6 400GB HDs and still uses only 6*250GB space.
>>>> How can I grow the md0 device to use 6*400GB?
>>> 
>>> mdadm --grow is your friend.
>> 
>> Oh, damn, right. I was focussed on --grow to add a new HD to the RAID....
>> But isn´t there a switch to grow to max possible value?
>> Do I always have to search for the biggest value and type it in by hand?
> man mdadm
> ....
>      -z, --size=
> ....
>             This value can be set with --grow for RAID level 1/4/5/6. If the
>             array  was created with a size smaller than the currently active
>             drives, the extra space can be accessed using --grow.  The  size
>             can  be given as max which means to choose the largest size that
>             fits on all current drives.

 	Kuca ,  Thank you for posting this snippet .
 	Neil ,  Might changing ,

              can  be given as max which means to choose the largest size that
 	To
              can  be given as 'max' which means to choose the largest size that

 	help those reading this be aware that this is a 'string' to add to the
 	end of --size= ?  Also if there are other keywords not quoted ('') this
 	might be a good opertunity .  ;-)  Tia ,  JimL

-- 
+----------------------------------------------------------------------+
| James   W.   Laferriere |   System    Techniques   | Give me VMS     |
| Network        Engineer | 3600 14th Ave SE #20-103 |  Give me Linux  |
| babydr@baby-dragons.com |  Olympia ,  WA.   98501  |   only  on  AXP |
+----------------------------------------------------------------------+

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

* Re: RAID5 fill up?
  2006-09-08 16:35       ` Mr. James W. Laferriere
@ 2006-09-16 14:12         ` Bill Davidsen
  0 siblings, 0 replies; 8+ messages in thread
From: Bill Davidsen @ 2006-09-16 14:12 UTC (permalink / raw)
  To: Mr. James W. Laferriere; +Cc: linux-raid maillist

Mr. James W. Laferriere wrote:

>    
>     Kuca ,  Thank you for posting this snippet .
>     Neil ,  Might changing ,
>
>              can  be given as max which means to choose the largest 
> size that
>     To
>              can  be given as 'max' which means to choose the largest 
> size that
>
>     help those reading this be aware that this is a 'string' to add to 
> the
>     end of --size= ?  Also if there are other keywords not quoted ('') 
> this
>     might be a good opertunity .  ;-)  Tia ,  JimL
>
Definitely a good idea! If I hadn't seen an example posted using that 
feature, I would have assumed that it just meant someone was too lazy to 
type 'maximum' at the time.

-- 
bill davidsen <davidsen@tmr.com>
  CTO TMR Associates, Inc
  Doing interesting things with small computers since 1979


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

end of thread, other threads:[~2006-09-16 14:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-08  9:31 RAID5 fill up? Lars Schimmer
2006-09-08 10:15 ` Michael Tokarev
2006-09-08 12:26   ` Lars Schimmer
2006-09-08 13:25     ` Luca Berra
2006-09-08 16:35       ` Mr. James W. Laferriere
2006-09-16 14:12         ` Bill Davidsen
     [not found]     ` <45016867.7080800@tls.msk.ru>
2006-09-08 13:41       ` Lars Schimmer
  -- strict thread matches above, loose matches on Subject: below --
2006-09-08  9:33 Lars Schimmer

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).