CentOS 5 Server :: Possible To Create RAID SW On Working System
Oct 5, 2009
I'm working in a little company and 2 weeks ago one of our server had a hard disk failure (yes it was a seagate 11) and after passed two days without sleep trying to recover everything (and we did it!!) we took the decision now to use in some of our server a raid sw, so if one HD fail we can continue with our system without losing nothing. Yes I know normally you have to take all the precautions before so this things never happen, but you know I thing if it never arrives you, you always think than you're lucky and it's never going to happen to you but one day you discover reality.
So now this server is working with a Centos and the default HD partitions one boot partition and the LVM. I'm reading everything I'm finding about raid sw and lvm but I don't find if it's possible to create now with the system working a raid sw without having to reinstall all the system. Is it possible to do it ? If not what are my options to make a system backup before reinstalling everything?
View 1 Replies
ADVERTISEMENT
Jan 21, 2010
We can create normal raid levels in centos using mdadm, but how can we create nested raid levels ( example raid 1+0 Raid 0+1).
View 2 Replies
View Related
Jan 6, 2010
Here is my system: I have dell poweredge 1950 PERC 6 with 300 GB raid system. It has two disks of each 300GB RAID mirrored system. I have few applications and data that reached around 280GB. As you know, poweredge 1950 we can have only two disk.
They are not mission critical. Hence, I wanted to remove the raid system and use as a non-raid system. By doing it, The applications and data can grow upto 600GB. I do not want to loose the data and setup. I am not so clear about RAID system and its conversion.
View 6 Replies
View Related
Aug 3, 2010
I am trying to connect a RAID Box to the server via LSI 8880EM2 RAID controller.The raid box is FUjitsu Externus DX60 with raid 1 configured.The server is Fujitsu Primergy SX300 S5 with LSI 8880EM2 RAID card.The external raid box is being recognised by the raid controllers bios.
The server runs CentOS 5.5 64bit. I have installed the megaraid_sas driver from LSI website and MegaCLI utility but CentOS still fails to see the box.MegaCLI utility, when launched from CentOS, recognises the raid box, CentOS does not(no mapping being created in /dev).
I have also tried to create a logical RAID0 HDD on one physical HDD(as seen by MegaCLI) with MegaCLI utility in CentOS.The result was success and the new logical drive could have been used, but when restarting the server, the controllers' bios fails with an error (not surprised(one logical RAID0 on one physical HDD)) and configuration is being erased.
Has anyone tried connecting 8880EM2 controller to a raid box with raid configured on the box, running it all under CentOS and what were the results.
View 3 Replies
View Related
Feb 1, 2011
Could any RAID gurus kindly assist me on the following RAID-5 issue?I have an mdadm-created RAID5 array consisting of 4 discs. One of the discs was dropping out, so I decided to replace it. Somehow, this went terribly wrong and I succeeded in marking two of the drives as faulty, and the re-adding them as spare.
Now the array is (logically) no longer able to start:
mdadm: Not enough devices to start the array.Degraded and can't create RAID ,auto stop RAID [md1]
I was able to examine the disks though:
Code:
root@127.0.0.1:/etc# mdadm --examine /dev/sdb2
/dev/sdb2:
Magic : a92b4efc
Version : 00.90.00
code....
Code:
mdadm --create --assume-clean --level=5 --raid-devices=4 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2
As I don't want to ruin the maybe small chance I have left to rescue my data, I would like to hear the input of this wise community.
View 4 Replies
View Related
Mar 10, 2010
I have a raid 1 array which I did setup on a Centos box. I can configure the array fine the problem is every time is restart my machine I can no longer see the array and have to go create it all over again. I tried doing a few searches on it but have came up with nothing so far.
View 19 Replies
View Related
Jul 8, 2009
Yum command is not working on my system today!
when i write any commands using yum, such as yum check-update or
yum install some package it shows the following code...
shall add something to my repository?
View 2 Replies
View Related
Mar 24, 2011
I have a box that doesn't have a Raid controller or a software raid running currently. I would like to make it a RAID 1. Since it seems there isn't any IDE RAID controllers hardly around, I have another HD that is the exact model as the drive currently in the box running CentOS. Can I some how add the second drive and get the box to mirror from here own out? The box gets really hot and I want to be ready for a HD failure.
View 3 Replies
View Related
May 7, 2010
I have a problem with the system backup. I need to create a system image using the command "tar", but my server has physical disks with LVM and I am executing "linux rescue" for recovering the linux image. After restoring the image on the new server reports "kernel panic", this is caused because the new server where I restored the image doesn't have LVM disks.
View 2 Replies
View Related
Nov 16, 2009
mdadm --create /dev/md1 --level=1 --raid-disks=2 missing /dev/sdb1and I getmd1: raid array is not clean -- starting background reconstructionWhy is it not clean?Should I be worried?The HD is not new it has been used in before in a raid array but has beenrepartitionated.
View 2 Replies
View Related
Mar 12, 2010
I would like to setup a CentOS file server with LVM and Raid1. Having 6 x 500GB drives, 4 x 1GB Ram and a Quad Core Cpu, I am considering to configure 3 hdd as LVM then raid 1 to the remaining 3 hdd's.
View 7 Replies
View Related
Jun 18, 2010
I want to create a file-server with Ubuntu and have two additional hard drives in a RAID 1 setup. Current Hardware: I purchased a RAID controller from [URL]... (Rosewill RC-201). I took an old machine with a 750GB hard drive (installed Ubuntu on this drive). I installed the Rosewill RAID card via PCI port. Connected two 1TB hard drives to the Rosewill raid card. Went into the RAID bios and configured it to RAID 1.
My Problem: When I boot into Ubuntu and go to the hard drive utility (I think that's what its called). I see the RAID controller present with two hard drives configured separately. I format and tried varies partition combination and at the end of the day I see two separate hard drives. Just for giggles, I also tried RAID 0 to see if they would combine the drives.
View 3 Replies
View Related
Feb 7, 2011
I'm trying to setup RAID 1 on a CentOS 5 server for a zimbra email server.I get a partion schema error. Can I do this?The server is a HP Proliant ML150 G3 server with two 80GB HDD.
View 1 Replies
View Related
Jul 18, 2009
how can I create RAID 1+0 using two drives (one is with data and second one is new). Is it possible to synchronize data drive with empty drive and create RAID 1+0 ?
View 3 Replies
View Related
Dec 28, 2010
I have centos 5.3. I have two h/d 1st h/d used as primary and backup of reqd things of first h/d is copied into 2nd h/d. I want to configure mirroring in this server how to configure this, raid 1 is ok or not.
View 1 Replies
View Related
Jul 21, 2009
I looking to setup a CentOS server with RAID 5 i was wondering what the best way to set it up and How with the ability to add more HDD to the RAID system later on if needed?
View 1 Replies
View Related
Jan 20, 2011
The situation: computer based on Asus P6T motherboard. Two RAIDS:
- 'boot', on motherboard built-in RAID controller (CentOS 5.5 installed on this RAID)
- 'data' on 3dware RAID card
At one moment a CPU fan fails and the system halts. After the fan is replaced, BIOS informs it's reset and all the inner controller data are forgotten. After I switch it to 'RAID' mode, it remembers it was a mirror raid (RAID 1) installed, but the file system on it is completely trashed.
The 'data' RAID run by external controller isn't affected by the system failure. Three questions:
- is it worth trying to install OS on the rebuilt 'boot' RAID once again? Looks like if BIOS settings are lost for some reason, there's chance of completely losing RAID data
- has someone encountered similar problem with built-in RAID nd was it possible to recover data?
- will the software RAID be worth creating instead of using hardware RAID to replace the 'boot' drive?
View 2 Replies
View Related
Dec 30, 2010
I'm trying to install a box with Ubuntu 10.04 LTS server with a typical LAMP system in order to replace my old Ubuntu 8.04 server I have at my school to have a "backup" system and also trying to replace NIS authentication with LDAP. Well I'm getting stuck on the first step: installation of base system. I want to build a RAID-1 system with the two 320GB SATA HD's the machine has, I have a little experience in installing RAID because I installed my old 8.04 server with RAID-1 aswell. I boot my box from an USB stick with Ubuntu 10.04 Server 64bit, the systems boots well, asks me about language, keyboard and so, finds the two NIC cards and the DHCP configuration of one of the card is done.
Then it starts the partitioner. One of the HD's already contains three partitions with an installation of a regional flavour of Ubuntu, the other HD only contains a partition for backups, I don't want to preserve all this stuff, so the first thing I do is to replace the partition tables of both HD's with a new one. This is done without problems. Then I go to the first disk, by example, and create a new partition, the partitioner ask me for the size, I write 0.5 GB (or 500 MB), then I select that it has to be a Primary partition at the beginning of the disk, all goes OK.
Once created I go to the "Use as: " line, type Enter and select the option "Partition for RAID volume", when I hit Enter the error appears: the screen flickers in black for a second or two, then it shows a progress bar "Starting the partitioner..." That always get stuck at 47%!!! Sometimes the partitioner allows me progress a little further (for ex. lets me activate the boot bit of the partition, or it allows me to make another partiton, even once the error didn't appeared until the first partition of the second HD!!) but it always get stuck with the same progress bar at the 47%.
I've tried a lot of things: I downloaded again the ISO and rebuilt the USB, same result. Downloaded the ISO and rebuilt the USB from another computer, same result. Unplugged all the SATA and IDE drives except the two HD's, same result. Built a CD-ROM instead of an USB, same result. Downloaded the 10.10 server ISO (not an LTS), and the USB stick can't boot, is another error, but only to try.
When the error appears, I hit Ctrl+Alt+F2 and get into a root prompt, there I kill two processes: /bin/partman and /lib...don'tremember/init.d/35... and then when I return to the first console the progress bar has gone and the install process asks me at wich step I want to return, I hit "Partition disk" and then the progress bar reappears and Stucks immediately at 47%!!! Is the Ubuntu 10.04 LTS server installer wrong?
View 5 Replies
View Related
Jun 9, 2011
is it possible to create a live cd or a cd/dvd installer from a running system.
View 2 Replies
View Related
May 5, 2011
I have a small SDD system disk and a large data disk on a server based on fedora core. It is organized this way so that the data disk can be spun down most of the time, reducing noise and heat.I'd like some way to periodically create a bootable backup of the system disk on the data disk, so that if the SDD goes belly-up, I lose minimal data and can very quickly bring the system up.Some thoughts:1. I know I can create a partition on the large disk and make the system boot from a raid0 mirror.However, the constant writes to the system disk (e.g. by the journal daemon) will ensure it never spins down.2. I can do a periodic format and cp -ax to the "copy of system" partition, but that doesn't leave the disk bootable because it needs changes to the /etc/fstab, and possibly a mkinitrd to become bootable.3. Or something like boot from a TFS (translucent filesystem) where base layer would be the raid, and the writable layer would be on the SDD, with periodic pushes of the writable part to the base layer (I'm not sure this is even possible).
4. In a virtual world this could be managed by appropriate location and use of snapshot images, but I'm not in a virtual world - as far as I know :0).Ideally I'd like something like raid that only brought the copy of system disk into sync with the running system infrequently (perhaps every few hours). Can anybody suggest how to do this?
View 2 Replies
View Related
May 12, 2010
Before going too far it may be simplest to answer the question "Does Live USB Creator create a working system for Windows 7?" If not then don't bother reading further. I have installed Live USB Creator on a 32-bit Windows 7 computer but when I run it I can't for the life of me get it to recognize any type of drive. I've read and tried the instructions of using the command line with the --force [drive]: but that has no effect Maybe I am misunderstanding this whole program. From what I read about it, this program will create a working Windows system, place it on a USB stick and then run Windows on a different computer. In my application I would like to run it on my work computer which has Windows XP. If this application should work then will I have complete access to all my computer drives and files and the network/internet? I imagine I would need to install all necessary programs so that I could use them in Windows 7 and would I need to install those programs on the USB stick or could they be on a local hard drive?
View 1 Replies
View Related
Apr 8, 2010
I believe server section is the best when speaking of RAID stuff...
I have the following situation:We have a DELL T3400 with embedded fake raid on it. I dont know exactly how the system was setup (I wasnt here at that time), but the RAID was enabled in bios and while booting, the two harddrives would be seen as members of intel raid volume0 (RAID 1 mirror). I am not sure if the software raid was actually properly configured in Linux (Fedora 9) and if the OS was reconstructing the whole raid or it was just the bios part that was mirroring the /boot or just some parts of it. Frankly I find these hydrid raids very confusing.Some bad disk manipulation from my part caused the server to crash, but I was able to recover and boot just with one hard drive after using fsck.
I decided to get rid of the raid as it's not the right solution for the application we need it for and decided to go for a traditional single harddrive system and to use Ghost for Linux to clone to a spare disk when backups are needed.So I installed the latest Fedora 12 distribution onto another harddrive and disabled RAID in bios (changed from RAID ON to autodetect, which is the only other option).
Here is what I have now:
/dev/sda has the newly installed fedora 12
/dev/sdb is an empty harddrive that I would use as an intermediate
/dev/sdc is the old harddrive member of intel raid volume0
sdb was partitioned into sdb1 sdb2 and sdb3 and I created an ext3 filesystem on sdb2. The hard drive belonging to RAID volume0 (sdc) has a lot of work done on it and I would like to be able to recuperate the files to the new disk (sda). I cannot mount that old harddrive while in fedora 12, as it sees some unknown raid member filesystem on it probably assigned by the intel raid chip.
So I decided to do it from the other side: to boot from raid volume 0, and from there mount a third intermediate harddrive (sdb) onto which I would copy the documents and then mount the same harddrive from the newly installed fedora 12 and copy those documents from that intermediate harddrive.I can mount /dev/sdb2 from fedora 12 fine and copy stuff to and from it, but not when I boot from the RAID volume 0 harddrive (sdc) with fedora 9 on it. It keeps saying that the partition in question (/dev/sdb2) is an invalid block device.I am stuck here, as my knowledge in this sort of things is very limited.If somebody can indicate me how to recuperate files from that old raid harddrive onto the new fedora 12 drive, I would appreciate a lot.
View 3 Replies
View Related
Mar 12, 2009
Is it possible to setup software RAID on a current production server.
If so how would I go about doing so?
View 2 Replies
View Related
Jun 23, 2009
I need to mount my raid array on CentOS 5.2 samba server.
Here are my hardware specs:
Motherboard: Tyan S2510 LE dual PIII
CPU's: Intel PIII 850ghz socket 370
Memory: 4 gig Crucial 133 ECC SDRAM
OS: 2 x'x IBM Travelstar 6.4 gig 2.5 hard drives, (low heat/noise)
Storage: 4 x's Seagate 500 gig IDE 7200 rpm
RAID controller: 3Ware 7500-12 controller, (RAID 5) (66 mhz PCI bus)
NIC: 3COM 3C996B-T gigabit NIC, (66 mhz PCI bus)
I have the 2 IBM's set as RAID 1, (mirror) and the 4 Seagates as RAID 5, (1.5 TB) I have installed the OS with minor problems, (motherboard doesn't like the 2.6.18-128.1.14.el5 kernel, removed it from my grub.conf).
My problem is mounting the RAID array. I have done the following:
formatted with fdisk;
fdisk /dev/sdb
Then formatted with the following command;
mkfs.ext3 -m 0 /dev/sdb
The hard drive was formatted with the ext3 files system, but I have mounted it as an ext2 file system as I don't want 'journaling' to occur. I then edited my /ect/fstab like this: .....
Then: mount -a
When I go into my "home" directory and type ls, I get the following:
[root@hydra home]# ls -l
total 24
drwx------ 2 zog zog 4096 Jun 23 15:50 zog
lrwxrwxrwx 1 root root 6 Jun 23 15:46 home -> /home/
drwxrwxrwx 2 root root 16384 Jun 23 15:34 lost+found
drwxr-xr-x 2 root root 4096 Jun 23 17:18 tmp
Why my home directory is showing under home?
View 5 Replies
View Related
Jan 16, 2010
I have set up a software raid 5 and a software raid 1 on the same 3 disks.
But my problem is, every couple of days the software raid starts automatically resyncing. This resync is always succesful.
I do not know why this happens, any ideas to troubleshoot this further? I can not see an error in /var/log/messages
View 14 Replies
View Related
Mar 30, 2010
i want to remove the raid 1 arrays on our server centos and use standalone drive
View 3 Replies
View Related
Apr 22, 2010
I've a database-server (IBM x3650 M2) with about 3 TB Data on SAN (Hitachi) with lvm top of softraid (RAID1) based on multipath (2 SAN-boxes in different buildings). After booting the server, multipath starts, but no md starts the mirror. The same configuration with SLES 10 works.
cat /proc/mdstat
Personalities : [raid1]
md13 : active raid1 dm-17[1] dm-14[0]
[code]....
View 5 Replies
View Related
Nov 8, 2010
I am currently running CentOS 5.5 on a software raid 1 setup.
I would like to remove the raid configuration and have it run without raid.
How would one go ahead and do this?
View 1 Replies
View Related
Jun 10, 2011
With mdadm was only able to add a new drive to the using the --force function. I do not feel comfortable with using the function that way though.
When I remove a disk in VMWare, it perfectly says that the drive is lost and the array is degraded (mdadm --detail /dev/md0). Although after re-adding the drive, it immediately shows device as busy for both mdadm and sfdisk when I don't use --force.
Recovery and repairation of degraded array worked fine with sfdisk --force, mdadm --add --force, it automatically started recovering and took not so long.
What are best practises to manage software raid-1 arrays?
View 1 Replies
View Related
Jun 29, 2011
migrate an installed Ubuntu system from a software raid to a hardware raid on the same machine? how would you go about doing so?
View 1 Replies
View Related