CentOS 5 :: Mistakenly Setup RAID 0 Array On / Instead Of RAID1 During Setup - Convert Without Loss?

Dec 15, 2010

So I didn't notice when I setup my CentOS 5.5 server that I left / as RAID 0 on md1. All the rest are RAID 1. Is there a way I can modify the array to RAID 1 without a risk of data loss? I'm glad I caught this before I setup any other services. I've only setup smb so far...

[root@ftpserver ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md1 16G 3.0G 13G 20% /

[code]....

View 1 Replies


ADVERTISEMENT

Red Hat / Fedora :: Setup RAID 1 Without Any Data Loss

Dec 7, 2010

I have a Dell workstation, 2 HDD, HDD 1 setuped Red Hat 5.3 with LVM, and that HDD 2 is empty, not install RAID 1. And, I want to setup RAID 1 (hardware RAID)...but, have a problem. I don't want to lost data on HDD 1 when I setup raid, I try ghost or backup it, but when I restore, it error because LVM is setup on that.

View 4 Replies View Related

General :: Ubuntu 10.04 - Cannot Setup GRUB On RAID 0 Setup Disks

Jun 4, 2010

I've been all afternoon trying to install Ubuntu Lucid on my fakeRAID 0 configured (2) HDDs and am unable to set GRUB up. The fake RAID setup is provided by Intel Matrix Storage Manager, it is correctly enabled and the BIOS is also correctly set up -- in fact, I've managed to install Windows 7 with no significant hitch. After struggling with partioning the drives (had to follow advice I found on a very helpful guide online [0]), creating the filesystems AND getting Ubuntu's installer to actually do what it is supposed to do, I now cannot seem to set GRUB up. My system, as it stands, is unbootable at all; via live CD only.

This is how the RAID0 dev is partitioned:
Code:
# fdisk -l /dev/mapper/isw_ecdeiihbfi_Volume0
Disk /dev/mapper/isw_ecdeiihbfi_Volume0: 1000.2 GB, 1000210694144 bytes
255 heads, 63 sectors/track, 121602 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 131072 bytes / 262144 bytes
Disk identifier: 0x6634b2b5 .....

View 2 Replies View Related

CentOS 5 :: Setup A Server With RAID 5?

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

CentOS 5 :: Booting With Over 2TB Raid Setup?

Dec 9, 2009

I'm setting up a backup server using Centos 5.3 and an Adaptec 5805 raid card and discovered that I can't use a raid setup that is over 2TB in size as the boot drive. What I eventually did was set up 2 raids on the same set of 4 drives so that I have a 200Gb 'drive' for booting and a 2.6TB 'Drive' for data. I want to keep the OS in the raid setting so I have some protection instead of having a dedicated stand alone drive for the OS. This will be for a company wide backup server and I want to minimize the possibility of drive failure for the OS as well as the Data.

I was able to install and reboot the system and everything seemed to be working but after some working on it a bit I did a reboot and wound up with a non-booting system. I can boot to the rescue mode with the install dvd and mount the original system and I even tried to reinstall the grub setup per instructions I found on the net but still I get a system that hangs up after it asks if I want to boot from the CD. If I take out the CDROM option from the boot lineup in the bios I stop at the same place minus the boot cd prompt.

I'm guessing it is something to do with one of the raid drives being over 2TB but I'm booting from a 200gb sized raid so I'm really at a loss for what to do next??

Is what I've described the correct way to handle booting up with a large raid or is there another way to reconfigure the drives as one big 2.8TB raid and use something other than grub to boot to it?

View 5 Replies View Related

CentOS 5 :: Setup Software RAID On A Current Production Server?

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

CentOS 5 :: Permanently Remove Drive From Md Array (RAID1)

May 14, 2011

I installed a distro based on CentOS 5.5 (FreePBX distro FYI). It used an automated kickstart script to create an md RAID1 array of all the hard drives connected to the machine. Well, I installed from a thumb drive, which the script in interpreted as a hard drive and thus included in the array. So, I ended up with three md arrays (boot, swap, data) that included the thumb drive. Even better, it used the thumb drive for grub boot so I couldn't start up without it. I was able to mark the USB drive as 'failed' and remove from each array, and even change grub around to boot without the usb drive, but now each of the arrays is marked as degraded:

[Code]...

View 1 Replies View Related

CentOS 5 :: Boot Setup From Partition That Is Formatted During Setup

May 5, 2009

Here is a thought experiment:

1. Copy vmlinuz and initrd.img from isolinux subdir into /boot
2. Adjust grub.conf to boot to that kernel
3. Reboot to setup
4. Format /boot (actually '/' ) during "fresh install"
5. Proceed with the installation-over-network

I see two possible outcomes:

1. The setup fails to reformat the drive, because it is "in use" by boot kernel

2. The partition is not "in use" and the installation succeeds

Why? Old cluster with broken CD-drives, lacking USB, and no separate /boot partition.

View 2 Replies View Related

Ubuntu Installation :: How To Setup Software RAID1

Sep 27, 2010

I recently set up an old desktop computer on my home network for use as a file server. I installed Ubuntu 10.04 Server on it and I'm slowly learning how to make it do what I want (I'm used to the GUI, so this is a bit of a jump for me).My plans are to put two 1.5TB hard drives in the computer (there's already a 160GB with the OS installed) and put them in a RAID1 configuration. This, as I understand it, will write all data to both drives, creating two identical drives. I'll only have 1.5TB total space for backup, but if one of the hard drives die, I can replace it without losing any data.

Hopefully I understand all that correctly. Now, my questions are how to actually set a RAID configuration up. I don't have a controller or anything, assuming I could do it off the two SATA ports in the motherboard (the 160GB is IDE) in software RAID.Once I have the two hard drives set up in RAID1, how do I allow the house to access the file storage?We're all on Windows 7 computers.If one of the hard drives fail, how will I know? Can I set it up so I receive some sort of notification? Also, how does the replacement process work; can I just pop the broken drive out and put a similar one in? Do I need to readjust any settings after replacing one?

View 9 Replies View Related

Fedora :: Raid1 Setup - Second SATA Not Detected

Jun 21, 2010

I have a i3 processor and MSI p55-cd53 motherboard. My problem is fedora cannot detect the 2nd SATA, so that I can configure raid1.

View 1 Replies View Related

CentOS 5 Hardware :: HDD Dma _intr Errors After Rebuilding Raid1 Array

Sep 2, 2009

I've got a mailserver set up in a raid1 array.I shut down the system to install a CD-ROM drive but forgot to change the master/slave settings (I know, don'tt say anything) and didn't realize it before Centos started booting up, so it booted the hdc drive from the array.I rebuilt the array using mdadm without any apparant issues but on subsequent bootup, I get the following error :

