Ubuntu Installation :: 10.10 - Mirroring Hard Disk Using RAID

Jan 5, 2011

I am using Ubuntu 10.10. I have a system set up with 1tb HD. I also have another 1tb HD which I'd like to use to mirror the other drive. So if the primary HD fails I can boot and operate from the mirrored drive. I've read that this is possible by using Raid. however I am confused if it is possible to set-up with a HD which is already set-up Ubuntu system. Also what what I can make out the mother board does not have a raid option.

View 2 Replies


ADVERTISEMENT

Ubuntu Installation :: Software RAID With Old And New Hard Disk?

Mar 24, 2010

My system is installed on my main hd. Is possibile, if i buy a new hd, to setup a Software RAID, so with old and new hd without reinstall ubuntu?

View 2 Replies View Related

Ubuntu Installation :: Raid 0 - Two Hard Disk Array

Jul 8, 2010

What is the best way to install Windows and Linux on two-hard-disk array? In fakeraid there are no problems in Win, but linux installation is almost impossible (i've tried unsuccessfully...). In software raid it would be impossible to share files between win and linux? And finally hardware raid is possible, but cheap controllers have low performance. Is there any other way (apart from spending a lot of $$ for adaptec controller) ?

View 1 Replies View Related

Server :: How To Mirroring Two Hard Disk Drive In Rhel9 Server?

Jul 3, 2010

pls suggest me how to mirroring two hard disk drive in rhel9 server.i can do raid on those hard drive but user requer mirroring.so pls help how could i do this, mirror two hard drive.

View 2 Replies View Related

Ubuntu Installation :: Copy Hard Disk Have 10.04 And Ext4 To 1000 Hard Disk?

Sep 23, 2010

I want to copy hard disk have ubuntu 10.04 and ext4 to 1000 hard disk for new 1000

View 2 Replies View Related

Ubuntu :: Get Hard Disk To Original State After Raid?

Feb 25, 2010

i am currently trying to do software raid 1 on a running ubuntu 9.10 system with mdadm. I might have done something wrong and im trying to go back from the beginning. Does anyone know how to remove all the raid info from a harddisk and get it back to its original state.

View 2 Replies View Related

Ubuntu :: 10.04 - Software RAID And Mirroring

Sep 2, 2010

I've set up a test machine with Ubuntu 10.04. It has two drives making one RAID 1 drive using mdadm. This RAID drive is where /home is mounted. I like to break things just to see what happens and to know what to do to resolve it before it happens for real. So I physically removed one of the drives that made up the RAID 1 (while it was off).

I then rebooted the machine. I thought since it was mirrored then /home would mount correctly using the other mirror. What actually happened was on the Ubuntu splash screen it said there was a problem mounting /home. I skipped the mounting, logged in and looked in /proc/mdstat. It reported one drive that was inactive it did not report the missing drive.

View 4 Replies View Related

Fedora :: RAID Be Implemented On A Single Hard Disk?

Mar 25, 2010

Can RAID be implemented on a single hard disk ? If yes, plz give a link for it.

View 2 Replies View Related

Software :: Possible To Boot From Hard Disk Having RAID Partition?

Mar 28, 2010

I wanted to implement raid5 such that one partition is from my laptop's hard disk and others from other hard disks. After making one partition a raid partition, I rebooted the system. The computer stopped mid-way during booting, and brought me to the shell. On typing fsck -p, it told me an unexpected error occured in the partition which I had made for raid. Is there some condition that we cannot boot from a disk containing one of the raid partitions ?

View 1 Replies View Related

Fedora Hardware :: RAID 0 With 4 Hard Disk - Adding New Partitions?

Jul 27, 2010

We have a server with RAID 0 with 4 hard disks on it each 250 GB. Linux kernel must find one hard disk named: /dev/sda with 1TB capacity. right? And also we have 2 partitions on sda: sda1 and sda2. We want to add another partition but we don't have enough space.

Now the problem:
If we add another hard disk and run
Code:
fdisk -l
Will the /dev/sda space incremented automatically so we can add new partitions or we must do something?

View 2 Replies View Related

General :: Creating A Raid Device Which Has Both Stripping And Mirroring?

Mar 19, 2011

I just tried creating a raid Device which has both stripping and mirroring i have done as below Quote:

mdadm -C /dev/md00 -l1 -n2 /dev/sda7 /dev/sda8
mdadm -C /dev/md01 -l1 -n2 /dev/sda9 /dev/sda10
mdadm -C /dev/md02 -l0 -n2 /dev/md00 /dev/md01
pvcreate /dev/md02
vgcreate volgroup02 /dev/md02
lvcreate -n orac -L 9G volgroup02

[Code]...

Everything is fine until here but after reboot the device wont mount on /orac it says special device not available i found that that md02 device is not in active state
i tried deleting it and recreating it but no use still it wont persist a reboot

View 1 Replies View Related

Hardware :: RAID 1 Mirroring Setup For Home Environment

Jul 21, 2010

I planned to setup raid 1 mirroring for my small home environment. Then I selected two new harddisk and connected to my system. I inserted my fedora dvd and I clicked raid button in the graphical installation process by refering redhat docs. I installed successfully in /dev/sda /dev/sdb it works fine. For testing purpose I removed one harddisk /dev/sda. My system didnt boot it shows grub error. Why this happened? Since I have configured raid mirroring why the system is not booting from second harddisk /dev/sdb.

View 1 Replies View Related

Ubuntu Installation :: Migrate Working Single Disk System To Existing RAID Array Using Disk UUIDs

Aug 1, 2010

I had done a new lucid install to a 1 TB RAID 1 array using the alternate CD a few weeks back. I messed up that system trying to some hardware working that lucid doesn't have drivers for yet, so I gave up on it and reinstalled to a single 80 GB disk that I now want to move over to the RAID array.

I moved all of the existing files on the array to a single folder, then copied all of the folders from the 80 GB disk over to the array with permissions and symlinks (minus the contents of /proc and /sys, which I created empty).

These are the commands I used:

Quote:

p -a -d -R -v -t /media/raid_array /b*
cp -a -d -R -v -t /media/raid_array /d*
cp -a -d -R -v -t /media/raid_array /e*
cp -a -d -R -v -t /media/raid_array /h*

[Code]....

I tried to change fstab to use the 689a... for root, but when I try to boot, it's still trying to open /dev/disk/by-uuid/412d...

So then I booted from the single disk again and chrooted into the array, then ran update-initramfs -u. I got 3 "grep: /proc/modules: No such file or directory" errors, and "cat: /proc/cmdline: No such file or directory"- so I created directory /proc/modules, created an empty file /proc/cmdline, and ran the initramfs update again. Then I tried to shut down, which hung (probably because I was doing all of this from a terminal window in Gnome), so I killed the power after a couple of minutes.

It's still trying to use /dev/disk/by-uuid/412d... to boot.

What am I missing? I assume I just have to change the UUID to mount as root, but I don't know how.

View 2 Replies View Related

Server :: Network Disk Mirroring Of >16TB XFS Volumes?

Jul 29, 2011

I'm setting up two media servers - one will be primary and the second will be the failover box if the first one dies. My original plan was to use Heartbeat and DRBD to replicate the first to the second, but it turns out DRBD has a limitation of 16TB per volume, and my RAID 6 is 30TB in size. I'm trying to figure out some options.

One is to split the partition into two, so it's under the 16TB limit of DRBD, share both partitions, and then use LVM to join them as a single volume at the OS level. I'm not sure what kind of performance hit that will make on read/write access since now it will need to go through LVM *and* DRBD.

Two is to use something like GlusterFS or XtreemFS. However, I am wary of both of those as the first is a FUSE-based system and isn't really tuned for performance, and XtreemFS is still kind of beta-ish.

Three is good old rsync, but that is a bit too asynchronous in my opinion. I'd like to be able to fail over virtually instantly and not lose any content.This is a production system and performance of the disk systems are paramount, followed by reliability.

View 2 Replies View Related

General :: Bash - Mirroring Of Multiple Directories - Hard Linking

Apr 11, 2011

I have 5 FTP users that upload files (and subdirectories) in their home directory, i need to mirror theese directories beetween them and with a "master" directory (accessible from a 6th user). Files can contain spaces or others special caracters. All the files are in the same filesystem, and i want to use hard link because i don't want to waste 5 time the space of a single file. I tried with find but i cannot handle spaces in it.

View 1 Replies View Related

Hardware :: Master Hard Disk Error After Installing Ubuntu 8.10 / Hard Disk Died

Apr 8, 2009

after installing Ubuntu on one WD 500 GB hard disk and after making mistake and pasting wrong code into Terminal:my OTHER WD 500 GB hard disk that was also in the system (I guess it was "hd1") - died.The problem must be, I guess, I typed wrong code: "hd1,1" instead of "hd0,0".)500 GB (NTFS) of data was on that other (non-Ubuntu) hard disk, and now I can not access it anymore. While booting, system gives "Hard Disk Error" warning and stops.One again: I installed Ubuntu od one hard disk and at the end of instalation I pasted wrong code for GRUB, giving address of another hard disk. Now that other hard disk has error and will not work

