linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Linear raid extend component
@ 2012-12-29 11:44 Adam Goryachev
  2012-12-29 16:59 ` Chris Murphy
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Adam Goryachev @ 2012-12-29 11:44 UTC (permalink / raw)
  To: linux-raid@vger.kernel.org

I have 3 RAID devices, 2 RAID1 which are then combined into a linear RAID. I've now replaced both drives of one of the RAID1 (from 2 x 1TB TO 2 x 3TB). 

I now want to grow the raid1 from 1TB to 3TB and then grow the linear to include the extra space. However, my concern is that if this is the first array in the linear I will corrupt the filesystem because there will be a big blank space in the middle. 

mdadm --misc --query /dev/md1
/dev/md1: 931.51GB raid1 2 devices, 0 spares. 
/dev/md1: device 1 in 2 device unknown linear array. 
mdadm --misc --query /dev/md2
/dev/md2: 1863.01GB raid1 2 devices, 0 spares. 
/dev/md2: device 0 in 2 device unknown linear array. 

So, I've increased the size of md1 which should be the end of md3.
So can I just do:
mdadm --grow /dev/md1 --size=max
Then when complete:
mdadm --grow /dev/md3 --size=max

Thanks for any assistance. 

Regards,
Adam

Sent from my mobile
Adam Goryachev
Website Managers
http://www.websitemanagers.com.au

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

end of thread, other threads:[~2013-01-10 12:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-29 11:44 Linear raid extend component Adam Goryachev
2012-12-29 16:59 ` Chris Murphy
2012-12-29 18:14 ` Chris Murphy
2012-12-29 20:24   ` Stan Hoeppner
2012-12-29 21:52     ` Chris Murphy
2012-12-31  4:23       ` Stan Hoeppner
     [not found]     ` <50ED18A3.7050203@websitemanagers.com.au>
2013-01-10 12:14       ` Adam Goryachev
2012-12-30  6:50 ` Mikael Abrahamsson

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