Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd December 2008, 21:01
lucy_t lucy_t is offline
Junior Member
 
Join Date: Dec 2008
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default Unable to repair/re-install ubunt svr ubuntu 8.04/8.10 on RAID 5 LVM

I wanted to say thanks t all of the posts/tutorials and guides I have used to give me a few years of happiness in using ubuntu.

I have made a bit of a mistake I believe which has left me with a problem....

I have a HP xw4300 with 4 sata disks and 1 ide disk. The 4 sata disks are in a RAID 5 set with 1 LVM. The LVM is for Home and spare space on the sata disks in various stripes or mirrors is used for swap,var and tmp. On the IDE there is root, boot and USR.

I previously broke the IDE disk and replaced it and on installing 8.04 was able to identify Home, swap, var & tmp and rebuild the new disk and all was well.

Recently I wished to try KDE 4.1 whish did not go well and on removal it got even worse mainly through me tinkering with bits of debian I did not completely understand. So I thought I would move to ubuntu 8.10 svr and so re-installed the ide disk. It did not see the LVM but I though I would be able to see it once the build completed and I got a GUI to work with. I was wrong, and on the subsequent re-install of 8.04 and being able to see the LVM and set home, swap, var & tmp when the machine re-booted it cannot write to any of the sata disks and therefore will not boot beyond grub.

Is there any way I can re-install a sever OS with a gui and re-mount the LVM happily?

Many thanks in advance for reading through this and for any comments you have.

LT
Reply With Quote
Sponsored Links
  #2  
Old 3rd December 2008, 17:34
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

You can try to boot into a rescue system (e.g. with Knoppix) and try to undo the recent changes. This should give you the idea: http://www.howtoforge.com/how-to-res...d-with-knoppix
__________________
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
The Following User Says Thank You to falko For This Useful Post:
lucy_t (3rd December 2008)
  #3  
Old 3rd December 2008, 21:04
lucy_t lucy_t is offline
Junior Member
 
Join Date: Dec 2008
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default

OK, I'll have a go with Knoppix and see how I get on, thanks for the suggestion.

L
Reply With Quote
  #4  
Old 17th December 2008, 19:43
lucy_t lucy_t is offline
Junior Member
 
Join Date: Dec 2008
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I booted the machine with Knoppix but it cannot handle LVM's. So I have an old backup I'll go back to but can someone suggest what disk config I should use for a server to serve media to XBMC with 5 disks 4 sata x 500GB and 1 ide 80GB.

Should I use RAID, should I use LVM's. cheers for any pointers.

LT
Reply With Quote
  #5  
Old 18th December 2008, 13:06
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

Knoppix can handle LVM. Just run
Code:
modprobe md
modprobe linear
modprobe multipath
modprobe raid0
modprobe raid1
modprobe raid5
modprobe raid6
modprobe raid10

cp /etc/mdadm/mdadm.conf /etc/mdadm/mdadm.conf_orig
mdadm --examine --scan >> /etc/mdadm/mdadm.conf

mdadm -A --scan

/etc/init.d/lvm start
in Knoppix.
__________________
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
  #6  
Old 19th December 2008, 20:59
lucy_t lucy_t is offline
Junior Member
 
Join Date: Dec 2008
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default

managed to get raid and the lvm mounted in knoppix and could see the files in the /home area. So after this I wanted to see if I could restart the install of Ubuntu 8.10 using the alternative installer repair to get myself up and going again. his is currently what I am working on and have managed to re-install a few times and currently get a

Grub error 15 and a hanging screen with no propmpt. I'll post back if I can find out why this is happening as I am re-formatting all partitions apart from /home on the LVM.

Cheers,

LT

UPDATE - The alternative and server install are not happy working with the raid and LVM setup so I am using knoppix to back data off the lvm and then going for a re-build. Than ks for your help, and any suggestions for partitioning the 4 1TB disks for a file server (Myth TV) and where to put the boot, swap,var,tmp and home e.g. split the raid sets or combine them and partition up?

LT

Last edited by lucy_t; 22nd December 2008 at 13:30. Reason: update
Reply With Quote
Reply

Bookmarks

Tags
8.04, 8.10, lvm, ubuntu

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
ISPConfig install issues... flyingaggie Installation/Configuration 2 18th July 2008 10:46
debian, lvm, raid, grub, custom kernel koi Installation/Configuration 4 3rd November 2007 10:39
Help on clean Ubuntu install with LVM hgoor Installation/Configuration 3 12th November 2006 15:52
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29


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


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