Re: [CentOS] Adding a new disk to an existing raid 10

2014-04-01 Thread SilverTip257
On Tue, Apr 1, 2014 at 8:08 PM, John R Pierce wrote: > On 4/1/2014 5:03 PM, SilverTip257 wrote: > > You can "clone" the partition layout from an existing healthy disk and > > write it to the new disk with sfdisk.*As always, be very careful* what > > disk you're dumping the partition layout from

Re: [CentOS] Adding a new disk to an existing raid 10

2014-04-01 Thread John R Pierce
On 4/1/2014 5:03 PM, SilverTip257 wrote: > You can "clone" the partition layout from an existing healthy disk and > write it to the new disk with sfdisk.*As always, be very careful* what > disk you're dumping the partition layout from and which one is the target > destination. > > sfdisk -d /dev/s

Re: [CentOS] Adding a new disk to an existing raid 10

2014-04-01 Thread SilverTip257
On Tue, Apr 1, 2014 at 4:58 AM, JC Putter wrote: > Hi, > > I had to do this a while ago, basically you have to mark the disk as > failed (if not already) and than remove it from the array > > mark as failed > mdadm --fail /dev/md0 /dev/sdaX > > remove from array > madmad --remove /dev/md0 /dev/sd

Re: [CentOS] Adding a new disk to an existing raid 10

2014-04-01 Thread Tom Robinson
On 01/04/14 19:21, Roland RoLaNd wrote: > Dear all, > I'm not used to handling software raid. > I've inherited a server which has raid 10 set. > one of our disks failed, and it's to be replaced today. > My question is; any hint how to add this new disk to the existing raid array ? > first thought i

Re: [CentOS] Adding a new disk to an existing raid 10

2014-04-01 Thread JC Putter
Hi, I had to do this a while ago, basically you have to mark the disk as failed (if not already) and than remove it from the array mark as failed > mdadm --fail /dev/md0 /dev/sdaX remove from array > madmad --remove /dev/md0 /dev/sdaX Partition your new disk to your needs and then add it to the

[CentOS] Adding a new disk to an existing raid 10

2014-04-01 Thread Roland RoLaNd
Dear all, I'm not used to handling software raid. I've inherited a server which has raid 10 set. one of our disks failed, and it's to be replaced today. My question is; any hint how to add this new disk to the existing raid array ? first thought is :- Create identical partitions as other disks in t