kernel: hdc: dma_intr: status=0x51 { DriveReady SeekCompleteError }
kernel: hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
kernel: ide: failed opcode was: unknown

[code]....

There doesn't seem to be any side effects to this but since that didn't happen prior, I figure there's probably something I didn't do properly since I'm fairly new to the linux world.My raid array was originally set up by the Centos instal software and is set up like this :

hda1 + hdc1 = md0 (boot)
Hda3 + hdc3 = md2 (/)

The other partitions are of the same size on each drive and are swap partitions.

PS : The drive is SMART capable and no errors appear during a self-test.

edit : Clonezilla also fails to boot properly although I don't know if its due to a software raid array in the first place or the errors in the filesystem. When only one drive was detected because of the jumpers, it booted properly.

View 2 Replies View Related

Slackware :: Setup Software RAID1 On A Running System?

May 23, 2011

I have a nas / server running Slackware64-13.37 with two raid arrays, one with 3x500GB disks and the other with 2x2TB disks. I also have 1x80GB hdd which contains the os. I found a spare 250GB hdd from my closet and want to set up raid1 array from os hdd and that spare drive.I know that I can't make use of the extra 170GB of space but I don't care as long as I have working installation on the other disk if that 80GB hdd breaks. How can I set up that kind of raid1 without losing any data?