View 3 Replies View Related

Hardware :: Adding Second Hard Disk With Windows To Boot With Grub On First Hard Disk

Jul 7, 2009

I have a sata 320 gb with mandriva linux 2009.1 on it.And it is what curently atached to my cpu. It is shown as 'sda' in the partition table.I also have another 40gb hard disk with windows xp installed on it.It is shown as 'hda' in the partition table . Now what i want to do is attach this 40gb hard disk to my pc and configure grub on my 320gb hard disk('sda') so as to boot windows xp(which is residing on the second hard disk,'hda')Can anyone tell me if what im doing is feasible or not? If it is feasible,can anyone suggest me how to get it working. I know i just need to add 2-3 lines to my grub.conf, but dont know what exactly i need to write.

View 3 Replies View Related

General :: Changing GRUB From An External Hard Disk To The Internal Hard Disk?

May 14, 2010

I had a dual boot (windows 7 + debian), both of them installed in my internal hard disk, with the GRUB in it. I have recently installed a second linux distro (mint), but I put it in an external hard disk. Now the GRUB allows me to boot any of the three operating systems, but I need the external disk to do it. It seems that after the mint installation the GRUB is now working from the external disk (if the external disk is not connected, the machine does not boot.) �Is there a way to change the location of the GRUB, to the internal hard disk of my laptop?

