Software RAID 1, If One Drive Fails I Can't Boot Just From The Other

Sep 22, 2007

I've software RAID installed with one SATA and one ATA/IDE drive. It is a combined controller so I had to add noprobe=/dev/hdc to the kernel boot line. Now the disks are named /dev/sda and /dev/sdb. There are four partitions, /dev/sda1 and /dev/sdb1 are the /dev/md0 root partition and then /dev/sda2 and /dev/sdb2 are the swap partition.

First when I removed one drive I just came to the grub command line..

Then I tried to do this in grub to make both drives bootable:
grub>device (hd0) /dev/sda
grub>root (hd0,0)
grub>setup (hd0)
grub>device (hd1) /dev/sdb
grub>root (hd1,0)
grub>setup (hd1)
grub>quit

Now it looks like normal when I get to grub apart from that the background of the boot screen is black instead of blue and then the computer just restarts when it is supposed to start/boot the system.

View 0 Replies


ADVERTISEMENT

How To Setup Software RAID-10 On Linux With /boot On RAID-1

Jul 8, 2007

I am in a somewhat complicated situation... I wanted to order a custom server with hardware 3Ware RAID controller but after over a month of waiting I was told the HW RAID controller, as well as any other 3Ware controller they tried, does not work with the motherboard used in the server from Fujitsu-Siemens and that they simply got a reply from FS that the controller is not certified to work with their motherboard.

So although I'd prefer a HW raid, I am forced to either choose a different webhost or setup a software RAID. The problem is, I haven't done that before and am somewhat moderately...scared

I have read a lot of the info about SW RAID on Linux that I could find through Google but there are some questions unanswered still. So I thought that perhaps some of the more knowledgeable WHT members could help me with this problem...

The server specs will be:

Core2Duo E6600 (2.4Ghz), 2GB RAM, 6-8x* 250GB SATA II HDDs, CentOS 4.4 or SuSe, DirectAdmin

* I prefer 8 HDDs (or actually 9) over 6 but I am not sure if their server chassis can hold that many HDDs, I am awaiting answer from them. They don't have any other drives beside the 250GB ones so I am limited to those.

The preferred SW RAID setup is to have everything in RAID 10, except for the /boot partition which has to be on RAID-1 or no RAID I believe, plus one drive as hot spare (that would be the 9th drive). I am quite sure they will not do the setup for me but will give me access to KVM over IP and a Linux image preinstalled on the first HDD so that I'll have a functional system that needs to be upgraded to RAID-10.

How do I do that? The big problem I see is that LILO or GRUB can't boot from a software RAID-5/10 so I will have to mount the /boot partition elsewhere. It's probably terribly simple...if you have done it before which I have not. I have read some articles on how to setup a RAID-5/10 with mdadm (e.g. [url] ) but they usually do not talk about how to setup the boot partition. Should it be setup as a small sized (100-200MB) RAID-1 partition spread over all of the drives in the otherwise RAID-10 array?

What about swap? Should I create a 4-8GB (I plan to upgrade the server RAM to 4GB in near future) RAID-1 swap partition on each of the disks or swap to a file on the main RAID-10 partitions. The second sounds simpler but what about performance? Is swapping to a file on RAID-10 array a bad idea, performance wise?

Is it possible to grow a RAID-10 array in a way similar to growing a RAID-5 array with mdadm (using two extra drives instead of one of course)? mdadm doesn't actually even mention RAID-10 despite it does support it without having to create RAID-0 on top of RAID-1 pairs if the support is in kernel, from what I know.

View 8 Replies View Related

Mount A Drive On Boot

Jul 17, 2008

I have a NAS to mount but it disappears on every (re)boot. How do I automatically mount it on boot?

View 4 Replies View Related

Map Network Drive FAILS

Jun 18, 2007

I have to transfer files from the network computers on the server and make a db .

I have read bugs.php.net 1

and bugs.php.net 2

all the computers from my network are apple.

when I make MAP NETWORK DRIVE and make the php.ini include_path changes, i don't get nothing.

View 0 Replies View Related

Should We Have Raid 1 Or Should We Have A Backup Drive

Oct 29, 2007

We are limited with a maximum of 2 drives per server, with a maximum of 750gb drives.

We are thinking of going with 2 500gb hard drives. However the question is, should we use the Secondary drive with Raid 1 and let our VPS clients worry about their own backups or should we instead just use the secondary drive as a backup drive and backup each VPS nightly?

View 14 Replies View Related

In Recovering A Drive On Raid 1

May 21, 2007

