Installation with multiple Software RAID devices + LVM

2009-03-29 Thread Touko Korpela
I'd like to install Lenny into existing LVM volume group built top of
Software RAID-1 physical volumes like this:

pvs:
  PV VG   Fmt  Attr PSize  PFree
  /dev/md0   LVM_VG_2 lvm2 a-   50,13G 0
  /dev/md1   LVM_VG_2 lvm2 a-   14,80G 80,00M

/proc/mdstat:
Personalities : [raid1]
md1 : active raid1 hda9[0] hdc6[1]
  15518686 blocks super 1.2 [2/2] [UU]

md0 : active raid1 hda7[0] hdc5[1]
  52564544 blocks [2/2] [UU]

Partitions are type fd Linux raid autodetect and autodetected fine
using existing installation (mix of etch and lenny).
I used priority=medium boot option to give more control during install.
But Lenny installer or kernel doesn't autoassemble md1, only md0. I think it
should bring md1 up too. Could it be about superblock version (md1 has
version 1.2 superblock). Why version 0.90 is default?
As workaround how I assemble array manually from installer without erasing
data?

(I'm not subscribed)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Mirroring existing LVM set: software RAID or LVM mirror?

2008-11-12 Thread Tristan Terpelle
I'm going to buy a second disk to add to my system. I want to mirror my
current LVM setup for redundancy. So far, on older systems, I've always
used software RAID 1 or 5 arrays with LVM on top. I've never had any
problems with it, mainly because I've been lucky and have never had disk
failures.

Currently, I have no software RAID on my system yet. Just a small /boot
partition, and a huge LVM partition for everything else. I recently
discovered I could use LVM's mirroring capabilities. This would probably be
easiest and fastest for me, since I wouldn't have to try shove a software
RAID array beneath my existing PV's. On the other hand, software RAID with
LVM on top seems to be the tried and trusted Linux way. I haven't even
found a comparison between the two yet.

Please share your LVM mirroring experiences.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



preseed with software raid and lvm

2007-08-17 Thread Iñigo Tejedor Arrondo
Hello, sorry for my english:

 I can use preseed without problems, with raid1 and lvm separately. 
But at the time of using the following scheme:

hd0,0  primary  /boot
hd1,0  primary  -

hd0,1 raid 1
hd1,1 raid 1
  md0  lvm
 lv00 /
 lv01 swap
 lv02 /tmp
 lv03 /var

  I get crazy about the syntax or expert recipe that i have to use. I
have read the following links (and sublinks) [0], [1],[2],[3] and i
have try, in a manual installation, to read the output of:

debconf-get-selections --installer  file

  But i don't find the right way to do it.

 ¿any help, documentation, .cfg or tip?

  Thanks

Inigo

[0]
http://d-i.alioth.debian.org/manual/en.i386/apb.html
[1]
http://d-i.alioth.debian.org/manual/example-preseed.txt
[2]
http://d-i.alioth.debian.org/svn/debian-installer/installer/doc/devel/partman-auto-recipe.txt
[3]
http://wiki.debian.org/DebianInstaller/Preseed


Re: software raid and lvm

2004-04-14 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Greg Sidelinger  [EMAIL PROTECTED] wrote:
I'm trying to find some documentation how installing testing on a system
using root on software raid1 and lmv. I've done some searching around
and most of the stuff I have seen is for the 3.0 installer and not the
new debian installer. So if anyone knows where I might find some
documentation on this could you please let me know.

I'm not exactly sure what your goals are, but if you want to use
LVM just to create partitions on the RAID1 device, there is
another way. Recent 2.6 kernels have support for partitionable raid.

There's a MICRO-HOWTO at http://www.miquels.cistron.nl/raid/

Mike.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



software raid and lvm

2004-04-13 Thread Greg Sidelinger
I'm trying to find some documentation how installing testing on a system
using root on software raid1 and lmv. I've done some searching around
and most of the stuff I have seen is for the 3.0 installer and not the
new debian installer. So if anyone knows where I might find some
documentation on this could you please let me know.


-- 
Greg Sidelinger
gate'at'ilive4code.net
---
there's no point for democracy when ignorance is celebrated 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: software raid and lvm

2004-04-13 Thread Colin Watson
On Tue, Apr 13, 2004 at 05:51:44PM -0400, Greg Sidelinger wrote:
 I'm trying to find some documentation how installing testing on a system
 using root on software raid1 and lmv. I've done some searching around
 and most of the stuff I have seen is for the 3.0 installer and not the
 new debian installer. So if anyone knows where I might find some
 documentation on this could you please let me know.

We don't have software RAID support in debian-installer yet, I'm afraid,
but I believe efforts are underway.

-- 
Colin Watson  [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: software raid and lvm

2004-04-13 Thread Katipo
Colin Watson wrote:

On Tue, Apr 13, 2004 at 05:51:44PM -0400, Greg Sidelinger wrote:
 

I'm trying to find some documentation how installing testing on a system
using root on software raid1 and lmv. I've done some searching around
and most of the stuff I have seen is for the 3.0 installer and not the
new debian installer. So if anyone knows where I might find some
documentation on this could you please let me know.
   

We don't have software RAID support in debian-installer yet, I'm afraid,
but I believe efforts are underway.
 

The LVM option is included though.
Regards,
David.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]