public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] RAID 1 install guide?
@ 2013-09-05  3:04 James
  2013-09-05  6:13 ` J. Roeleveld
  2013-09-05  6:17 ` Marc Stürmer
  0 siblings, 2 replies; 5+ messages in thread
From: James @ 2013-09-05  3:04 UTC (permalink / raw
  To: gentoo-user

Hello,


What would folks recommend as a Gentoo
installation guide for a 2 disk Raid 1
installation? My previous attempts all failed
to trying to follow (integrate info from)
a myriad-malaise of old docs.

It seems much of the documentation for such is
deprecated, with large disk, newer file systems
(ZFS vs ext4 vs ?) UUID, GPT mdadm,  etc etc.

File system that is best for a Raid 1 workstation?

File system that is best for a Raid 1 
(casual usage) web server ?

Time for me to try and spank this gator's ass again.....
(not exactly what happend last time).


input warranted!
James





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

* Re: [gentoo-user] RAID 1 install guide?
  2013-09-05  3:04 [gentoo-user] RAID 1 install guide? James
@ 2013-09-05  6:13 ` J. Roeleveld
  2014-02-22 16:34   ` Kerin Millar
  2013-09-05  6:17 ` Marc Stürmer
  1 sibling, 1 reply; 5+ messages in thread
From: J. Roeleveld @ 2013-09-05  6:13 UTC (permalink / raw
  To: gentoo-user

On Thu, September 5, 2013 05:04, James wrote:
> Hello,
>
> What would folks recommend as a Gentoo
> installation guide for a 2 disk Raid 1
> installation? My previous attempts all failed
> to trying to follow (integrate info from)
> a myriad-malaise of old docs.

I would start with the Raid+LVM Quick install guide:
http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml

> It seems much of the documentation for such is
> deprecated, with large disk, newer file systems
> (ZFS vs ext4 vs ?) UUID, GPT mdadm,  etc etc.

Depending on the size of the disk, fdisk or gdisk needs to be used.
Filesystems, in my opinion, matter only for the data intended to be put on.

For raid-management, I use mdadm. (Using the linux kernel software raid)
If you have a REAL hardware raid card, I would recommend using that.
(Cheap and/or onboard "raid" is generally slower then the software raid
implementation in the kernel and the added bonus of being able to recover
the raid using any other linux installation helps.

> File system that is best for a Raid 1 workstation?

I use Raid0 (striping) on my workstations with LVM and, mostly, ext4
filesystems. The performance is sufficient for my needs.
All my important data is stored on a NAS with hardware Raid-6, so I don't
care if I loose the data on the workstations.

> File system that is best for a Raid 1
> (casual usage) web server ?

Whichever filesystem would be best if you don't use Raid.
Raid1 means all data is duplicated, from a performance P.O.V., it is not a
good option. Not sure if distributed reads are implemented yet in the
kernel.

> Time for me to try and spank this gator's ass again.....
> (not exactly what happend last time).

I implemented this on 2 machines recently. (Using Raid0) and previously
also on an older server (no longer in use) where I used Raid1.
I always used the Gentoo Raid+LVM guide I mentioned above.

If you have any questions while doing this, feel free to ask on this list.

--
Joost



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

* Re: [gentoo-user] RAID 1 install guide?
  2013-09-05  3:04 [gentoo-user] RAID 1 install guide? James
  2013-09-05  6:13 ` J. Roeleveld
@ 2013-09-05  6:17 ` Marc Stürmer
  2013-09-06 15:41   ` [gentoo-user] " James
  1 sibling, 1 reply; 5+ messages in thread
From: Marc Stürmer @ 2013-09-05  6:17 UTC (permalink / raw
  To: gentoo-user

Am 05.09.2013 05:04, schrieb James:

Do you want to use a software raid of hardware raid?

> File system that is best for a Raid 1 workstation?

Well, of course only file systems being supported by the rescue system 
of your hosting provider.

> File system that is best for a Raid 1
> (casual usage) web server ?

Personally I'd go for a software raid and ext4. If you want snapshots, 
put LVM into that, too.

Here's some documentation how to create a software raid in Linux:

https://raid.wiki.kernel.org/index.php/RAID_setup




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

* [gentoo-user] Re: RAID 1 install guide?
  2013-09-05  6:17 ` Marc Stürmer
@ 2013-09-06 15:41   ` James
  0 siblings, 0 replies; 5+ messages in thread
From: James @ 2013-09-06 15:41 UTC (permalink / raw
  To: gentoo-user

Marc Stürmer <mail <at> marc-stuermer.de> writes:


> https://raid.wiki.kernel.org/index.php/RAID_setup

Hey thanks everyone for the suggestions.
I'll vige the install a whirl and post to
a new thread with problems.


James







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

* Re: [gentoo-user] RAID 1 install guide?
  2013-09-05  6:13 ` J. Roeleveld
@ 2014-02-22 16:34   ` Kerin Millar
  0 siblings, 0 replies; 5+ messages in thread
From: Kerin Millar @ 2014-02-22 16:34 UTC (permalink / raw
  To: gentoo-user

On 05/09/2013 07:13, J. Roeleveld wrote:
> On Thu, September 5, 2013 05:04, James wrote:
>> Hello,
>>
>> What would folks recommend as a Gentoo
>> installation guide for a 2 disk Raid 1
>> installation? My previous attempts all failed
>> to trying to follow (integrate info from)
>> a myriad-malaise of old docs.
>
> I would start with the Raid+LVM Quick install guide:
> http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml
>
>> It seems much of the documentation for such is
>> deprecated, with large disk, newer file systems
>> (ZFS vs ext4 vs ?) UUID, GPT mdadm,  etc etc.
>
> Depending on the size of the disk, fdisk or gdisk needs to be used.
> Filesystems, in my opinion, matter only for the data intended to be put on.
>
> For raid-management, I use mdadm. (Using the linux kernel software raid)
> If you have a REAL hardware raid card, I would recommend using that.
> (Cheap and/or onboard "raid" is generally slower then the software raid
> implementation in the kernel and the added bonus of being able to recover
> the raid using any other linux installation helps.
>
>> File system that is best for a Raid 1 workstation?
>
> I use Raid0 (striping) on my workstations with LVM and, mostly, ext4
> filesystems. The performance is sufficient for my needs.
> All my important data is stored on a NAS with hardware Raid-6, so I don't
> care if I loose the data on the workstations.
>
>> File system that is best for a Raid 1
>> (casual usage) web server ?
>
> Whichever filesystem would be best if you don't use Raid.
> Raid1 means all data is duplicated, from a performance P.O.V., it is not a
> good option. Not sure if distributed reads are implemented yet in the
> kernel.

They are. It's perfectly good for performance, provided the array is of 
insufficient magnitude to encounter a bottleneck pertaining to 
controller/bus bandwidth.

--Kerin


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

end of thread, other threads:[~2014-02-22 16:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-05  3:04 [gentoo-user] RAID 1 install guide? James
2013-09-05  6:13 ` J. Roeleveld
2014-02-22 16:34   ` Kerin Millar
2013-09-05  6:17 ` Marc Stürmer
2013-09-06 15:41   ` [gentoo-user] " James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox