Skip to contentSkip to conversation

RAID5 fill up?

DISCUSSION Lars Schimmer 5 participants 7 messages Sep 8, 2006 – Sep 16, 2006 1 message not in the archive MD RAID

lore
Share & tools
lore
#0 lore raw

-----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: [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw
Quoted 7 lines · Lars Schimmer

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw

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

Quoted 10 lines · Michael Tokarev
Quoted 7 lines · Lars Schimmer

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?

Quoted 2 lines

/mjt

MfG,
Lars Schimmer
- --
- ------------------------------------------------------------- TU Graz, Institut für ComputerGraphik & WissensVisualisierung
Tel: +43 316 873-5405 E-Mail: [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 13 lines · Lars Schimmer

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

Quoted 9 lines · Michael Tokarev
Quoted 7 lines · Lars Schimmer

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?

Quoted 5 lines
Quoted 1 line

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.

Signature · 10 lines
Luca Berra -- [email protected]
       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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#4 lore raw

Hello Neil & Luca ,

Quoted 21 lines · Luca Berra
Quoted 13 lines · Lars Schimmer

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

Quoted 9 lines · Michael Tokarev
Quoted 7 lines · Lars Schimmer

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?

Quoted 5 lines
Quoted 1 line

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

Quoted 7 lines
     -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

Signature · 5 lines
+----------------------------------------------------------------------+
| James   W.   Laferriere |   System    Techniques   | Give me VMS     |
| Network        Engineer | 3600 14th Ave SE #20-103 |  Give me Linux  |
| [email protected] |  Olympia ,  WA.   98501  |   only  on  AXP |
+----------------------------------------------------------------------+
#5 lore raw
Quoted 10 lines · Mr. James W. Laferriere

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

Quoted 6 lines

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.

Signature · 3 lines
bill davidsen <[email protected]>
 CTO TMR Associates, Inc
 Doing interesting things with small computers since 1979

A message that is not in the archive (sent off-list or not yet received): [email protected]

#7 lore raw

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

Quoted 9 lines · Michael Tokarev

Lars Schimmer wrote:
[]

Quoted 4 lines
Quoted 1 line
Quoted 1 line

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

Quoted 8 lines
  -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.

Quoted 1 line

/mjt

MfG,
Lars Schimmer
- --
- ------------------------------------------------------------- TU Graz, Institut für ComputerGraphik & WissensVisualisierung
Tel: +43 316 873-5405 E-Mail: [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html