Re: Debian+LVM+RAID

2009-07-12 Thread martin f krafft
also sprach lee [2009.07.12.0057 +0200]: > Well, I gave the RAID a name, but that name got lost ... and it still > has p designation, with kernel 2.6.30. If you're asking a question, you should include all relevant details. -- .''`. martin f. krafft Related projects: : :' : proud Deb

Re: Debian+LVM+RAID

2009-07-11 Thread Alex Samad
On Sat, Jul 11, 2009 at 04:40:02PM -0600, lee wrote: > On Fri, Jul 10, 2009 at 07:04:26AM +1000, Alex Samad wrote: > > > comes down to how much you value your data. > > It comes down to how much money you can spend on securing it. just about the same thing > > > My home server has 10 x 1T dri

Re: Debian+LVM+RAID

2009-07-11 Thread lee
On Thu, Jul 09, 2009 at 10:44:30PM +0200, martin f krafft wrote: > > You can still decide if you want a partitionable or non-partitionable > > RAID, thus not all RAIDs are partitionable since kernel > > 2.6.29. Unfortunately, the man page doesn't seem to say what the > > default is for the partitio

Re: Debian+LVM+RAID

2009-07-11 Thread lee
On Fri, Jul 10, 2009 at 07:04:26AM +1000, Alex Samad wrote: > comes down to how much you value your data. It comes down to how much money you can spend on securing it. > My home server has 10 x 1T drives in it a mix of raid1 + raid5 + > raid6, I have a second server with 9 x 1T drives in it (in

Re: Debian+LVM+RAID

2009-07-10 Thread Pete Boyd
This is how I do it on Debian Etch: RAID: http://thegoldenear.org/toolbox/unices/server-setup-debian-etch.html#raid LVM: http://thegoldenear.org/toolbox/unices/server-setup-debian-etch.html#lvm The same process works fine for Debian Lenny (I just haven't gotten my Lenny guide written yet) apart

Re: Debian+LVM+RAID

2009-07-10 Thread thveillon.debian
Roger Leigh wrote: > On Thu, Jul 09, 2009 at 10:45:08PM +0200, martin f krafft wrote: >> also sprach thveillon.debian >> [2009.07.09.2215 +0200]: >>> It is possible to boot from mdadm software raid1 with grub2, in Lenny >>> and Squeeze. But I would worry about the lvm, I don't think this is as >>

Re: Debian+LVM+RAID

2009-07-09 Thread martin f krafft
also sprach Roger Leigh [2009.07.10.0131 +0200]: > > grub2 can boot LVM just as well as it can boot RAID1 or RAID5. > > Is this stable for production use, or still in the experimental > stage? It's non-default in lenny still, but it works. That's all I can tell you, sorry. -- .''`. martin f

Re: Debian+LVM+RAID

2009-07-09 Thread Roger Leigh
On Thu, Jul 09, 2009 at 10:45:08PM +0200, martin f krafft wrote: > also sprach thveillon.debian > [2009.07.09.2215 +0200]: > > It is possible to boot from mdadm software raid1 with grub2, in Lenny > > and Squeeze. But I would worry about the lvm, I don't think this is as > > straightforward, mayb

Re: Debian+LVM+RAID

2009-07-09 Thread Alex Samad
[snip] > > > > what happens if there is something important swapped out and that drive > > > > dies ? I could understand not wanting to put it on lvm and then raid1. > > > > > > When the swap partition quits working, the system might stop > > > working. So the question is what's more important,

Re: Debian+LVM+RAID

2009-07-09 Thread martin f krafft
also sprach thveillon.debian [2009.07.09.2215 +0200]: > It is possible to boot from mdadm software raid1 with grub2, in Lenny > and Squeeze. But I would worry about the lvm, I don't think this is as > straightforward, maybe not even possible at this point (to be > double-checked anyway). grub2 c

Re: Debian+LVM+RAID

2009-07-09 Thread martin f krafft
also sprach lee [2009.07.09.2204 +0200]: >-a, --auto{=no,yes,md,mdp,part,p}{NN} > Instruct mdadm to create the device file if needed, > possibly allocating an unused minor number. "md" causes > a non-partitionable array to be used. "mdp", "part"

Re: Debian+LVM+RAID

2009-07-09 Thread thveillon.debian
lee wrote: > On Thu, Jul 09, 2009 at 07:47:36PM +0100, Roger Leigh wrote: > >>In the partitioner, set /dev/sda1 as /boot. /boot needs to be >>separate from the RAID+LVM setup in order to be accessible by the >>bootloader, though it's possible grub2 will fix this at some point. >>K

Re: Debian+LVM+RAID

2009-07-09 Thread lee
On Thu, Jul 09, 2009 at 07:47:36PM +0100, Roger Leigh wrote: >In the partitioner, set /dev/sda1 as /boot. /boot needs to be >separate from the RAID+LVM setup in order to be accessible by the >bootloader, though it's possible grub2 will fix this at some point. >Keeping it separate

Re: Debian+LVM+RAID

2009-07-09 Thread lee
On Thu, Jul 09, 2009 at 11:42:16AM +0200, martin f krafft wrote: > also sprach lee [2009.07.09.0707 +0200]: > > Why do you need LVM? > > LVM offers features that RAID does not. If you want those features, > you need LVM. Yeah, but that wasn't what I was asking. I tried to find out what features

Re: Debian+LVM+RAID

2009-07-09 Thread lee
On Thu, Jul 09, 2009 at 08:43:13PM +1000, Alex Samad wrote: > On Thu, Jul 09, 2009 at 02:19:44AM -0600, lee wrote: > > On Thu, Jul 09, 2009 at 03:33:01PM +1000, Alex Samad wrote: > > > > > > Creating a swap partition on a software RAID device isn't ideal. > > > > > > what happens if there is some

Re: Debian+LVM+RAID

2009-07-09 Thread Roger Leigh
On Thu, Jul 09, 2009 at 10:34:13AM +0700, Vilasith Phonepadith wrote: > > I am trying with LVM+RAID, and I did some tests. I need your help for the > installation of Lenny. > > Problem: I have to install Debian with the requirements as follow:partition: > use the system of LVM for partitionning

Re: Debian+LVM+RAID

2009-07-09 Thread Alex Samad
On Thu, Jul 09, 2009 at 02:19:44AM -0600, lee wrote: > On Thu, Jul 09, 2009 at 03:33:01PM +1000, Alex Samad wrote: > > > > Creating a swap partition on a software RAID device isn't ideal. > > > > what happens if there is something important swapped out and that drive > > dies ? I could understan

Re: Debian+LVM+RAID

2009-07-09 Thread martin f krafft
also sprach lee [2009.07.09.0707 +0200]: > Why do you need LVM? LVM offers features that RAID does not. If you want those features, you need LVM. > The RAID array must be partitionable, which is an option you > eventually need to specify when creating it. I don't know what the [...] > To clarify

Re: Debian+LVM+RAID

2009-07-09 Thread lee
On Thu, Jul 09, 2009 at 03:33:01PM +1000, Alex Samad wrote: > > Creating a swap partition on a software RAID device isn't ideal. > > what happens if there is something important swapped out and that drive > dies ? I could understand not wanting to put it on lvm and then raid1. When the swap par

Re: Debian+LVM+RAID

2009-07-09 Thread linuksos
Hi, here are some LVM basics to get you started.. http://www.linuxconfig.org/Linux_lvm_-_Logical_Volume_Manager lubos On Thu, Jul 9, 2009 at 5:31 PM, Serge van Ginderachter wrote: > 2009/7/9 Alex Samad : > >>> Creating a swap partition on a software RAID device isn't ideal. It is >>> better to

Re: Debian+LVM+RAID

2009-07-09 Thread Serge van Ginderachter
2009/7/9 Alex Samad : >> Creating a swap partition on a software RAID device isn't ideal. It is >> better to create a swap partition on each of the physical devices and >> give them the same priority (in /etc/fstab). That's only one example, >> you could also use a disk that isn't part of the RAID

Re: Debian+LVM+RAID

2009-07-08 Thread Alex Samad
On Wed, Jul 08, 2009 at 11:16:04PM -0600, lee wrote: > On Thu, Jul 09, 2009 at 02:13:25PM +1000, Alex Samad wrote: > > > md0 = sda1 + sdb1 > > md1 = sda2 + sdb2 > > md3 = sda3 + sdb3 > > > > md0 = /boot (ext2) > > md1 = / (ext3) > > md2 = lvm physical device > > > > Then on LVM > > > > size of

Re: Debian+LVM+RAID

2009-07-08 Thread lee
On Thu, Jul 09, 2009 at 02:13:25PM +1000, Alex Samad wrote: > md0 = sda1 + sdb1 > md1 = sda2 + sdb2 > md3 = sda3 + sdb3 > > md0 = /boot (ext2) > md1 = / (ext3) > md2 = lvm physical device > > Then on LVM > > size of memory = swap partition > 1G = ext3 mount point /var/log > > Then chop up th

Re: Debian+LVM+RAID

2009-07-08 Thread lee
On Thu, Jul 09, 2009 at 10:34:13AM +0700, Vilasith Phonepadith wrote: > Problem: I have to install Debian with the requirements as > follow:partition: use the system of LVM for partitionning the > serversif possible on the Disk RAID1 Mirroring I don't understand > well and don't know how to start.

Re: Debian+LVM+RAID

2009-07-08 Thread Alex Samad
On Thu, Jul 09, 2009 at 10:34:13AM +0700, Vilasith Phonepadith wrote: > > Hello, > > I am trying with LVM+RAID, and I did some tests. I need your help for the > installation of Lenny. > > Problem: I have to install Debian with the requirements as follow:partition: > use the system of LVM for p