Skip to contentSkip to conversation

Raid chunksize...

DISCUSSION Matt 2 participants 4 messages May 28, 2003 – May 29, 2003 MD RAID

lore
Share & tools
lore

Matt

author
#0 lore raw

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

Hello,
I currently have a software raid0 setup with this configuration

raiddev                 /dev/md0
raid-level              0
nr-raid-disks           2
nr-spare-disks          0
persistent-superblock   1
chunk-size              4

device /dev/hda2
raid-disk 0

device /dev/hdc2
raid-disk 1

Both drives are 80 gig .. so the total comes out to 160 gig w/ raid0 .. Now is a chunksize of 4k to small (??), or is it optimal (??). Also I'am curios is there anyway to change the chunksize w/o lossing the raid array and the contents inside that array ?

Thanks,
Matt

- - Also Iam not on the list , so any replies please CC to me .. Thanks -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+1JDLleY/n9G/oZ8RAsXCAJ47PYJi6oMWyNHx4ZRRd42XivRacgCfToF/ KV4H0rAQ3kJpSbiofVFxh0E=
=UGvD
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 5 lines · Matt

raid-level 0
chunk-size 4

Both drives are 80 gig .. so the total comes out to 160 gig w/ raid0 .. Now is a chunksize of 4k to small (??), or is it optimal (??). Also I'am curios is

yes, i definetly think that's too small. try 16, 32, and 64. i'm using 32 w/ reiserfs. the only way to really find the optimal size, is of course to try different sizes timing what you typically use the drives for.

Quoted 2 lines

there anyway to change the chunksize w/o lossing the raid array and the contents inside that array ?

nope.

Signature · 2 lines
Tom Vier <[email protected]>
DSA Key ID 0xE6CB97DA
author
#2 lore raw

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

what about using raidreconf , to reconfigure the array ??

Matt

Quoted 8 lines · you
Quoted 6 lines · Matt

raid-level 0
chunk-size 4

Both drives are 80 gig .. so the total comes out to 160 gig w/ raid0 .. Now is a chunksize of 4k to small (??), or is it optimal (??). Also I'am curios is

Quoted 8 lines

yes, i definetly think that's too small. try 16, 32, and 64. i'm using 32 w/ reiserfs. the only way to really find the optimal size, is of course to try different sizes timing what you typically use the drives for.

Quoted 2 lines

there anyway to change the chunksize w/o lossing the raid array and the contents inside that array ?

nope.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD4DBQE+1VcYleY/n9G/oZ8RAhV7AJ4spTMuOdqn/xItQdWy6ajlguOKnACYpTvN 7LZNH5e8qIX86xx3zGLuaA==
=CQ5j
-----END PGP SIGNATURE-----

#3 lore raw
Quoted 1 line · Matt

what about using raidreconf , to reconfigure the array ??

damn, wish i had know about that a week ago. would have saved me a lot of time. backup everything and give it a try. let me know if works/doesn't.

Signature · 2 lines
Tom Vier <[email protected]>
DSA Key ID 0xE6CB97DA