View 2 Replies View Related

Ubuntu Installation :: AMD AHCI RAID Disk Not Detected?

Mar 10, 2010

I want to install Ubuntu x86_64 or x86 to my computer.

I used Dekstop and Server Editions on other machines, installed succesfully but i could not install Ubuntu to my computer.

My hardwares are;

AMD Phenom II X4
Gigabyte GA-MA790GP-DS4h [SB750 - AMD AHCI Compatible RAID Controller]
2 x 250GB Seagate ST3250410AS @ Raid0

I installed Windows succesfully and i created 50GB partition for Ubuntu.

I tried to install Ubuntu, but disks are not detected in partition managing screen.

how can i install ubuntu?

View 5 Replies View Related

Hardware :: Check Hard Disk For Errors. Possible Hard Disk Failure?

Jun 21, 2011

I was using Terminal and browsing a directory in my home folder. My "home" directory is located on "/dev/sdb1". When in Terminal I typed "ls" in one of my directories and the output was garbage. The output didn't show the files in the directory. I think it said something like, "input/output error". Unfortunately, I didn't write the exact error down. Instead I rebooted.The hard disk with the problem is:

Code:
$ sudo hdparm -I /dev/sdb
[sudo] password for brian:

[code]...

View 6 Replies View Related

Ubuntu Installation :: How I Removed RAID Metadata From Hard Disks

Oct 18, 2010

I had a couple of IDE hard disks that had previously been set up as a RAID1 array.I wanted to re-format and use them as separate independent hard disks but Ubuntu reported that they were part of a RAID array.This is how I removed that RAID metadata from the drives.With both drives connected I booted up Ubuntu 10.10 Live CD.

I checked the device names via System, Administration, Disk Utility - they were listed as /dev/sda and /dev/sdbI also noted that there was an extra device with name of /dev/md-0 which was the RAID array.Then I rebooted the PC, and checked the device names via System, Administration, Disk Utility - no more /dev/md-0 and the two drives no longer showed as part of a RAID array.

View 2 Replies View Related

General :: Ubuntu 9.10 Installation Insists For RAID Hard Drives

Jan 29, 2010

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.

View 14 Replies View Related

Ubuntu Installation :: Boot Disk Image For Install On AMD RAID PC?

Sep 3, 2010

I tried installing Ubuntu 10.04 WS on my PC but it did not see any disks to install on. I believe this is because my drives are all configured as RAID. My mobo is an Asus M3A78-EMH HDMI AM2+ socket with an Athlon 2X 5000+ CPU. The chipset is AMD 780G. I have the BIOS configured for RAID drives and I already run Win XP x32 and Win 7 x64 on it. My boot drive is configured as 'RAID READY' and I have 2 RAID 1 disks consisting of pairs of SATA drives.

From what I have researched it seems that with some tuning it should be possible to install Ubuntu 10.04 but I have little Linux experience and don't want to mess up my existing drives. I have installed Linux before a few times and run it but never with RAID. Is anyone aware of an existing disk image that I will be able to install from on my system or would it be possible for someone to create one for me to use?

