Ubuntu Servers :: Failure To Partition RAID1 During Installation

Jul 29, 2010

I have built a small test server. I am planing on using this machine a an email and web server to test out its hosting capacities. in the future I will build a larger and more well equipped version.

AMD Athlon x2 2.0ghz
2 160gb SATA drives (hardware raid 1, done through the Motherboard)
2 gb ram (dual channel)

Like I said small test server. I am trying to install 10.04 server edition. When I get to the point of partitioning it asks me to activate the raid so I do. I get through the guided partitioning and get ready to write the file system to the drives and the screen goes red and says that it has failed. On a side note, this works if i install it on the same drives without any raid configuration.

View 6 Replies


ADVERTISEMENT

Ubuntu Installation :: Anyway To Re-partition Disks To Use RAID1

Aug 1, 2011

I just installed Ubuntu server edition to my computer (brand new, no OS) and finished installation. In the terminal I used apt-get ubuntu-desktop to install a desktop interface.In my rig, I have two 500GB HDDs. I set them up through my computer BIOS as RAID1 drives, yet as I understand I still need to configure the Ubuntu software raid for it to work correctly. Unfortunately, I already partitioned my drives! I used the easy way (guided with LVM or whatever) and let it do it for me. Now, RAID1 is very important to me! Is there anyway to repartition the disks to use RAID1, or do I need to wipe my computer and reinstall Ubuntu?

View 5 Replies View Related

Debian Configuration :: RAID1, Cannot Recovery After A Failure?

Aug 5, 2010

I'm a beginner + in debian (ie I know how to launch basic command under a shell), and I very new to configuration problem.I have a running perfectly file server for probably more than 2 years that I never touch. That's the debian problem, when it's unning, it's forever, no reboot at all.I recently bought 2 new sata drive 1TB5, that I add to my system by adding to my old system a SATA PCI board without any problem.But, one of these 3 month old drive is already dead.So I try to replace it and that's where problem started.....First I did a#mdadm --manage /dev/md1 --remove /dev/sdb1, of course without sucess because sdb is dead

#mdadm --detail /dev/md1
/dev/md1:
Version : 00.90.03

[code]...

View 14 Replies View Related

Slackware :: Notify About A RAID1 (software) Failure?

Apr 8, 2011

I was experimenting in virtual machines this evening with software RAID.I found Slackware's method straightforward and intelligible. The README is excellent. I found software RAID setup in Scientific Linux (RH Enterprise clone) and Debian convoluted and confusing.My only question regarding software RAID in Slackware is how the system notifies you about the failure of one component. I pulled one of the virtual disks offline to deliberately fail the array but I wasn't notified when rebooting. I didn't look too deeply into log files to be honest. Can it be set to automatically notify the admin about a failure?

View 4 Replies View Related

Ubuntu Installation :: Lost Boot Partition On Drive Failure

Jan 1, 2011

We had a drive failure on /dev/sda. Everything 'except' boot was on raid5 across sda, sdb, sdc, sdd. I know how to repartition a new drive and rebuild the raid etc, but I don't know how to regenerate the files that reside on the boot partition. I really don't want to re-install as we have lot of custom code and software that may depend on our current libraries and build environment.

View 1 Replies View Related

General :: Creating A RAID1 Partition With Mdadm On Ubuntu?

Jan 28, 2010

I'm trying to set up a RAID1 partition on my Ubuntu 9.10 workstation.On this dual-boot system, Ubuntu is running from a separate drive (/dev/sdc - an SSD that is quite small, which is why I need more disk space). Besides that, there are two traditional 500 GB hard drives, which have Windows 7 installed (I want to keep the Windows installation intact), and about half of the space unallocated. This space is where I want to set up a single, large RAID1 partition for Linux.

