#1  
Old 30th March 2006, 17:53
aqua aqua is offline
Member
 
Join Date: Mar 2006
Posts: 60
Thanks: 4
Thanked 3 Times in 3 Posts
Default xen + raid1

Hello All:

I am installing the Xen/vserver howto as described by falko (excellent howto by the way!).

I am installing this setup on a pair of external harddrives, which i have setup as a software RAID1. Here is a copy of mdadm --detail /dev/md0

mdadm --detail /dev/md0

/dev/md0:
Version : 00.90.01
Creation Time : Tue Mar 28 07:11:18 2006
Raid Level : raid1
Array Size : 244195904 (232.88 GiB 250.06 GB)
Device Size : 244195904 (232.88 GiB 250.06 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent

Update Time : Thu Mar 30 11:52:00 2006
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0

UUID : 7471b230:6584b0f0:9d586981:b9764589
Events : 0.1759

Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1


so now my question is, how should my /boot/grub/menu.lst look like?
i tried several variations, but my computer either keeps rebooting or gets stuck on start up:

title Xen 3.0.1 / XenLinux 2.6.12-xen0
root (md0,0)
kernel /boot/xen.gz dom0_mem=65536
module /boot/vmlinuz-2.6-xen0 root=/dev/md0 ro console=tty0

thank you
aqua
Reply With Quote
Sponsored Links
  #2  
Old 31st March 2006, 11:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Please post your /etc/fstab here.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 31st March 2006, 17:28
aqua aqua is offline
Member
 
Join Date: Mar 2006
Posts: 60
Thanks: 4
Thanked 3 Times in 3 Posts
Default /etc/fstab

Hrllo falko:

here is the file you requested...

GNU nano 1.2.4 File: /etc/fstab

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/md0 / ext3 defaults,errors=remount-ro 0 1
/dev/hdb /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/hdd /media/cdrom1 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/sda /media/usb0 auto rw,user,noauto 0 0
/dev/sdb /media/usb1 auto rw,user,noauto 0 0
Reply With Quote
  #4  
Old 31st March 2006, 17:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Please try this in /boot/grub/menu.lst:

Code:
title Xen 3.0.1 / XenLinux 2.6.12-xen0
root (hd0,0)
kernel /boot/xen.gz dom0_mem=65536
module /boot/vmlinuz-2.6-xen0 root=/dev/md0 ro console=tty0
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 31st March 2006, 18:00
aqua aqua is offline
Member
 
Join Date: Mar 2006
Posts: 60
Thanks: 4
Thanked 3 Times in 3 Posts
Default

i tried that...it would start the booting process, but it would reboot halfway through it.... any other suggestions?

aqua
Reply With Quote
  #6  
Old 31st March 2006, 18:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Can you recall the error message that appears before it reboots?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 31st March 2006, 20:01
aqua aqua is offline
Member
 
Join Date: Mar 2006
Posts: 60
Thanks: 4
Thanked 3 Times in 3 Posts
Default

I didn't see an error just before it rebooted...but the last line i recall just before it rebooted is something like:

Initializing full-speed usb...the screen goes by pretty quick so I don't know the exact line...
Reply With Quote
  #8  
Old 31st March 2006, 20:56
aqua aqua is offline
Member
 
Join Date: Mar 2006
Posts: 60
Thanks: 4
Thanked 3 Times in 3 Posts
Default

Do you think i might have to enable RAID support when i compile Xen?
Reply With Quote
  #9  
Old 1st April 2006, 12:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

I'm not sure, but you can try at least...
(Did you know that I spent a whole week to compile my first kernel the way I wanted it? Weird... )
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #10  
Old 1st April 2006, 17:51
aqua aqua is offline
Member
 
Join Date: Mar 2006
Posts: 60
Thanks: 4
Thanked 3 Times in 3 Posts
 
Default

I guess i will go with that route instead...so then...how do i delete my old configuration so i start fresh? it it enough to delete /boot/xen.gz?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Quota on JFS raid1 problem- cant find filesystem Chaoticmass Server Operation 2 19th March 2006 23:03
How Edit /etc/fstab For Quota with Raid1? rdells General 1 18th March 2006 10:09
grub + SATA RAID1 + IDE ryoken Installation/Configuration 1 14th February 2006 06:23


All times are GMT +2. The time now is 05:00.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.