View 4 Replies View Related

Ubuntu Installation :: Upgrade To 9.10 Failed; Can't Boot And Have Encrypted RAID Disk?

Feb 23, 2010

I was running Ubuntu 9.04 Desktop on a headless Pentium 4 machine which is our file, mail, web & fax server. The two x 250GB SATA hard disks were in a RAID 1 array with full disk encryption. Ran the 9.10 upgrade via WEBMIN and it failed. I should have known then to copy over everything to a backup disk, but instead I rebooted.

On restart the machine accepted my encryption passphrase but promptly hung with a mountall symbol lookup error - code 127. So I can't start the machine to get at the disks, and using a Live CD is useless as it has no way to open the RAID array to get at the encrypted partitions. Although we have data backed up (as at last night) I'd hoped not to have to rebuild the entire server from scratch. But its looking bad.I have taken one drive out and plugged it into another machine (Hercules), and the partitions show up as /dev/sdb1 /dev/sdb2 /dev/sdb3.

If it weren't for RAID, I could open /dev/sdb2 the main partition) in Disk Utility and enter my encryption passphrase to get access. But RAID adds a layer of obstruction that I have not yet overcome. I used mdadm to scan the above partitions and created the /etc/mdadm.conf file, which I edited to show the 2nd drive as missing (rather than risk corrupting both drives). I activated the RAID array with mdadm, and cat shows:

Code:
root@HERCULES# cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sdb3[0]
1815232 blocks [2/1] [U_]

[Code]...

I've been searching the web for hours but have yet to find someone with a solution to this situation. If anyone has a thought on how to access this disk I'd be pleased to hear from you. In the meantime I will start building a new (9.10) machine from scratch, without RAID, 'cos that's probably going to be necessary.

View 1 Replies View Related

General :: Use Hard Disk Image Like A Regular Hard Disk?

Apr 6, 2010

If you have a hard disk image (including partition table, multiple partitions,...), is it possible to let Linux treat it as a regular hard disk?

By "regular hard disk" I mean I would like to have the image show up as, for instance, /dev/hdx and its partitions as /dev/hdx1,...

