Re: RAID5 fill up?

2006-09-16 Thread Bill Davidsen

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 [EMAIL PROTECTED]
 CTO TMR Associates, Inc
 Doing interesting things with small computers since 1979

-
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


RAID5 fill up?

2006-09-08 Thread Lars Schimmer
-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


RAID5 fill up?

2006-09-08 Thread 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?

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


Re: RAID5 fill up?

2006-09-08 Thread Michael Tokarev
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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: RAID5 fill up?

2006-09-08 Thread Lars Schimmer
-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: [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


Re: RAID5 fill up?

2006-09-08 Thread Luca Berra

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 -- [EMAIL PROTECTED]
   Communication Media  Services S.r.l.
/\
\ / ASCII RIBBON CAMPAIGN
 XAGAINST 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


Re: RAID5 fill up?

2006-09-08 Thread Lars Schimmer
-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: [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


Re: RAID5 fill up?

2006-09-08 Thread Mr. James W. Laferriere

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 |   SystemTechniques   | Give me VMS |
| NetworkEngineer | 3600 14th Ave SE #20-103 |  Give me Linux  |
| [EMAIL PROTECTED] |  Olympia ,  WA.   98501  |   only  on  AXP |
+--+