View 1 Replies View Related

Ubuntu :: Hard Drives (RAID1 Via Firewire) Setup Sought?

Aug 14, 2010

I searched, and unfortunately all that did was raise my confusion level on this. "Grub"? "mdadm"? "fake"?, S/Wraid? Disk utility? So many options, so little understanding! Relevant stuff (Mostly reported by "Disk utility"):

- Lucid Lynx. PATA host adaptor -> IDE controller -> Maxtor 164GB H/D [I *think* this has Windoze on it, but can't remember!] There's also a CD & DVD drive on this IDE bus. PATA host adaptor -> SATA controller -> Seagate 500GB H.D. - The Ubuntu boot drive, currently a 250GB ext4 partition, 3GB swap and 250GB "unused".Peripiheral devices -> Firewire 400 -> 2 x Samsung 500GB H/D's. These were "stolen" from my Mac Book and are currently a RAID1 Apple array. Everything they contained is safely backed up, and these can be considered as "new" drives awaiting formatting. [It's actually a Buffalo Drivestation Duo, but their site was even more confusing than here.

everything is working wonderfully, but I'd like to use the 2 F/W drives in a RAID1 array - So, eventually to the question: How do I tell Ubuntu to use these drives as a RAID array? It seems I can format and partition etc from disk utility. Do I then use mdadm for configuration? Any other recommendations?

View 1 Replies View Related

Debian Configuration :: Raid 5 Recovery After Mistakenly Removing Disk?

Aug 12, 2010

I've got an 8-disk raid-5 setup, and one of the disks failed. I shut the system down, replaced it, and powered the box back on again. Then, I made a catastrophic mistake; I 'failed' and removed the wrong disk (should have been sdj1, and I typed sdk1 by accident). I tried to re-add sdk1 back to the raid array, but it got listed as 'spare'. My raid array is off-line, since I now have 2 disks unavailable.

I know that the data still exists on sdk1, is there any way I can get the raid array to recognise the fact that it's a valid part of the array, and not a spare disk? At least if I can do that, I'll have a degraded but accessible array, and then I can rebuild the array on the properly replaced disk.

View 7 Replies View Related

CentOS 5 :: Getting "setup: Command Not Found" Error But Setup Is Installed

Jul 5, 2011

I'm trying to use the set application to configure Apache. I'm getting a "setup: command not found" error when I type in "setup" at the command line.

However when I try to install setup with yum, it tells me that setup is already installed.

I'm logged in as root. CentOS 5.5.

View 2 Replies View Related

Programming :: Setup Array To Check Tables?

Nov 9, 2010

I want to specify about 10 tables that should be checked before the application starts, since if they are empty the results are not so good!

Here is what I have so far:

//specify what tables we want to check
$db_array =
array("attendance_codes","ethnicity","generations","grades","grade_terms","health_codes",$
//walk the array checking each table for more than 0 records

[code]....

it's not working,

View 2 Replies View Related

CentOS 5 :: Mounting A RAID Array?

May 11, 2011

Round two:I am trying to install a RAID 1 array on my system. I already have another RAID 1 array in there. I am using the BIOS RAID option to set up the array.Here's what dmraid -r tells me:

# dmraid -r
/dev/sda: pdc, "pdc_bajfedfacg", mirror, ok, 3906249984 sectors, data@ 0
/dev/sdb: pdc, "pdc_bajfedfacg", mirror, ok, 3906249984 sectors, data@ 0

[code]....

View 9 Replies View Related

Server :: Setup RAID 1 On CentOS 5 Server For A Zimbra Email Server

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

CentOS 5 Hardware :: Spindown In Raid Array?

Jul 20, 2009

I'm not able to spin down my harddisks in raid array. I did hdparm -S 240 /dev/sdb and the same for the second hdd. Smaller values like 2 minutes work. I don't have log files on this disks. How can I determine, which processes are accessing these disks? I have apache and samba running. Nobody is accessing the server.

View 2 Replies View Related

CentOS 5 :: Raid 1 - Need To Create Array On Every Restart

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

General :: How To Setup A Raid 0

Dec 2, 2009

I have 2 drives and wish to use the following partition setup.
sda1 /boot 1GB ext4
sda2 / 50GB ext4 raid 0
sdb1 / 50GB ext4 raid 0

Unfortunately only Ubuntu server has the option to make a raid in the install. Can somebody point me to a howto on something like this up. I'm thinking I will want to install onto a sdb2 set up the raid and copy the file system to the raid.

View 2 Replies View Related

Server :: Unable To Setup A NIS Server Setup On CentOS System

Jan 19, 2010

We are trying to set up a NIS server on a CentOS system. We need to have a NIS server which can provide NIS authentication to a couple of clients. We are practically new to all this stuff.

Just googled to find some ideas about installing ypserv and ypbind and portmapper. We did all that and also started them successfully. But now the clients are not able to join to the NIS domain . The error log states "YP_DOMAIN NOT BOUND".

I guess we have not entered the /etc/yp.conf, /etc/hosts files properly. Please let us know the detailed steps to setup a NIS server .

Also, please let us know what entries should go into the different /etc/<file_names>? What is meant by HOSTNAME in the /etc/hosts file?

Is there any other files which need to be changed? Are we missing any steps?

Also to add-on, while executing the ypinit command we faced the following error:

At this point, we have to construct a list of the hosts which will run NIS servers. localhost.localdomain is in the list of NIS server hosts. Please cont inue to add the names for the other hosts, one per line. When you are done with the list, type a <control D>. next host to add: localhost.localdomain next host to add:

The current list of NIS servers looks like this:

Is this correct? [y/n: y] y

Error running Makefile.

View 3 Replies View Related

CentOS 5 :: Software RAID - Starting Array With Mdadm

Jul 15, 2010

I've been having troubles with software raid. In particular, the raid array becomes un "assembleable" after reboots. The config is CentOS 5, 4 sata discs (one by 160 containing OS, no raid and 3 2TB disks configured as a RAID 5 array - no spare drive). These drives were configured in anaconda and all seemed to go well (the drive and its lvm partitions worked and it finished rebuilding overnight). A couple of reboots later the drives cannot be assembled anymore and the machine won't boot. The error message says:

mdadm: /dev/md0 assembled from 1 drive and 1 spare - not enough to start the array.

Of course there are 3 drives and no spares in the array as configured. Manually starting the array with mdadm --assemble --scan gives the same message as does assembling the drive by specifying the individual parts. /proc/mdstat does recognize the 3 drives and when I look at the partition tables in fdisk, they show as being software raid. What could be wrong or steps to diagnose? I tried configuring the raid drives manually before going the anaconda route. Also, does anyone know I can edit the /etc/fstab file to disable them so the machine will at least boot. The (Repair filesystem) shell has the / drive mounted r/o.

View 7 Replies View Related

Ubuntu :: Testing RAID Setup ?

Apr 25, 2010

I have set up a RAID1 array and am trying to test if its is set up correctly/if errors are detected, reported and recoverable.

Started up the mdadm monitor with:

Code:

I set the RAID array to a faulty state by doing:

Code:

However I do not get any problem reports to my e-mail address. When I test the mdadm I get this result:

Code:

When I look in the postfix folder, sure enough.. there is no main.cf file there... but there IS a file named 'master.cf'. I am running Ubunto 9.10 with default components - have postfix but no sendmail.

View 2 Replies View Related

Ubuntu :: Looking For Guidance On Raid / Nas Setup?

Aug 2, 2011

I have a situation where I need to setup some sort of storage solution with Raid 5 redundancy. I was thinking that Linux would be the way to go but I am not certain what platform would be best.

I was thinking running two SATA RAID controllers to get me somewhere between 4 - 6 TBs in Raid 5. I am very comfortable with ubuntu now and would love to use it. I have also used FreeNas in the past but would love to have a full OS on the machine if at all possible.

View 2 Replies View Related

Hardware :: Getting The Motherboard Raid 5 Setup?

Mar 11, 2011

I am just getting into the Raid world with my home server. what i have:

Asus M3A78-CM (may be wrong, cant remember for sure) Motherboard with 6 Sata2 Connectors
3 2TB Sata2 Drives
2GB of DDR2 Ram set in bank A
AMD Dual Core (i'll know what it is when i get the system booted)

What i am trying to figure out is when i build this system, I will put in the HDD's into Sata Ports 1-3 and in the BIOS i will setup a RAID 5 Array. Now, do i just format and partition like normal? Would it be better to have a smaller, and better performing Sata2 for the system so i can have the raid be only for file storage?

In what i have read about this, i need to format each drive into two partitions at least but i do not know what needs to be done, The guides just vaguely say something about two partitions and then move on (trick of the trade? keep all of us in the dark? LOL) I would like to have a raid for my storage and a faster disk for the OS and home directories. But if it cannot be done then thats how it is. So do i put the TB drives in Sata Ports 4-6 and my other drive in Sata Port 1?

View 8 Replies View Related

General :: Ubuntu 10.10 Setup With Raid 0

Feb 10, 2011

I got a motherboard asus m2a-vm that has support for raid 0, 1 and 10 and I was just curios if anybody has used a fakeraid for raid 0 with ubuntu. If so did it work out as planed?

View 4 Replies View Related

CentOS 5 Hardware :: Mounting RAID Array On Samba Server?

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

CentOS 5 :: Installing 5.4 With Multiple Raid Levels On A 4 Disk Array?

Nov 17, 2009

Our server is a CybertronPC I2XV9080 Imperium Tower. It is equipped with a supermicro X7DVL-I Motherboard and Quad 750 GB SATA2 RAID edition hard drives in a raid 5 array. We tried to install Centos on the Raid5 array with Device-Mapper as the LVM. In the BIOS SATA Raid was enabled and the ICH RAID code base option was set to [Intel].

Intel Matrix Storage Manager Option ROM V5.6.4.1002 ESB2
RAID
ID Name Level Strip Size Status Bootable
0 Raid5 Raid 5 64KB 80GB Normal Yes
1 Raid_5 Raid 5 64kB 2000GB Normal Yes[code].....

Can I have multiple level raids across the same array or would that lead to problems as above? Is the root cause of my problem the fact that intel raid5 is not supported for Linux as based on the following link http:[url]....

View 3 Replies View Related

Debian :: Installation Broke Raid Setup?

May 27, 2011

My system includes two 120GB disks in fake raid-0 setup. Windows vista is installed on these.For Debian I bought a new 1 TB disk. My mission was to test Debian and I installed it to the new disk. The idea was to remove the disk afterwards and use windows as it was before. Everything went fine. Debian worked perfectly but when I removed the 1 TB disk from system grub will show up in boot in grub recovery mode.

Is my RAID setup now corrupted? Grub seems to be installed on the other raid disk? Did grub overwrite some raid metadata? Is there any way to recover the raid setup?

dmraid -ay:
/dev/sdc: "pdc" and "nvidia" formats discovered (using nvidia)!
ERROR: nvidia: wrong # of devices in RAID set "nvidia_ccbdchaf" [1/2] on /dev/sdc
ERROR: pdc: wrong # of devices in RAID set "pdc_caahedefdd" [1/2] on /dev/sda
ERROR: removing inconsistent RAID set "pdc_caahedefdd"
RAID set "nvidia_ccbdchaf" already active
ERROR: adding /dev/mapper/nvidia_ccbdchaf to RAID set
RAID set "nvidia_ccbdchaf1" already active

View 1 Replies View Related







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