My raid 1 failed and it wouldn't be such an issue except that the other drive wasn't syncing for 2 months for some reason.

So now I have to try to recover it to get the info.

It seems that the drive seems to be ok yet I am unable to boot to it.

Using supergrub I was able to boot to a kernel but when it starts loading there is a kernel panic.

Error is basically

EXT3-fs: unable to read superblock
mount:error 22 mounting ext3

When I use Rescue option using a centos CD, I am unable to mount the HD.

Using Knoppix,I was able to see the HD but unable to mount it since it claims the 2nd partition is no clean. Since the HD was raid, I don't think thats the problem at all.

Is there anything you guys can advise me? I'm somewhat new to doing this and really green on Raid for that matter.

Whats a good method to find the superblock?

View 2 Replies View Related

Hard Drive And Raid Setup

May 25, 2007

I am currently in the process of upgrading my web/mysql server due to heavy loads and io waits and have some questions. I am trying to be cost efficient but at the same time do not want to purchase something that will be either inadequate or difficult to upgrade in the future. I hope you can provide me with some guidance.

This server is a Centos Linux box, running both apache and mysql. The current usage on the box is:

Mysql Stats:

50 mysql queries per second
With a ratio of read to write of 2:1
Reads are about 65 MB per hour and writes are around 32 MB per hour.

Apache stats:

35 requests per sec

The two issues that I am unsure of are:

- Whether or not i should go with Raid-1 or Raid-5

- Whether or not I should use Sata Raptor drives or SAS drives.

In either configuration I will use a dedicated Raid controller. If I went with SATA, it would be a 3ware 9650SE-4LPML card. If I went with SAS, I was looking at the Adaptec 3405 controller.

Originally, I was going to use 3 x 74GB Seagate Cheetah 15.4K SAS drives in a Raid-5 config. After more reading, I learned that raid-5 has a high write overhead. Though read is definitely more important based on my stats, I don't want to lose performance in my writes either. With this in mind, I looked into doing Raid-1 instead.

I came up with these choices:

- Raid-1 - 2 x Seagate ST373455SS Seagate Cheetah 15K.5 SAS. HDs & controller costs are $940.

- Raid-1 - 2 x WD Raptor 74GB 10K SATA 150. HDs & controller costs are $652.

- Raid-5 - 3 x Seagate Cheetah 15K.4 ST336754SS 36.7GB. HDs & controller costs are $869.

- Raid-5 - 3 x WD Raptor 36GB 10K SATA 150. HDs & controller costs are $631.

As you can see we are not looking at huge differences in price, so I would be up for any of these options if I could just determine which would give me the best performance. I also know that I should have a 4th hotspare drive, but will buy that later down the road to ease cash flow in the beginning. If I went the SATA route, I would buy the 4th immediately.

From what I can tell, both configs provide the same redundancy, but are there any major performance considerations I should take? From what I have read, scsi/sas can enable database applications to perform better do to a lot of small and random reads and writes?

View 4 Replies View Related

Which RAID Level Should I Chose For An 8 Drive Setup

Oct 28, 2009

Which RAID level should I chose for an 8 drive setup? It is going to be a R1Soft server.

Should I get RAID 5, 6, 10, or a different level?

View 14 Replies View Related

Drive Setup For VBulletin - 4 X SAS Vs SSD Vs Sata Raid-1

Apr 5, 2009

For a Vbulletin forum with up to 200 users online (only) but growing nicely and I want to be set for quite a while:

I am going to use Nginx, XCache, PHP-FPM, FreeBSD, Gzip

Currently using ~55 GB transfer with mod_deflate, all with dynamic traffic, little bits and pieces, no bigger files.

I want to be able to push 500 GB transfer or so this way, or ~ 1000 users online, many searches from non-registered users, too

I am looking at

Q9550, 8GB, 4x73 SAS 10k Raid-10, $200 Webnx

or

i7 920, 12GB, 4x73 SAS 15k Raid-10, $250 Webnx

or

X3220, 8GB, X25-E SSD Intel, $300 Softlayer

Am I too concerned about disk I/O? Should I save some money and settle for a 2xSATA Raid-1.

Databases are < 2GB and would fit into the RAM

View 3 Replies View Related

How Do You Setup Asus M2N-MX SE RAID 1 Without Floppy Drive

Apr 15, 2008

I recently build a server with Asus M2N-MX SE motherboard and SuperMicro 14" mini 1u. On the back of the Asus M2N-MX SE manual. it said for RAID driver, i need to create it from the included CD and use a floppy disk. my question is how can i do it without a floppy disk? i have an external DVD-burner that i hook up to usb to install the OS. Is it possible to use a cd to install the driver when i press f6 during Windows2003 installation?

