[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: raid1 issue, somewhat related to recent "debian on big machines"



On Wed, Mar 11, 2009 at 11:02:31AM +0100, Goswin von Brederlow wrote:
> Alex Samad <alex@samad.com.au> writes:
> 
> > On Wed, Mar 11, 2009 at 09:53:14AM +0100, Francesco Pietra wrote:
> >> To my dismay, I tried (repeatedly) unsuccessfully to implement the
> >> scheme below on old Tyan S2895 with two dual-opteron and two new
> >> Maxtor 250GB, before moving to the new machine. With the recent amd
> >> installer, I tried to set up (manually) the two partitions on both
> >> disks to set up raid1.
> >> 
> >> First, I tried with a 0.2GB partition for boot but I found no way to
> >> have lvm for the other partition and where to set the root file
> >> system.
> >> 
> >> Then, I tried with a 1GB partition but found no way to have it for
> >> both boot and root.
> >
> > from memory but the outline of who I install
> >
> > Create 3 paritions 1 2 3 on sda and sdb of 500M 10G (this is going to be
> > raid1) the rest of the hard drive
> >
> > select all the partitions to be a raid device
> >
> > configure raid
> > md0 = sda1 sdb1
> > md1 = sda2 sdb2
> > md2 = sda3 sdb3
> >
> > select md0 as type ext2 mount /boot
> > select md1 as type ext3 mount /
> > select md2 as type lvm device
> 
> If you have a seperate / then you don't need /boot and 10G for /
> without /home, /usr, /var (see below) is way too big.
I had forgotten about /var I usually only place /var/log on a separate
lvm 

I would still argue for a separate /boot - plain old ext2, mount it ro
until kernel upgrade, maybe store a rescue image on their, and with the
size of disks now a days whats 500m or even 10G


> 
> > configure lvm
> >
> > ... create your lvm partitions ....
> > select each one and specify fs type and mount point
> >
> > then proceed
> 
> The tricky part I think is that you have to configure the partitions
> to be used for raid before you can actualy create a raid. Then you
> have to configure the raid devices to be used for lvm before one can
> actualy create the lvm stuff. It makes raid/lvm kind of hidden.

yep, if you follow the steps above that should cover it, you have to
build the building blocks

> 
> MfG
>         Goswin
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-amd64-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 

-- 
"I would have to ask the questioner. I haven't had a chance to ask the questioners the question they've been questioning.  On the other hand, I firmly believe she'll be a fine secretary of labor.  And I've got confidence in Linda Chavez.  She is a�she'll bring an interesting perspective to the Labor Department."

	- George W. Bush
01/08/2001
Austin, TX

Attachment: signature.asc
Description: Digital signature


Reply to: