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

Re: [Xen-users] xen and software raid for domu

  • To: "Eric Persson" <eric@xxxxxxxxxx>
  • From: "Nicholas Lee" <emptysands@xxxxxxxxx>
  • Date: Sat, 11 Mar 2006 21:07:08 +1300
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sat, 11 Mar 2006 08:08:11 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ygz3x5fpAFGH1MjJ1cl1PARRPUpZhhw8el4lHBn6SCZ3w6vL3r8lRAeAuEgGJCztZWehPXJ6A9TFBdeJ26QEee3kQlV5ocwimg2zhpjaUxBaztJq6J1aoUyLNJCLEgnUkD2sh6IDPdYs+SaScxBaMMnGgCQEw7tRJekIYPuTN7g=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On 3/11/06, Eric Persson <eric@xxxxxxxxxx> wrote:
> I've been struggeling with trying to compile a working kernel with the
> xen architecture and the software raid stuff on debian for a few days,
> but with limited success, since I usually dont mess much with the
> kernel, its not my field of expertise...
> Do I really have to? Is there no shortcut for this trick? :)

Use the debian sarge installer. Install standard debian first, get
that going. Then upgrade the kernel to xen. Should just work.

If you can't get vanilla debian going on raid1 md devices, then you
probably shouldn't use it.  In a crisis, if you can't fix it, then you
are in trouble.

It does work:

nic@sea:~$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/md1               3989824   2789100   1200724  70% /
tmpfs                    62476         4     62472   1% /dev/shm
/dev/md0                466596     34382    407322   8% /boot

nic@sea:~$ cat /proc/mdstat
Personalities : [raid0] [raid1] [raid5]
md1 : active raid1 sdb2[1] sda2[0]
      4000064 blocks [2/2] [UU]

md3 : active raid1 sdb4[1] sda4[0]
      66685696 blocks [2/2] [UU]

md0 : active raid1 sdb1[1] sda1[0]
      497856 blocks [2/2] [UU]

unused devices: <none>
nic@sea:~$ uname -a
Linux sea #2 Wed Apr 6 07:15:53 NZST 2005 i686 GNU/Linux

Nicholas Lee
gpg 8072 4F86 EDCD 4FC1 18EF  5BDD 07B0 9597 6D58 D70C

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.