Is it worth the effort to setup RAID 1? I have two Maxtor 500GB SATA disks and using RAID 1 seem to reduce one disk and leave me with 500GB worth of space and is the onboard Nvidia RAID trust worthy? because it said due to chipset limitation, the SATA ports supported by the Nvidia chipset doesn't support Serial Optical disk drives (Serial ODD).

View 13 Replies View Related

Same Drive Specs But Dif Models / Manufacturers. Will The Raid Complain

Oct 2, 2007

If I use say two SAS 36gig 15k rpm drives 16mb cache - identical specs but different drive manufacturer's / models, do you guys think I would run into anything wierd? I've never really tried it. Is matching absolutely required? Never know..I doubt seek times different by a millisecond would cause issues but I just want to check.

View 4 Replies View Related

250 GB SATA With RAID-10 Or 300GB 15k Single SCSI Drive

Dec 11, 2007

Planning to buy a server from softlayer, adding a single 300gb 15k scsi drive costs 100$/month and adding 4 250gb sata drives with raid-10 costs 90$/month

Which one would you pick up and why?

View 14 Replies View Related

Replacing Failed Drive In Raid-1/ Dell 2850 / FreeBSD

Dec 5, 2007

If there is a failed drive in RAID-1 running on Dell 2850, FreeBSD 5.4, can I just take out the failed drive and replace it with a new one, while the server is running? Will FreeBSD cope & rebuild the drive on the fly?

View 2 Replies View Related

400GB Hard Disk Drives In RAID 0, RAID 5 And RAID 10 Arrays: Performance Analysis

Mar 7, 2007

Quote:

Today we are going to conduct a detailed study of RAIDability of contemporary 400GB hard drives on a new level. We will take two "professional" drives from Seagate and Western Digital and four ordinary "desktop" drives for our investigation. The detailed performance analysis and some useful hints on building RAID arrays are in our new detailed article.

[url]

View 0 Replies View Related

Yum Update Fails , Easyapache Also Fails [cent Os]

Apr 21, 2007

when I try to run yum update it throws an error

Quote:

Gathering header information file(s) from server(s)
Server: CentOS-3 - Addons
retrygrab() failed for:
http://mirror.centos.org/centos/3/ad...rs/header.info
Executing failover method
failover: out of servers to try
Error getting file http://mirror.centos.org/centos/3/ad...rs/header.info
[Errno 4] IOError: <urlopen error >

when I run /etc/easyapache it too fails

Quote:

root@server1 [~]# /scripts/easyapache
Testing connection speed...(this could take a while)............Done
Ping:32.076 Testing connection speed to 69.90.250.35 using pureperl...(120500.00 bytes/s)...Done
Ping:32.179 Testing connection speed to 69.90.250.34 using pureperl...(120500.00 bytes/s)...Done
Ping:49.545 Testing connection speed to 69.72.164.152 using pureperl...(76681.82 bytes/s)...Done
Ping:49.605 Testing connection speed to 69.72.164.155 using pureperl...(70291.67 bytes/s)...Done
Ping:51.603 Testing connection speed to 198.66.92.147 using pureperl...(76681.82 bytes/s)...Done
5 usable mirrors located
Fetching http://layer1.cpanel.net/buildapache.sea (0)....@69.90.250.35......connected......receiving...1%...2%...3%...4%...5%...6%...7%...8%...9%...10%...11%...13%...14%...15%...16%...17%...18%...19%. ..20%...21%...22%...23%...25%...26%...27%...28%...29%...30%...31%...32%...33%...34%...35%...36%...38%...39%...40%...41%...42%...43%...44%...45%...46%. ..47%...48%...50%...51%...52%...53%...54%...55%...56%...57%...58%...59%...60%...62%...63%...64%...65%...66%...67%...68%...69%...70%...71%...72%...73%. ..75%...76%...77%...78%...79%...80%...81%...82%...83%...84%...85%...87%...88%...89%...90%...91%...92%...93%...94%...95%...96%...97%...98%...100%...... Done
Creating directory buildapache
Verifying archive integrity... All good.
Uncompressing buildapache........................................................................................................................................... ...................................................................................................................................................... ...................................................................................................................................................... .................................................................
Checking Update System........Your operating system's rpm update method (yum) was not able to locate the glibc package. This is an indication of an improper setup. You must correct this error before you can proceed.
Please correct the conflicts and try again!
initfpsuexec: using apache 1.x support
Waiting for httpd to restart..............finished.