(This, to my understanding, would be software RAID, whereas the Windows partitions are on hardware RAID - I hope this isn't a problem... Edit: See Peter's comment. I guess this shouldn't be a problem since I see both drives separately on Linux.)On both disks, /dev/sda and /dev/sdb, I created, using fdisk, identical new partitions of type "Linux raid autodetect" to fill up the unallocated space.

Device Boot Start End Blocks Id System
/dev/sda1 1 10 80293+ de Dell Utility
/dev/sda2 * 11 106 768000 7 HPFS/NTFS

[code]....

But so is "Device or resource busy" when trying to create the RAID array. Quite strange.

Update: Could the device mapper have something to do with this? How do /dev/mapper and dmraid relate to all this mdadm stuff anyway? Both provide software RAID, but.. differently? Sorry for my ignorance here. Under /dev/mapper/ there are some device files that, I think, somehow match the 3 Windows RAID partitions (sd{a,b}1 through sd{a,b}3). I don't know why there are four of these arrays though.

$ ls /dev/mapper/
control isw_dgjjcdcegc_ARRAY1 isw_dgjjcdcegc_ARRAY3
isw_dgjjcdcegc_ARRAY isw_dgjjcdcegc_ARRAY2

View 2 Replies View Related

Ubuntu :: Finish Creating Raid1 Ramdisk/hdd Partition?

Mar 8, 2011

After some hours of googling, I've managed to increase the size of the default ramdisks (/dev/ram0-16) to 1 GiB each, I raided them together with mdadm to try it out, then created a filesyste, mounted it etc etc. No problems. The problem comes when I used gparted to move my windows partition over and in the unallocated space (1 GiB), I created an unformatted partition (/dev/sda2)Now when I try to create the raid array I get the following:

Code:
:~$ sudo mdadm --create /dev/md0 -l 1 -n 2 /dev/ram0 /dev/sda2
mdadm: Cannot open /dev/sda2: Device or resource busy

[code]....

View 2 Replies View Related

General :: Trouble Booting Up To LVM Partition On Raid1

Jul 10, 2010

I been trying all day to boot debian on a lvm partition on a raid1. I have found some howtos but they only show how to do it for one or the other not both at the same time. Using those howtos I think I have grub2 setup right the problem is my kernel. It has support for both LVM and Raid built-in. I setup the raid and lvm partitions while running that kernel. But when I use it to boot up the system on the lvm/raid it gives a kernel panic.

The OS is by itself on an old disk sda1. The raid1 is on two other disks sdb1 & sdc1. It is divided into 2 logical partition vg-root & vg-media. I just copied the OS onto vg-root. Then tolled grub to boot to it. The grub entry is like so..I tried setting root=(md0) but that didn't work either. I'm pretty sure the problem is with the kernel but I don't see why since it can it can see the raid and lvm partitions once it is booted up and both the raid & lvm options are built into the kernel so it should be able to see them at boot time.

View 2 Replies View Related

Fedora Hardware :: Hardware RAID1 Failure In 12?

Jun 25, 2010

I have been running Fedora 12 since its release without issue with a hardware RAID1 of two 1.5TB drives and a root volume of 500GB on a separate drive. Last night, after rebooting my machine, I was greeted with the following:Checking filesystemsfsck.ext4: Unable to resolve 'UUID=<snip>78' [FAILED]and the option of shell access as root. After logging in, I ran blkid with these results:

/dev/sda: TYPE="jmicron_raid_member"
/dev/sdb: TYPE="jmicron_raid_member"
/dev/sdc1: UUID="<snip>86" TYPE="ext4"

[code]...

View 4 Replies View Related

General :: Mirror The Boot Partition On Existing Raid1?

Feb 26, 2011

I have a raid1 setup on a machine. Recently it died and I thought one of the drives had failed as it was shooting errors. So I tried unplugging that drive get it to boot off the mirror but it seems the techs forgot to mirror the boot device so the 2nd drive can't boot on its own. After a while it was realized that the sata cable was in fact bad and replaced so now its working again.

However, this occurrence showed a flaw in the setup where the RAID1 isn't working as its supposed to. I would like to correct this. Can I somehow mirror the boot partition so the 2nd drive will boot independent? I'm not sure how I would go about this. This is a CentOS 5 installation.

View 13 Replies View Related

Ubuntu Servers :: Boot From Raid1 (mdadm) + Lvm

Aug 11, 2010

intending to set up an all-in-one server, i threw in the ubuntu server 10.04 (amd64) cd. during the text-install, i set up the device-topology below, and it worked.

[Code]....

then i tested my raid by hot-pulling off the sda wire (ouch). worked fine, system still worked, and it also managed rebooting from the left sdb (which of course showed up being sda, lacking the first drive). now i am trying to recover this pre-crash state. adding the first disk (showing up as sdb), i can add it to md0 and let it start syncronizing for 2 hours. but... i can?t boot anymore with the recovered first disk being sda...

at first, booting got stuck in an initrd-prompt after complaining it couldn?t find my sys-logical volume. after a lot of trial and error i don?t even get any complaints, just a black screen which would let me wait for a boot for weeks... so, my system does not boot from my first disk, whether i plug in the second or not. my second disk still boots. my last attempt to get booting fine again has been: zero sda?s first and last gigabyte to kill any ids duplicate sdb?s first cylinder to sda to make it bootable reinitialize sdb?s part.table using command o in fdisk for a new disk-id recreate sda1 partition add sda1 to md0

View 1 Replies View Related

Ubuntu Servers :: RAID1 Disappears After Reboot?

Jan 5, 2011

I had a thread earlier asking for help installing Ubuntu Server to my homemade atom based NAS, but I gave up on that (GUI's are more helpful to me ) and so now I'm running Ubuntu 10.10 Desktop 64bit edition.Last night I was finally able to get mdadm set up. I have two 1TB disks set up in RAID1 config. I used

Code:
sudo mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1
to create the array, and then waited until it finished assembling. Then I used System>Administration>Disk

[code]....

View 1 Replies View Related

Ubuntu Servers :: Interpreting Mdadm RAID1 Status?

Feb 7, 2011

I have a RAID1 array, where mdadm states that one of the disks is "removed." Naturally, I assume one of the drives has failed. The mdadm --detail command tells me that the sda drive has failed. However, further inspection from the mdadm -E /dev/sdb1 command says that sdb1 disk has been removed. I am a bit confused. Can someone clarify which drive is failed? Am I misreading the command outputs?

Code:
sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

[Code]...

View 3 Replies View Related

Ubuntu Servers :: Converting Single Disk LVM To RAID1 LVM (grub)

May 5, 2010

I have an Ubuntu Server on (8.10) running under Citrix XenServer (though that shouldn't make a difference).

I installed on a single disk:

xvda1 - 200 MB - /boot
xvda2 - 9.8 GB - LVM (ubuntu-base)

The LVM is:

swap - 1.0 GB
root - 8.8 GB - /

I have successfully gotten this converted to RAID1 by adding a new drive (xvdb) and following the Debian howtoforge article [URL]

What I have not been able to do, is get grub working properly.

If I fail xvdb and reboot the system, everything comes up and I can reboot and run.

If I fail xvda and reboot the system, XenServer gives me a bootloader error. i.e.: no grub

If someone has done this, can they tell me what grub commands to run to get a successful boot of the primary disk fails?

View 1 Replies View Related

Ubuntu Servers :: Mdadm Raid1 Doesn't Finish Syncing?

Nov 14, 2010

One of the hard drives in my server failed the other day, backups saved the day and downtime was only a few hours, but when setting up the new drive I went ahead and migrated to software RAID, in the hopes it may give me less downtime in the future when a drive fails. It all went rather well, but my main root partition won't finish syncing for some reason.

sda was the original drive with sda4 as /, sda1 as /boot, and sda2 as swap. sdb was the drive that failed and was replaced with the new drive. So I set up sdb with the same partitions of sda, added it to a RAID1 array, copied files from sda, and reboot to md4 as /, md1 as /boot, and md2 as swap. I added the sda partitions to the array, and the sync went off without a hitch on md1 and md2, md4 progresses well, but after a few hours /proc/mdstat just shows this:

Code:
root@d668:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md2 : active raid1 sdb2[1] sda2[0]
9767424 blocks [2/2] [UU]

[Code]...

View 3 Replies View Related

Ubuntu Servers :: Proper Raid1 Data Drive Formating

Feb 4, 2011

I have a ubuntu sever with a raid1 data drive formated in native linux ext3. I have searched for answers to my question but most likely I'm not asking it correctly. I want to use the data drive to store backups of files from various ubuntu and windows machines. Do I need to reformat the drive as ntfs to enable windows use or can it remain as ext3? For that matter can I reformat as ext4 as a soultion? Again, I wish to use the data drive as a backup storage.

View 3 Replies View Related

Ubuntu Servers :: Accidentally Rm -rf'ed /etc From Raid1 Mirror - Recover The Directory?

Apr 10, 2011

I accidentally rm -rf 'ed /etc directory from the main server. The server has raid1 soft-raid. Is there a way to recover the directory.

View 4 Replies View Related

Ubuntu Servers :: Raid1 Reads At Single Disk Speed?

May 3, 2011

im on 10.10(desktop) and mdadm was v2.8.1 from 2008, very out of date so i tried 3.2.1 -> no change. mdadm raid1 read speeds are the same as single disk. note i used the tests in the disk utility benchmarking tool at first --these showed raid 5 atleast to be much better but when i tried dd reads raid5 dropped off with larger data to almost the same (slow) speed as raid1. compare:

[code]....

using two partitions will be enough to show raid1 performs at single disk speed. I dont really want to use a 4 disk raid0 just to get the read speed i should be able to get with raid1 as i dont really care about the size loss. I would of course use raid10 but i have found this suffers from the same problem (achieve same read speed as 2 disk stripe). So whilst im shocked others aren't reporting this, unless there is some obscure reason why my system would give these results i think raid1 in not behaving as it should.

View 6 Replies View Related

CentOS 5 :: Fresh Installed Server With Large Partition In RAID1 Config High Serverload

Mar 15, 2009

Yesterday I installed a new server with a large partition for my XEN images. This partition is a about 930GB. The installation tooks ages and after he finished I was finding out why that is. The SoftRAID1 I configured is rebuilding the large partition.

View 7 Replies View Related

Ubuntu Installation :: Installation Of 10.04 With RAID1 - Encryption Fails ?

Jun 1, 2010

I just tried to install with Ubuntu 10.04 AMD64 Alternate on RAID1 and Encryption but after reboot the screen just stays black.

my system is a AMD Athlon 64 X2 Dual Core 4200+ on a Abit AN-M2HD Motherboard, and 2 HDs each 250.1 GB
i split the HD into
* 50GB for /
* 200GB for /home
* 1GB for swap
all get a RAID1
/home is encrypted with passphrase (Twofish 256, cbc-essiv:sha256)
swap is encrypted with random (Blowfish 128, cbc-essiv:sha256)

where can i check RAID and hardware compatibility?

View 9 Replies View Related

Ubuntu Installation :: After The Installation The System Cannot Autostart Raid1?

Oct 10, 2010

I just made a complete reinstall of my fileserver. After the installation the system cannot autostart my Raid1. For some reason it seams that only one of the identical disks are found by mdadm"disk utility" states "not running, partially assembled"If i immediately stop the raid in the disk utility I can restart it and mount it.some diagnosticsmdadm.confQuote:

# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions

[code]....

View 1 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

Ubuntu :: Boot Failure - Can Not Find Root Partition No Uuid

Mar 5, 2010

I posted this first to thread 'Boot problem - "Gave up waiting for root device.", (initramfs)' then realized that I should start a new thread because the problem is not the same. On boot the splash goes black and nothing happens, On a recovery boot it drops into shell BusyBox and messages indicate that the root partition cannot be found. After booting from CD Gparted GUI partition information shows no label or ssid for the root partition sda2. The data for the root partition appears to be there. how to fix this? My /home, swap, and / are on separate partitions formatted ext3. I have a recent backup only for my data. I would like to avoid having to rebuild my system from scratch.

View 9 Replies View Related

Ubuntu Installation :: Booting When RAID1 Array Is Present?

Feb 24, 2011

I'm sorry if this is the wrong section and if there is another thread on the matter. I searched but couldn't find threads with my specific problem. I've just installed Ubuntu 10.10 Server 64 bit which I intend to use as a internal file server.

The hdd setup is:
500gb system disk
1tb storage
2tb storage (2*2tb using built-in motherboard hardware RAID1) When the installation was complete and the computer rebooted I got an error message saying "error: no such disk". After re-installation I got the same message and I then tried disconnecting all the storage devices and it booted perfectly. I then tried connecting up the 1tb drive and again it booted as it should. But when I re-connected the RAID:ed disks the error message re-appeared.

View 5 Replies View Related

Ubuntu Installation :: Moving From Another Raid1 W/o Losing Data?

May 15, 2011

I would like to move a samba fileserver from ClearOS5 to Ubuntu. It has raid1 (software) and I would like to save one partition from it, md3. The other partitions could be used for Ubuntu. How would I go about this so that I don't erase data from md3 and is it even possible?

View 1 Replies View Related

CentOS 5 :: /dev/mapper And 5 Installation With RAID1?

Sep 28, 2009

I am using CentOS 5.2. I am installing from disc on a machine with Intel Embedded Server Raid Technology. It has two 500 GB SATA drives. During the initial boot process, it sees that these two devices exist. However, after getting into the screen to partition and configure RAID, it just shows this:

Drive /dev/mapper/ddf1_MegaSR R! #0 (475879 MB) (Model: Linux device-mapper)

I want to do a RAID1 so that the disks are mirrored. However, I would expect to see both drives listed. I can select RAID to create RAID partitions, but I think I need to be able to see both drives in order to do this correctly.

View 6 Replies View Related

Ubuntu Installation :: Hard To Install The RAID1 Array In Brand New PC?

Nov 19, 2010

Like it says in the title, I am thinking it should be this hard to install the RAID1 array in my brand new PC. Here is what is happening. I have two brand new 1TB drives that I am attempting a new, fresh install of 10.10 on (in fact, the entire box is new). I am attempting to use the alternate desktop install so that I can have access to the manual partitioning (which is required to setup RAID 1, correct?).

I tried to use the guide here: [URL]... I followed the steps, but when I got the the very end (after selecting and creating the MDs) I get an error message stating that there is no root file system defined. I went back and checked all the steps and I am sure I followed everything in the guide.

Here are some quirks (not sure if they are bugs or not) In step 5 of the disc partitioning, it says to select the bootable flag and set it to yes (I am assuming). I press enter over that options, the screen flashes really quickly to a progress bar, but then comes back to the options screen and it still says bootable flag is off. No matter how many times I do it is says "off".

Also, and here is the bigger problem I think. - So the guide says to select the free space in each drive and then select Automatically Partition the free space, which I do, and it comes back and looks formatted accordingly - has 975.6 GB ext4 / and 24.6 GB swap swap. No Problem there.

BUT - whenever I do the same thing to the second drive, the partitions on the first seem to disappear. Meaning, it doesn't say free space, and has two partitions listed, but the / and the swap (last items in each row) have moved to the second drive partitions. I am not sure if this is how it is supposed to be since the pictures in the linked guide to not show what it looks like after that. THis is driving me crazy and I have to have it set up in RAID 1 and unsure as to what it is I am missing.

View 1 Replies View Related

Ubuntu Installation :: Complete Crash And Lost RAID1 Config?

May 21, 2011

I have been running dual boots for a long time and never had a problem installing Ubuntu.I now tried to install Ubuntu Studio on my performance machine, a DELL Studio XPS, which has (had?) a RAID1 configaration.I got stuck in the partitioning and tried to abandon, which left me with maybe nothing... When I tried to reboot, my machine started Windows but then "autochk program not found". And I am lost for what to do...

View 3 Replies View Related

OpenSUSE Install :: 11.3 Installation With RAID1 On Two Disks?

Dec 14, 2010

I fail to install OpenSuse 11.3 with Raid-1. What I do: Partitioning -> Expert. sda1 type RAID do not format / mount, sda2 /(root) type RAID do not format / mount, sda3 /home type RAID do not format/mount. Clone disk to sdb. Raid -> add md126p1 type swap mount to swap, add->md126p2 type etx4 mount to /(root), md126p3 type ext4 mount to /home. Bootloader: GRUB, boot from MBR enabled, boot from / disabled. After installation the system does not boot and grub reports error that the specified filesystem can not be found.

View 9 Replies View Related

Ubuntu Servers :: Server 11.04 Bash_completion Failure?

Jun 17, 2011

I have an Ubuntu box running server 11.04 that is displaying a weird behavior when logging into the CLI. The message below will scroll for about 15-20 seconds when you first log in, but then it goes to the normal shell and everything seems to work fine.

Code:
Welcome to Ubuntu 11.04 (GNU/Linux 2.6.38-8-server x86_64)
* Documentation: http://www.ubuntu.com/server/doc

[code]....

View 9 Replies View Related







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