linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RAID5 with two drive sizes question
@ 2012-06-05 17:27 Joachim Otahal (privat)
  2012-06-05 17:39 ` Roman Mamedov
  0 siblings, 1 reply; 8+ messages in thread
From: Joachim Otahal (privat) @ 2012-06-05 17:27 UTC (permalink / raw)
  To: linux-raid

Hi,
Debian 6.0.4 / superblock 1.2
sdc1 = 1.5 TB
sdd1 = 1.5 TB (cannot be used during --create, contains still data)
sde1 = 1 TB
sdf1 = 1 TB
sdg1 = 1 TB

Target: RADI5 with 4.5 TB capacity.

The normal case would be:
mdadm -C /dev/md3 --bitmap=internal -l 5 -n 5 /dev/sdc1 /dev/sdd1 
/dev/sde1 /dev/sdf1 /dev/sdg1
What I expect: since the first and the second drive are 1.5 TB size the 
third fouth and fifth drive are treated like 2*1.5 TB, creating a 4.5 TB 
RAID.
What would really be created: I know here are people that know and not 
guess : ).

What my case actually is:
mdadm -C /dev/md3 --bitmap=internal -l 5 -n 5 /dev/sdc1 missing 
/dev/sde1 /dev/sdf1 /dev/sdg1
Expected: Still create a 4.5 TB since sdc1 is 1.5 TB, though sdd1 is yet 
missing.
Will it work as expected?
Then format md3, and copy content of sdd1 (which is yet still /dev/md2) 
into the raid, then --add /dev/sdd1 to the raid and wait until the 
rebuild is done.

Jou

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

end of thread, other threads:[~2012-06-07  0:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-05 17:27 RAID5 with two drive sizes question Joachim Otahal (privat)
2012-06-05 17:39 ` Roman Mamedov
2012-06-05 19:41   ` Joachim Otahal (privat)
2012-06-05 19:59     ` Roman Mamedov
2012-06-05 20:36       ` Stan Hoeppner
2012-06-05 20:48         ` Joachim Otahal (privat)
2012-06-06  4:16         ` Roman Mamedov
2012-06-07  0:39           ` Stan Hoeppner

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