General :: Setting Up RAID Or Mirror Drives On The Hardware Level?
Sep 16, 2010How can I mirror drives on the hardware level? I have a Sun X2270 server with 4 1 terabyte hard drives and need to mirror two drives.
View 1 RepliesHow can I mirror drives on the hardware level? I have a Sun X2270 server with 4 1 terabyte hard drives and need to mirror two drives.
View 1 RepliesI know my Linux Servers have RAID but I want to know
1. Can I find RAID level?
2. how to find Disk information...I mean if it's not possible to get RAID Can I get how many hard drives and the real size?
I'm breaking into the OS drive side with RAID-1 now. I have my server set up with a pair of 80 GB drives, mirrored (RAID-1) and have been testing the fail-over and rebuild process. Works great physically failing out either drive. Great! My next quest is setting up a backup procedure for the OS drives, and I want to know how others are doing this.
Here's what I was thinking, and I'd love some feedback: Fail one of the disks out of the RAID-1, then image it to a file, saved on an external disk, using the dd command (if memory serves, it would be something like "sudo dd if=/dev/sda of=backupfilename.img") Then, re-add the failed disk back into the array. In the event I needed to roll back to one of those snapshots, I would just use the "dd" command to dump the image back on to an appropriate hard disk, boot to it, and rebuild the RAID-1 from that.
Does that sound like a good practice, or is there a better way? A couple notes: I do not have the luxury of a stack of extra disks, so I cannot just do the standard mirror breaks and keep the disks on-hand, and using something like a tape drive is also not an option.
I need to mirror a particular website (all the pages under that particular domain) any pages (but not whole sites) that the website links to.
How to do this
wget -r --level=inf (or some other variant) will mirror the site.
wget -r -H --level=1 will get all the links (from all domains) to the first level.
Anyone have any ideas on how I could combine these, to get the entire of the main site and one level deep into external sites. I've been banging my head against the manual all afternoon.
How long does hardware Raid card (raid 1, 2 drives)take to mirror a 1 TB drive (500gb used)?Is there a general rule of thumb for this?4 hours? 12 hours? 24 hours?
View 1 Replies View Relatedi have cretaed RAID on one of my server RAID health is ok but its shows warning. so what could be the problem. WARNING: 0:0:RAID-1:2 drives:153GB:Optimal Drives:2 (11528 Errors)
View 1 Replies View RelatedI have opensuse 10.3 Everything has been working fine for several months, then out of the blue, something changed. I woke up to see that the system was down. When trying to start it, it goes to
"can't determine runlevel" and stalls
- OR -
if it gets past that point, it stops at "setting up the hardware clock".
so I setup a raid ten system and I was wondering what that difference between the active and spare drives is ? if I have 4 active drives then 2 the two stripes are then mirrored right?
root@wolfden:~# cat /proc/mdstat
Personalities : [raid0] [raid10]
md1 : active raid10 sda2[0] sdd2[3] sdc2[2] sdb2[1]
[code]....
I have two hard drives inside an Ubuntu 9.10 machine, each with a data partition on. What I want to do is as I save files to one data partition partition (or delete them) I want the files copying/deleted automatically on the the other data partition. I do not want to start using RAID or end-of-day incremental backups.
View 5 Replies View RelatedI am Setting up 3 HP Proliant servers with 2 250GB Hard Drives in each. How Do I mirror the drives, and link all the servers together??? I am installing Centos 5.3. From the software install menu I installed Gnome, and the Server software, but can't seem to figure out how to get into the server side of it from gnome. Sorry for all the questions, but I have been out of the loop of all this for about 8 years and trying to re-learn everything.
View 4 Replies View RelatedI recently setup a software RAID1 with two hard drives for testing. I manually unplugged one hard drive to test redundancy and it was fine. I then did the same to the second and plugged back in the first and it was fine. But when I plugged both back in it is only loading one of the mirrors instead of both. I am guessing when the mirror (failed), at least as far as the system knew it removed it from the load sequence to prevent data corruption... how do I go about re-enabling it?.
cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdb1[1]
[code]....
I know I can simply create a degraded raid array and copy the data to the other drive like this: mdadm --create /dev/md0 --level=1 --raid-devices=2 missing /dev/sdb1
But I want the specific disk to keep the raw ext3 filesystem so I can still use it from FreeBSD. When using the command above the disk will be a raid disk and I can't do a mount /dev/sdb1 anymore. A little background info. The drives in question are used as backup drives for a couple of Linux and FreeBSD servers. I am using the Ext3 filesystem to make sure I can quickly recover the data since both FreeBSD and Linux can read from that without problems. If someone has a different solution for that (2 drives in raid 1 that are readable by FreeBSD and writeable by Linux),
I'm renting a dedicated server with a company that claims that the server has 2 hard drives in a software RAID 1 array, but I need to make sure that the server really has the 2 HDD, and the size of the 2nd drive... how to do that ?? system is Centos 5.3
View 1 Replies View RelatedI have a 4 disk raid 5 array on my Ubuntu 10.10 box. They are /dev/sd[c,d,e,f].Smartctl started notifying me that /dev/sde had some bad sectors and the number of errors was increasing each day. To mitigate this I decided to buy a new drive and replace it.I have an external 4-bay disk enclosure. I failed /dev/sde via mdadm:
Code:
mdadm --manage /dev/md0 --fail /dev/sde
mdadm --manage /dev/md0 --remove /dev/sde
[code]...
So windows wouldn't recognize my drives as a raid setup, so I disabled it and switched to IDE, now Ubuntu 9.10 installation will only recognize my drives as RAID. I have and ASUS M3A32-MVP Deluxe Series motherboard, it has 4 sata connectors and 2 marvel controlled sata connectors. In the 4 sata connectors I have my 2 wd 500gb hds, my dvd burner, and my external usb, esata slots. In the marvel controlled sata connector I have a wd 160gb hd. Originally when I built the computer I wanted a raid setup with the 2 500 gb hds.
But windows wouldn't recognize the raid set-up and wouldn't boot properly. So I said screw it and removed the raid and set all the drives to IDE. Then, when I tried to install Ubuntu 9.04 it would only recognize my 2 500 gb hds as raid. Gparted recognizes the drives as both raid and IDE. Eventually, after a day or two of praying and messing around the installer recognized both drives as raid and IDE. A couple months later here I am trying to install Ultimate Edition 1.4.
I just built a home computer with 3TB hard drives I wanted to set up in a RAID 5 and load Ubuntu server onto it. The first thing I did was set up the drives in a RAID 5 using just the motherboard chipset software to do it, so a 'hardware' RAID basically. I installed Windows first to see if all the hardware works ok (that seemed the easiest way to verify it) and with the exception of the ethernet card (which needed a driver disk to work) everything was plug n' play and worked wonderfully. After that I booted the Windows install disk again to delete the partitions, hoping Ubuntu 10.10 server would create its own.
The problem I'm having is no matter what I've tried (deleting and recreating the RAID 5 setup, departitioning the drives), whenever I try to install Ubuntu it won't recognize the RAID as a valid disk. Ironically, it did at first, because I installed windows to verify the hardware. The ethernet card wasn't working automatically in the Ubuntu setup, (although it found the unformatted RAID drive), so I installed windows and figured out it was just the drivers that needed to be installed.
So now when I try to install Ubuntu, it finds the ethernet card perfectly and connects to the internet during the installation...but that actually stinks because it's telling me it's still accessing the drivers from the drives that I thought I formatted. Once it gets to the storage part of the installation afterwards, it can't find the RAID drive anymore. I tells me to choose a disk from the list, but the list is blank. So I can't install on it.
If I remove the RAID entirely and just keep the drives as 3 separate IDE drives, it finds every drive perfectly and can install to either one I choose. But I don't want this, I definitely need them RAIDed.
I would like to build a NAS from PC (D510MO) running Debian. I have two HDDs (one 3.5 1T and one 2.5 500G).
On 3.5 HDD I have already two partitions 100M+40G dedicated for Win7-64. Now, I want to install Debian (second OS) on this PC and to have some kind of soft RAID or disk mirror of 500G space. I am planning to create a third partition on 3.5 HDD of 500G (identical as 2.5 HDD size) in order to have a mirror 500G space.
Please send my some suggestions on where I have to install Debian; on 500G 2.5HDD or 500G 3.5HDD!Will Debian boot from both HDDs 3.5 or 2.5 after I create the mirror? What Linux soft I have to use for mirroring (mdadm)?
How can we know which Raid level is useful for the server E.g Mail, Web, Database server. Also things we can keep in mind before configuring RAID / LVM on live servers.
View 2 Replies View RelatedI have a MSI Board that had this hard drive configuration.
200GB x Single EXT4 Ubuntu
320GB x Raid Mirror NTFS
320GB x Raid Mirror NTFS
[code]....
I've just set up the local mirror for my 96 CentOS 5 workstations. The mirroring script is taken from public-mirror howto and looks like this:
#!/bin/sh
rsync="/usr/bin/rsync -avHzL --delete --delay-updates" # replaced -q with -v for debuging purposes, removed --bwlimit, added -L to follow symlinks
mirror=centos.politechnika.lublin.pl::CentOS # tried several different same result
[Code]....
I tested mirror consistency by putting the mirror addres I'm syncing with, directly into repo file. Than yumex works fine. I tried several different mirrors with the same result.
I currently store my backup files onto 2 HDDs that I have in external USB enclosures, one is 1.5TB and the other is 2TB. They both basically mirror each other, but is done by manually copying files onto one and then the other. My goal is to have a Raid level 5 system and I know that level of Raid is a minimum of 3 disks so I'm wondering what my current options are with Raid level 5 in mind.
I can immediately wipe out one of the two drives I currently have with the second requiring some time to offload data from if it is not possible to proceed with Raid unless I have this second disk free. So my situation is this. Is it possible to do something right now with two disks and then convert to Raid level 5 later once I have a third disk without starting from scratch?
My old xp is too slow, so I am intending on re-installing from scratch. I will first raid 0 my drives. Then install XP, followed by Ubuntu. From browsing on net it seems many people have problems with dual booting. (I did several years back). Any simple Free boot managers that are tried and tested. Can/will do some editing of Boot manager if required.
View 3 Replies View Relatedi want to install ubuntu10.10 x64 by pxe, so i have following proseed.cfg. and system should install using mirror 10.1.1.2/ubuntu/ubuntu10.10/x64 according to preseed.cfg. But it always report "Bad archive mirror". i could ping 10.1.1.2 and could get file by "wget" from 10.1.1.2.
# Locale sets language and country.
d-i debian-installer/locale string en_us
# Keyboard selection.
d-i console-setup/ask_detect boolean false
[Code]...
i need to shred (or at least do a low/high level format) the drives before giving them to my parents (because they know about undelete and stuff). so, what apps can i use in ubuntu to do this?
View 4 Replies View RelatedI was recently requested to try and convert a running system to RAID level 1. I did not succeed in this task. However, I am still interested in accomplishing this task in a test environment.What I did was create a RAID device with a device missing e.g.
mdadm --create /dev/md0 --level=1 --raid-devices=2 missing /dev/sdb2
Once the RAID was up and running I created the /etc/mdadm.conf file so that it would activate the RAID device on boot. Once the device was created I copied all the data from the running root filesystem to the /dev/md0 device. The only directory that I didn't copy was the /proc directory. When I rebooted the machine I had a kernel panic and the system couldn't find /dev/root. I would greatly appreciate it if someone could provide some information/tips regarding the problem.
We have been using Ubuntu Server at our department since several months now. It hosts a website, e-mail and nfs(only intra).
It was set-up as RAID 0 with two 1TB Hard drives but I want to change it to RAID 1 for fault tolerance. Is it possible to change existing RAID level? If yes can someone point me to the proper place?
I tried "mdadm" documentation and level set option is available but no explanation available that whether it is only while creating the array or it can change the level too.
I recently made a script to automatically download a directory from my webserver using ftps (required by hosting company). It seems policy has changed again or something, because trying to download files gets the following error:
mirror: Access failed: 521 Data connection cannot be opened with this PROT setting.I can access the files just fine with Filezilla, but not lftp. I didn't change the code, but here it as anyway:
lftp -f ~/the/file/below
Quote:
open -u USERNAME,PASSWORD DOMAIN
lcd /local/place/to/put/files
mirror
quit
I tried manually, login works fine, but nothing can be done after that.until this works again I've broken a backup system of mine.
hello everyone, im having a problem when my computer enters in the run level 4 as the default when i start slackware. The strange thing is that it not seems that is a X window problem, it looks like more like a configuration problem in some part of the kde script to initialize the log in, because if i manually start the X service it works fine, i dont know what is the source. Thank you in advance for the help.
View 3 Replies View RelatedI'm using OpenSuse 11.4 64 bits with KDE 4.6.00 (4.6.0) "release 6". Since several days, the sound level setting via the sound icon at the right of the task bar is very slow, ie it takes several seconds (not to say one minut or more) between the action of increase / decrease the sound level and the effect on the sound level.Same behaviour when I select this sound level icon at the right of the task bar, the cursor appears one minut later.
View 3 Replies View RelatedA friend of mine is starting a school this school has computers. I'm assuming windows but that's not that point at the moment. He asked me about setting a main unit that held the kids info and their work complete on the computer. Effectivley what I am asking is how do I set up a server to allow many multiple (at least 50 user at a time) each with their own folder as their home (or desktop I guess is a better word). He also wants a person to be able to add themselves as an account similar to that of signing up for something (ie facebook twitter you know). Oh and ( I almost forgot the most important) how to setup the server to allow the other computer to boot to it via the network...
View 3 Replies View Related