root 7208 0.8 0.5 46200 5772 ? S 02:06 0:00 /usr/local/apache/bin/httpd -DSSL

httpd started ok

View 7 Replies View Related

Data Lost , But Still Have Old Home Drive , How To Copy To New Drive

Jan 26, 2007

1- i did Os Reload with new Hard drive for "home"
2- data "backups" drive lost

3- replaced the old home drive as "/old drive"

4- " /old drive " is now the secondry drive in my server and it has the all sites usres and evry thing

5- what i need , to trasfer, copy this sites from " /old drive " to "home"

but data center said

The /olddrive/home directory contains the contents that were previously in the /home directory. You can copy files from this directory to any other directory on your server.

The command to copy files in the UNIX environment is the "cp" command.

The user directories in /olddrive/home directory contain the web page files for the users. However, simply copying the contents over will not recreate the users or domain entries in DNS/httpd. If you wish these back you will need to recreate them manually or restore them from backups.

View 14 Replies View Related

Drive Corrupt, Recovery From 2nd Drive Mount

Feb 16, 2007

Primary drive (centos/cpanel) is corrupt

The server is displaying these errors when I tried to do an FSCK:
Bad inode IO
ext3-fs error (device(8,3)) IO Failure

I am having a new primary installed and old primary set as 2nd drive. I need to recover the cpanel domain accounts from this 2nd drive after I mount it with the method below:

mkdir /backup
mount /dev/sdb1 /backup

However, how do I actually recover these accounts in an automated process via whm? I've done this before with the same matter (corrupt primary drive, mount as 2nd, etc) but cannot exactly remember the proper steps.

View 14 Replies View Related

How To Copy My Current Drive Contents To A New Drive

Dec 28, 2007

I just purchased a brand new 10K 150GB drive. How can I take an exact copy of my current drive and transfer everything over to the new drive? I think I need to create a snapshop, or mirror it somehow.

What software will do this? I was told trueimage, but its very pricy, is there anything else?

View 8 Replies View Related

Hardware RAID: Is Motherboard RAID As Good As A Dedicated PCI-E Card

Mar 24, 2008

Is Motherboard RAID as good as a dedicated PCI-E card? I am guessing a dedicated card is the best option, though costs more.

We are looking at buying a barebones server from Supermicro. It features an onboard RAID controller which supports RAID 0, 1, 5 & 10 - but for some strange reason it will only support RAID 5 if you use Windows. Here is a link to the page detailing the RAID features.

[url]

We are going to be running Linux, CentOS 5.1, so we will only have the choice of RAID 0, 1 or 10. This isn't an issue, as having RAID 10 on 4x SAS (15k) drives will be fine for speed and stability. What is an issue is would this RAID controller be as fast or reliable compared to a dedicated PCI-E card? If it can only use RAID 5 in windows, does that suggest this controller is too reliant on software? It would be a nightmare to suffer downtime and data loss because the controller couldn't hack it during a drive failure, or one day it decided to bugger up the array when rebooting.

So that leads me to looking at this card, this looks very good for what we need. Are adaptec a reliable brand? I've seen it advertised for £200, which is a good price.

[url]

This card features RAID 5 and 6, would RAID 6 be better than RAID 10 for redundancy, or is it too slow to bother with? Also it seems to have a battery module available for it, what does this achieve? Cos surely if the power dies the hard drives and motherboard can't run off this little battery, or does it just help the controller stay alive long enough with some hard drive information in its memory if the power goes out during a rebuild?

View 14 Replies View Related

Any Experiences With Software-Raid 5 Vs Hardware-Raid 5? (e.g. Hetzner EQ9)

Sep 17, 2009

I could try the Software-RAID 5 of the EQ9 Server of Hetzner.

Does anyone here has experiences, how fast a hardware raid 5 compared against the software-Raid 5 is?

The i7-975 should have enough power to compute the redundnacy on the fly, so there would be a minimal impact on performance. But I have no idea.

I want to run the server under ubuntu 8.04 LTS x64.

On it a vitualisation like VMware the IO-Load could get really high.

View 14 Replies View Related

Whats The Best For Server With SATA Raid 1 And SCSI Raid 10

Jan 14, 2008

So I've just got a server with 2xSATA raid 1 (OS, cpanel and everything in here) and 4xSCSI raid 10 (clean).

Which one do you guys think will give the best performance:

1. Move mysql only to 4xSCSI raid 10
2. Move mysql and home folder to 4xSCSI raid 10

View 0 Replies View Related

