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 20th February 2010, 20:08
BorderAmigos BorderAmigos is offline
Senior Member
 
Join Date: Apr 2008
Location: San Diego & Tijuana
Posts: 302
Thanks: 26
Thanked 33 Times in 31 Posts
Send a message via MSN to BorderAmigos Send a message via Yahoo to BorderAmigos
Default Adding non-RAID backup disk to system with RAID 1...

I'm setting up a new server. I couldn't get the Debian Lenny to set up on software RAID 1 using the Debian install disk. So I installed to one disk only then followed the HowTo on how to set up RAID 1 on a running system.

http://www.howtoforge.com/software-r...ot-debian-etch

This all seemed to go well. Then I followed the Perfect Server setup for Debian Lenny to install ISPConfig 3.

http://www.howtoforge.com/perfect-se...nny-ispconfig3

Again, all seemed to go well.

Now I want to add a single hard disk to the system as a backup storage. It is identical to the first two used in the RAID 1 set up. I can attach it while the system is running, partition it, and format it for ext3. I added it in /etc/fstab as /dev/sdc1 mounted at /media/backup. Even gave it a label of backup using e2label. Ok so far?

But I have a problem when I try to reboot. The grub loader comes up with the normal menu showing the RAID boot disks (HD0:0) and (HD1:0) but then I get 2 errors, one for each saying it can't find the files (boot image). It appears to be trying to boot off the 3rd drive instead of the RAID. If I disconnect the 3rd drive and cycle power it will boot ok. So how can I get the 3rd drive to not conflict?

To be clearer, the 3rd disk is not intended to be part of the RAID. It should show as a separate disk.

/etc/fstab
Code:
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
#
proc            /proc	proc    defaults        0 0
/dev/md0	/boot	ext3	defaults	0 0
/dev/md1	/	ext3	errors=remount-ro	0 0
/dev/md2	none	swap	sw	0 0
/dev/sdc1	/media/backup	ext3	defaults	0 0
/dev/sdd0	/media/cdrom0   udf,iso9660 user,noauto     0 0
fdisk -l (without 3rd drive)
Code:
Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e2872

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         122      979933+  fd  Linux raid autodetect
/dev/sda2             123       76350   612301410   fd  Linux raid autodetect
/dev/sda3           76351       77825    11847937+  fd  Linux raid autodetect

Disk /dev/sdb: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00053a7b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         122      979933+  fd  Linux raid autodetect
/dev/sdb2             123       76350   612301410   fd  Linux raid autodetect
/dev/sdb3           76351       77825    11847937+  fd  Linux raid autodetect

Disk /dev/md0: 1003 MB, 1003356160 bytes
2 heads, 4 sectors/track, 244960 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md1: 626.9 GB, 626996543488 bytes
2 heads, 4 sectors/track, 153075328 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md2: 12.1 GB, 12132220928 bytes
2 heads, 4 sectors/track, 2961968 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000
fdisk -l (with 3rd drive mounted)
Code:
Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e2872

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         122      979933+  fd  Linux raid autodetect
/dev/sda2             123       76350   612301410   fd  Linux raid autodetect
/dev/sda3           76351       77825    11847937+  fd  Linux raid autodetect

Disk /dev/sdb: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00053a7b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         122      979933+  fd  Linux raid autodetect
/dev/sdb2             123       76350   612301410   fd  Linux raid autodetect
/dev/sdb3           76351       77825    11847937+  fd  Linux raid autodetect

Disk /dev/md0: 1003 MB, 1003356160 bytes
2 heads, 4 sectors/track, 244960 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md1: 626.9 GB, 626996543488 bytes
2 heads, 4 sectors/track, 153075328 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md2: 12.1 GB, 12132220928 bytes
2 heads, 4 sectors/track, 2961968 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/sdc: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1       77825   625129281   83  Linux
If I find the answer elsewhere I'll post it here for reference. Meanwhile, if there is an obvious solution to someone out there, please post the details. Thanks.
__________________
System6Hosting.com, ISPConfig 3, Debian.

Last edited by BorderAmigos; 20th February 2010 at 20:20. Reason: Clarify...
Reply With Quote
Sponsored Links
  #2  
Old 20th February 2010, 20:50
BorderAmigos BorderAmigos is offline
Senior Member
 
Join Date: Apr 2008
Location: San Diego & Tijuana
Posts: 302
Thanks: 26
Thanked 33 Times in 31 Posts
Send a message via MSN to BorderAmigos Send a message via Yahoo to BorderAmigos
Default

I think writing the question in a post puts my thoughts in order as I sometimes find the answer shortly after.

A BIOS setting seems to fix the issue. Checking the HARD DISK CONFIGURATION under the BOOT tab in the BIOS with just the two RAID drives attached shows...

Code:
SATA:SM-WDC WD6400
SATA:3M-WDC WE6400
Connecting the 3rd drive and cycling power the BIOS then shows...
Code:
SATA:SM-WDC WD6400
SATA:SS-WDC WD6400
SATA:3M-WDC WE6400
So disabling the SS one from the boot configuration and restarting. System booted up ok a few times in a row with the 3rd drive mounted in /media/backup.

Maybe this will assist someone else with this issue.

Now on to the 1u chassis overheating the CPU with the cover on. Ugh.
__________________
System6Hosting.com, ISPConfig 3, Debian.
Reply With Quote
The Following User Says Thank You to BorderAmigos For This Useful Post:
falko (21st February 2010)
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
Can all the installation and configuration be automated (Kickstart) gabby Installation/Configuration 0 30th January 2010 19:47
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15
How to install OpenOficeOrg 3.0.0 in Ubuntu 8.04 ernesthagger HOWTO-Related Questions 43 23rd December 2008 14:42
Strato Server - Restoring with SystemImager popper2001 HOWTO-Related Questions 5 28th July 2007 10:18
Creating image with Systemimager cuongtim HOWTO-Related Questions 3 18th November 2006 13:55


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


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