(I know I can mount one of the partitions in the image using "mount -o loop,offset=x ..." but I don't really like this option.)

View 2 Replies View Related

Ubuntu Servers :: HW RAID Disk Shows Up In Fstab But Not In /dev/disk/by-uuid?

Jun 28, 2010

I have an SiI hardware SATA RAID card, with two 500GB disks in mirrored RAID configuration. When I first plugged them in and set it up, things seemed to work ok, but on boot the raid controller told me that the RAID needed rebuilding, and it would happen automatically after POST. So I didn't worry about it, and the drive mounted fine, and it's been that way for years. I just went in and manually on-line rebuilt the RAID in the controller's BIOS, and now when I boot into Ubuntu, both disks show up in fdisk, but neither show up in /dev/disk/by-uuid. Am I missing something?

View 9 Replies View Related

Debian Installation :: Grub Rescue - Will Not Boot From Mdadm RAID - No Such Disk

Sep 19, 2014

I am running a 14 disk RAID 6 on mdadm behind 2 LSI SAS2008's in JBOD mode (no HW raid) on Debian 7 in BIOS legacy mode.

Grub2 is dropping to a rescue shell complaining that "no such device" exists for "mduuid/b1c40379914e5d18dddb893b4dc5a28f".

Output from mdadm:
Code: Select all    # mdadm -D /dev/md0
    /dev/md0:
            Version : 1.2
      Creation Time : Wed Nov  7 17:06:02 2012
         Raid Level : raid6
         Array Size : 35160446976 (33531.62 GiB 36004.30 GB)
      Used Dev Size : 2930037248 (2794.30 GiB 3000.36 GB)
       Raid Devices : 14

[Code] ....

Output from blkid:
Code: Select all    # blkid
    /dev/md0: UUID="2c61b08d-cb1f-4c2c-8ce0-eaea15af32fb" TYPE="xfs"
    /dev/md/0: UUID="2c61b08d-cb1f-4c2c-8ce0-eaea15af32fb" TYPE="xfs"
    /dev/sdd2: UUID="b1c40379-914e-5d18-dddb-893b4dc5a28f" UUID_SUB="09a00673-c9c1-dc15-b792-f0226016a8a6" LABEL="media:0" TYPE="linux_raid_member"

[Code] ....

The UUID for md0 is `2c61b08d-cb1f-4c2c-8ce0-eaea15af32fb` so I do not understand why grub insists on looking for `b1c40379914e5d18dddb893b4dc5a28f`.

**Here is the output from `bootinfoscript` 0.61. This contains alot of detailed information, and I couldn't find anything wrong with any of it: [URL] .....

During the grub rescue an `ls` shows the member disks and also shows `(md/0)` but if I try an `ls (md/0)` I get an unknown disk error. Trying an `ls` on any member device results in unknown filesystem. The filesystem on the md0 is XFS, and I assume the unknown filesystem is normal if its trying to read an individual disk instead of md0.

I have come close to losing my mind over this, I've tried uninstalling and reinstalling grub numerous times, `update-initramfs -u -k all` numerous times, `update-grub` numerous times, `grub-install` numerous times to all member disks without error, etc.

I even tried manually editing `grub.cfg` to replace all instances of `mduuid/b1c40379914e5d18dddb893b4dc5a28f` with `(md/0)` and then re-install grub, but the exact same error of no such device mduuid/b1c40379914e5d18dddb893b4dc5a28f still happened.

[URL] ....

One thing I noticed is it is only showing half the disks. I am not sure if this matters or is important or not, but one theory would be because there are two LSI cards physically in the machine.

This last screenshot was shown after I specifically altered grub.cfg to replace all instances of `mduuid/b1c40379914e5d18dddb893b4dc5a28f` with `mduuid/2c61b08d-cb1f-4c2c-8ce0-eaea15af32fb` and then re-ran grub-install on all member drives. Where it is getting this old b1c* address I have no clue.

I even tried installing a SATA drive on /dev/sda, outside of the array, and installing grub on it and booting from it. Still, same identical error.

View 14 Replies View Related

Fedora Installation :: Install F13 On A Server That Has A 2-disk RAID Setup In The BIOS?

Jul 8, 2010

I'm attempting to install F13 on a server that has a 2-disk RAID setup in the BIOS. When I get to the screen where I select what drive to install on, there are no drives listed. The hard drives were completely formatted before starting the 13 installation. Do I need to put something on them before Fedora will install?

View 3 Replies View Related

Ubuntu Installation :: 10.04 Can't See Hard Disk?

May 11, 2010

I'm trying to install Ubuntu 10.04 amd64 on a system I recently built that currently has Windows 7 installed.

Strangely, when I booted from the install disk, I got an unrecoverable error. [URL] said in that case, try to install from a live session, so I did that.

Live session install worked fine until I got to the partitioning section of the setup. Nothing displayed in the partition space and all my partition options were greyed out!

I have tried several things. I tried booting from my Lubuntu 32 bit that I know works (running on my laptop), it could not detect the hard disk either.

I tried booting into Windows 7 and shrinking the partition in the Windows partition manager and seeing if Ubuntu's installer would detect the space that way...no such luck.

cfdisk would not work either. Gave a big fat cannot access the disk error.

fdisk -l displays nothing. Gparted from the live session is a no-go as well.

BTW, relevant hardware:

GIGABYTE GA-770TA-UD3 AM3 AMD 770 SATA 6Gb/s USB

Western Digital Caviar Blue WD5000AAKS 500GB 7200 RPM SATA 3.0Gb/s 3.5" Internal Hard Drive -Bare Drive

I wouldn't think that Ubuntu should have a problem detecting this...

View 4 Replies View Related

Ubuntu Installation :: Can't See Hard Disk

Oct 26, 2010

I have a problem with seeing the partitions from a hard disk in ubuntu after installing updates. I installed the fresh 10.10 x64 desktop edition yesterday and I could've seen everything from the live CD. I think that it started to be missing after installing about 65 updates (those were the recommended updates).

In windows 7 everything is fine. I can see every partition like this:

Disk 0 and Disk 2 are basically the same (SATA) and Disk 1 is a rather old ATA drive, but in Ubuntu I can only see the partitions from the Disk 1 and 2. Ubuntu is installed to the 93.13 GB partition on Disk 2. Grub is installed to Disk 1 and it is the first boot device (not sure if this matters). The partitions from Disk 0 are not displayed on the Places menu bar.

After typing:

Code:
sudo fdisk -l

It only displays some info about Disk 1 and partition Storage and then hangs. The hdd led is lit constantly. It doesn't even display the info about the partitions on Disk 2, even though if I can browse those two partitions. And when I want to reboot, the ubuntu logo displays but it hangs there and I think that this is due to this problem with the hdd recognition.

View 2 Replies View Related







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