Drive Corrupt - Should I Ask For New Drive Or Reimage

Jul 9, 2007

I have a dedicated box and I started getting Input/output errors today.

I tried:
# fsck
fsck 1.40-WIP (14-Nov-2006)
e2fsck 1.40-WIP (14-Nov-2006)
/dev/hda2: recovering journal
fsck.ext3: unable to set superblock flags on /dev/hda2

then I tried:
# fsck -a -t ext3 /dev/hda2
fsck 1.40-WIP (14-Nov-2006)
/dev/hda2: recovering journal
fsck.ext3: unable to set superblock flags on /dev/hda2

My data is backed up, so was going to ask for a reimage, but is this an indication of bad hardware? Should I ask for a replacement drive? Is there anything else I should try on my own before going to the host?

View 6 Replies View Related

Worth Having RAID 1 If Raid Arrays Break

Feb 25, 2009

How often do RAID arrays break? Is it worth having RAID if a servers hard drive goes down? I was thinking it may just be a better option to just have a backup drive mounted to my system and in the even of a system failure just pop in a new hard drive, reload the OS, and then reload all my backups?

View 14 Replies View Related

Software Raid 1 - Rather Slow During Raid 1 Recovery

May 20, 2009

I have a new server and it is rather slow during raid 1 recovery after system installed

CPU: Intel Core2Duo E5200 Dual Core, 2.5Ghz, 2MB Cache, 800Mhz FSB
Memory: 4GB DDR RAM
Hard Disk 1: 500GB SATA-2 16MB Cache
Hard Disk 2: 500GB SATA-2 16MB Cache

root@server [~]# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdb1[1] sda1[0]
256896 blocks [2/2] [UU]

md1 : active raid1 sdb2[1] sda2[0]
2096384 blocks [2/2] [UU]

md2 : active raid1 sdb4[2] sda4[0]
480608448 blocks [2/1] [U_]
[=======>.............] recovery = 36.7% (176477376/480608448) finish=1437.6min speed=3445K/sec

the sync speed is just 3.4Mb/second and the total hours needs to be more than 40 hours

Also the server load is very high (nobody uses it)

root@server [~]# top
top - 07:00:14 up 16:55, 1 user, load average: 1.88, 1.41, 1.34
Tasks: 120 total, 1 running, 119 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.2%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.2%si, 0.0%st
Mem: 4148632k total, 747768k used, 3400864k free, 17508k buffers
Swap: 5421928k total, 0k used, 5421928k free, 569252k cached

View 8 Replies View Related

RAID 5 Vs RAID 10 In Shared Hosting Server

Oct 22, 2009

I am in the process of restructuring the infrastructure on our servers. I am thinking of using either RAID 5 (1 hot spare) vs RAID 10 as my 1U server has 4 HDD tray.

RAID 5 would have better capacity but RAID 10 has better overall performance. Which one do you guys go for a shared hosting server?

View 14 Replies View Related

Turn Non Raid Into Raid On Live Server

Dec 23, 2008

Is it possible to turn a non raided setup into Linux software raid, while it is live, and if it's the OS drive? Can you even software raid the OS drive remotely? I've been thinking about doing it for the redundancy (and possible slight performance boost for reads, but doing it more for redundancy). I'm using CentOS.

View 12 Replies View Related

Read Raid-disk On Non-raid System

May 22, 2008

I want to take some data from a raid-disk (taken from a raid-1 sstem). Put it into a new system already, but this system doesn't have any raid.

When viewing "fdisk -l", it said /dev/sdb doesn't contain valid partition. Is there anyway I can mount it now? I am on CentOS 4 box

View 2 Replies View Related

Centos Won't Boot

May 28, 2009

see this screen shot:[url]

I used WHM to mount a spare partition and when the machine next rebooted, it give this error, nothing has been put on the disk as of yet.

View 14 Replies View Related

USB Boot Windows

Mar 21, 2008

Has anyone here been successful in doing a usb boot of windows xp & win2k3 server?

View 3 Replies View Related

APF Start On Boot

Aug 19, 2008

I've supposedly set APF firewall to start at boot time, by doing something like:

chkconfig --levels 2345 apf on

However i have my reservations to weather it is actually starting, its set to block port 80, after boot if i try and access it, the connection will get refused straight away, however if i go and manually start APF then try and access again, it will take a while, like its ignoring the connection attempt (which is good).

How could I check if APF is actually running?

View 9 Replies View Related

How To Run Shoutcast On Boot

Jun 24, 2007

How We can set a shoutcast servers to starts automatically on boot/restart/etc?

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved