Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #158059 > unrolled thread

RAID 1 System Installation Question

Started byTim McDonough <tmcdonough@gmail.com>
First post2015-09-18 23:20 +0200
Last post2015-09-21 00:30 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  RAID 1 System Installation Question Tim McDonough <tmcdonough@gmail.com> - 2015-09-18 23:20 +0200
    Re: RAID 1 System Installation Question linuxthefish <linuxthefish@gmail.com> - 2015-09-19 00:10 +0200
      Re: RAID 1 System Installation Question Tim McDonough <tmcdonough@gmail.com> - 2015-09-21 00:30 +0200

#158059 — RAID 1 System Installation Question

FromTim McDonough <tmcdonough@gmail.com>
Date2015-09-18 23:20 +0200
SubjectRAID 1 System Installation Question
Message-ID<qabey-5VL-3@gated-at.bofh.it>
I've used Debian Linux for a number of years but up until now always 
with a single hard drive.

I want to build a new system that will have a pair of 1TB drives 
configured as a RAID-1 mirror. In reading the mdadm Wiki the discussion 
begins with installing mdadm.

My goal is to have a system where if either drive fails things will a) 
continue to run from a single drive, and b) be able to replace the 
failed drive with a new one of the same size and have the system rebuild 
into a mirrored array again.

It is not clear to me how I need to begin the installation sequence.

My question: Do I install Debian to a single drive and will installing 
mdadm then allow me to add the second disk and setup RAID? Do I need to 
configure each drive in some way before installing Debian and then mdadm?

If there is an up-to-date "how to" that describes this please just point 
me there. I have not found anything that seems to start at the point 
where I just have bare metal.

Regards,

Tim

[toc] | [next] | [standalone]


#158061

Fromlinuxthefish <linuxthefish@gmail.com>
Date2015-09-19 00:10 +0200
Message-ID<qac0W-7kT-29@gated-at.bofh.it>
In reply to#158059
Tim,

>From what I remember it's best to set it up when you installing the
system, then you can install the bootloader to /boot in RAID 1.

https://blog.sleeplessbeastie.eu/2013/10/04/how-to-configure-software-raid1-during-installation-process/
is what I followed.

Thanks,
Edmund

On 18 September 2015 at 22:11, Tim McDonough <tmcdonough@gmail.com> wrote:
> I've used Debian Linux for a number of years but up until now always with a
> single hard drive.
>
> I want to build a new system that will have a pair of 1TB drives configured
> as a RAID-1 mirror. In reading the mdadm Wiki the discussion begins with
> installing mdadm.
>
> My goal is to have a system where if either drive fails things will a)
> continue to run from a single drive, and b) be able to replace the failed
> drive with a new one of the same size and have the system rebuild into a
> mirrored array again.
>
> It is not clear to me how I need to begin the installation sequence.
>
> My question: Do I install Debian to a single drive and will installing mdadm
> then allow me to add the second disk and setup RAID? Do I need to configure
> each drive in some way before installing Debian and then mdadm?
>
> If there is an up-to-date "how to" that describes this please just point me
> there. I have not found anything that seems to start at the point where I
> just have bare metal.
>
> Regards,
>
> Tim
>

[toc] | [prev] | [next] | [standalone]


#158103

FromTim McDonough <tmcdonough@gmail.com>
Date2015-09-21 00:30 +0200
Message-ID<qaVho-4Gp-9@gated-at.bofh.it>
In reply to#158061
Thank you! I will try this procedure this week.

Tim

On 9/18/2015 5:04 PM, linuxthefish wrote:
> Tim,
>
> >From what I remember it's best to set it up when you installing the
> system, then you can install the bootloader to /boot in RAID 1.
>
> https://blog.sleeplessbeastie.eu/2013/10/04/how-to-configure-software-raid1-during-installation-process/
> is what I followed.
>
> Thanks,
> Edmund
>
> On 18 September 2015 at 22:11, Tim McDonough <tmcdonough@gmail.com> wrote:
>> I've used Debian Linux for a number of years but up until now always with a
>> single hard drive.
>>
>> I want to build a new system that will have a pair of 1TB drives configured
>> as a RAID-1 mirror. In reading the mdadm Wiki the discussion begins with
>> installing mdadm.
>>
>> My goal is to have a system where if either drive fails things will a)
>> continue to run from a single drive, and b) be able to replace the failed
>> drive with a new one of the same size and have the system rebuild into a
>> mirrored array again.
>>
>> It is not clear to me how I need to begin the installation sequence.
>>
>> My question: Do I install Debian to a single drive and will installing mdadm
>> then allow me to add the second disk and setup RAID? Do I need to configure
>> each drive in some way before installing Debian and then mdadm?
>>
>> If there is an up-to-date "how to" that describes this please just point me
>> there. I have not found anything that seems to start at the point where I
>> just have bare metal.
>>
>> Regards,
>>
>> Tim
>>
>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web