Ubuntu Installation :: Moving An Existing System Disk To An ICH10R RAID1?

Mar 12, 2011

I've read many of the postings on ICH10R and grub but none seem to give me the info I need. Here's the situation: I've got an existing server on which I was running my RAID1 pair boot/root drive on an LSI based RAID chip; however there are system design issues I won't bore you with that mean I need to shift this RAID pair to the fakeraid (which happens to most reliably come up sda, etc). So far I've been able to configure the fakeraid pair as 'Adaptec' and build the RAID1 mirror with new drives; it shows up just fine in the BIOS where I want it.

Using a pre-prepared 'rescue' disk with lots of space, I dd'd the partitions from the old RAID device; then I rewired things, rebooted, fired up dmraid -ay and got the /dev/mapper/ddf1_SYS device. Using cfdisk, I set up three extended partitions to match the ones on the old RAID; mounted them; loopback mounted the images of the old partitions; then used rsync -aHAX to dup the system and home to the new RAID1 partitions. I then edited the /etc/fstab to change the UUID's; likewise the grub/menu.list (This is an older system that does not have the horror that is grub2 installed) I've taken a look at the existing initrd and believe it is all set up to deal with dmraid at boot. So that leaves only the grub install. Paranoid that I am, I tried to deal with this:

dmraid -ay
mount /dev/mapper/ddf1_SYS5 /newsys
cd /newsys

[code]....

and I get messages about 'does not have any corresponding BIOS drive'. I tried editing grub/device.conf, tried --recheck and any thing else I could think of, to no avail. I have not tried dd'ing an mbr to sector 0 yet as I am not really sure whether that will kill info set up by the fakeraid in the BIOS. I might also add that the two constituent drives show up as /dev/sda and /dev/sdb and trying to use either of those directly results in the same error messages from grub. Obviously this sort of thing is in the category of 'kids don't try this at home', but I have more than once manually put a unix disk together one file at a time, so much of the magic is not new to me.

View 2 Replies


ADVERTISEMENT

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

Fedora :: Adding Second Drive To Existing System For RAID1?

Jul 31, 2011

I have an existing Fedora 15 system installed from scratch.I've ordered a harddrive identical to my SDA and want to add it to my existing system as a RAID1 setup.I've googled around and cannot find recent clear instructions how to accomplish this. I don't want to reinstall everything from scratch. It should be possible to create the RAID1 using the existing data disk and then mirror everything up?

View 1 Replies View Related

General :: Migrate An Existing System With RHEL5 OS To RAID1?

Mar 7, 2011

I am trying to migrate my existing system with one IDE disk , tools installation already done... without loosing informations and having to install once again every things, to RAID1 (soft) with a second IDE disk I tried to do this using somme informations given on forums but i always have a kernel Panic at the end of boot What I did:

The system is going down for system halt NOW!
login as: root
root's password:
/usr/bin/xauth: creating new authority file /root/.Xauthority

[code]....

View 8 Replies View Related

Ubuntu Installation :: 10.10 Install: Dmraid Doesn't See Second Disk Array On Ich10r?

Oct 11, 2010

I've googled my problem but I'm not sure I can find an answer in layman's terms. So here's my noob, simple question, please answer it in semi-noob-friendly terms I've been trying to install ubuntu for a while on my desktop pc. I gave it another go with 10.10 but I always have the same problem:

I've got two raid sets connected to an ich10r chip and they work fine in windows (2 samsung 1to + 2 raptors 75gb). Upon installation, dmraid only sets up the first raid set (Samsung array) but not the second one (Clean raptors intended for ubuntu). I don't have any other installation option, all my sata connectors are unavailable. So, is there a manual install solution? Can I force dmraid to mount the second raid set and not the first one? I think I read somewhere that this was a dmraid bug, but I can't find it anymore.

View 8 Replies View Related

Ubuntu Installation :: Moving System Partition - Back To Front Of The Disk

Jan 1, 2010

Currently, my disk layout is: 20GB(windows-ntfs) / 250GB data-ext4 / 20GB ubuntu-ext4 / 4gb swap

Since I no longer use windows, I want to move ubuntu to the first place.

What do I need to change in configuration files, grub and anywhere else?
Shoudl I keep swap where it is or move it, too?

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

Slackware :: Intel ICH10R With 6xSATA RAID 5 With 1 Spare Disk?

Aug 4, 2010

I want to build a 6xSATA RAID 5 system with on of the disks as spare disk. I think this give me a chance of 2 of 6 disks failing without losing data. I am right? Hardware: Intel ICH10R First I will creat a 3xSATA RAID 5, after I will add the spare disk and after that I will add the others disks. This is what I think I should do.

[code].....

EDIT:I'm thinking in put LVM with the RAID 5. What are the advantages and disadvantages of it (LVM over RAID 5). It is safe? My MB (Asus P5Q) have Chipset Intel P45 ICH10R. What kind of RAID have it? Hardware RAID, fake RAID, BIOS RAID, software RAID? This are the specs of storage

[code].....

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

Slackware :: Moving RAID1 Drives Into Computer With Same Md Numbers?

Feb 12, 2011

My old workhorse computer's motherboard died yesterday, and I want to get everything off of its RAID1 array. I have a backup on an external drive but it's a few weeks old and I'd like to make sure I've got everything.

The old machine ran Slackware 12.1, and had a 2-drive IDE 250GB RAID1 array with partitions:

md0 - swap
md1 - /

The new machine has Slackware 13.1, and also has a 2-drive SATA 250GB RAID1 array with partitions:

md0 - /
md1 - swap
md2 - /home

I put the IDE drives from the old computer into the new one. I'm not sure how to get the old array going now. I'm not sure if I should use mdadm with --assemble (since the array was already set up before) or with --create (because the array needs to be renamed so it doesn't clash with the new computer's md1). I'm thinking I should use --create and give the old md1 a new name (md3). But I'm not sure if anything bad will happen if I use --create on an array with data on it.

Output of mdadm -Esv:

Code:

ARRAY /dev/md0 level=raid1 num-devices=2 UUID=9a0cc71f:df5e59d9:50e7b281:3adcc49f
devices=/dev/sda1,/dev/sdb1
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=698c321a:8008c659:d8c7deeb:c1dd303c

[code]....

The old drives are the last two entries, sdc and sdd. It's odd that the order is reversed. I had (non-RAID) Windows partitions on both drives and I've mounted them and verified that the drives are on the IDE cable in the right order, and sdc is the original 1st drive of the array, and sdd is the 2nd drive of the array.

View 1 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 :: Overwrite The Whole Disk - Recognize The Existing Partitions?

Jan 8, 2011

I have reinstalled XP and conseqently messed up Grub and lost Ubuntu. I am trying to do a fresh install but the installer insists on trying to overwrite the whole disk. I downloaded the alternate instal ISO as this has got over this problem in the past but this also wanted to overwrite the whole disk. It recognises the Sata Raid array as being nfts (this is my main data disk) but it doesn't recognise the existing partitions on my main disk:

18G windows
18G Old Ubuntu
113G nfts data disk

View 8 Replies View Related

Debian Installation :: Install Jessie Alongside Win8 On Existing LUKS / LVM Disk

Sep 8, 2015

I'm trying to upgrade my Win8/Wheezy 64-bit machine to Jessie 8.1 by installing from the amd64-bit netinstall iso image on a USB flash drive. I had done the previous, Wheezy, install on a disk partition that was whole-partition LUKS/LVM drive, with separate logical partitions for swap, root, and home.

Before doing the upgrade, I booted to the BIOS to ensure that my UEFI system had the correct, CSM and Legacy modes enabled in it, so that installer would boot using the non-efi BIOS mode.

Step one of the upgrade was to boot the netinstall and enter the rescue mode so that I could manually do the cryptsetup/LVM business. When I returned to the installer, I mounted the now-recognized logical partitions normally, choosing to format only the swap and / partitions.

During the entire process, I had to go into rescue mode one more time to manually mount the unencrypted /boot partition, along with my /home partition. I copied a backup of my old /etc/crypttab from the latter, and after returning to the installer, finished the install. That finish included installing grub on my hard drive's main boot partition.

Everything seemed to finish with no problems. However, when I try to boot the debian bootloader, I get tossed to grub rescue with the message that '/grub/x86_64-efi/normal.mod' doesn't exist. At this point I returned to the installer, mounted the /boot partition, and saw that there grub-install didn't create that an x86_64-efi directory at all. Instead, it had created an i386 directory. The exact name escapes me at the moment.

I *think* that my install was clean other than the last bit that was related to installing the bootloader. How to reinstall the bootloader in such a way as to make all of this work.

View 2 Replies View Related

Ubuntu Installation :: Reinstall 10.04 LTS Over Existing 10.04 System

Sep 30, 2010

I am starting to have lots of unusual problems show up on my Ubuntu 10.04 install, missing Icons for the Volume Slider, Email Icon, and a Error mounting Static on startup (because I plugged in my Smartdisk FDUSB-TM2 Mitsumi Model #: D353FUE) and it is trying to mount as SDC instead of as a USB Floppy Drive.....and it DOES NOT work as a USB Floppy Drive on 10.04.REF:[URL] I have my system set up as follows:

Code:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

If I boot from the LiveCD again, and Install again from the LiveCD, will all my installed software still be functional, or will I have to re-install, and repeat everything I have done to build my system to date since my system is on / and is a separate partition?

View 6 Replies View Related

Ubuntu Installation :: Setting Up FakeRAID On An Existing System?

Aug 12, 2010

I have 2 750GB harddrives with multiple NTFS and ext3 partitions and have just added two empty 1.5TB drives (with WD Advanced Format Technology) to the computer. I have several external drives of various capacities for temporary data storage. My final objective is to have two mirrored RAID arrays that I can access with both Ubuntu 10.04 and Windows Vista (which I still need for applications that aren't supported by WINE), and I'm trying to find out how to do this.

At the moment, the 1.5TB disks are mirrored in the BIOS settings, and I was able to add a blank NTFS partition to the array using GParted. However, I am now unable to mount any of my partitions (other than the Ubuntu one) and cannot use GParted to copy a partition to the RAID array (I get a generic resource in use message, but I have no other applications open and am opening GParted after a fresh boot).

My Ubuntu install is heavily customized, so I would prefer not to reinstall it if at all possible. If it matters, the OS was not installed as 10.04, but was updated incrementally over time, starting at Hardy Heron. I initially did an apt-get install of dmraid and kpartx after reading [URL]

For some reason, my 750GB drives are recognized as belonging to a broken RAID array even though they are not set up that way in BIOS.

HD configuration:

sda: (I cannot mount any of these partitions )
1: ext3 (Debian Installation)
2: ntfs (Vista Installation)
3: ntfs (Data)

[Code].....

View 3 Replies View Related

Ubuntu Installation :: Wipe Out Existing System And Replace With 11.04

Aug 15, 2011

I'm trying to do a simple install. Wipe out existing system and replace with 11.04 but I can't get past initial screen. Is there a different CD version I need to use? Last year I used 10.04 LTS and it worked fine, this year I wanted to start with the newest and go from there. I use Remastersys to make my own install version for 600+ laptops and I need to be able to wipe out the existing systems without effort.

View 5 Replies View Related

Ubuntu Installation :: 9.10 - Non-system Disk Or Disk Error With Manual Partitions

Apr 9, 2010

This is the third 9.10 install to do this on two different laptops, so wondering what's up...

In both cases, the goal was to leave a large chunk of unpartitioned disk after the Ubuntu partitions, for a second OS install or a filesystem Ubuntu cannot create like NTFS.

When I install with manual partitions, the system can't boot and asks for me to insert a system disk and press any key. When I reinstall telling Ubuntu to "use the entire disk" it then works.

First laptop, first try:

Remainder of the 500GB disk is free space.

Fails to boot, "insert system disk".

First laptop, second try without the /boot partition:

Remainder of the 500GB disk is free space.

Fails to boot, "insert system disk".

"use entire disk" works perfectly.

Second laptop, first try:

Same thing, non-system disk or disk error, insert system disk.

Second try "use entire disk" is currently in progress but I expect the same to happen.

View 3 Replies View Related

Ubuntu Installation :: Lynx X64 On RAID0 Ich10r (dual Boot)

Jun 9, 2010

I've planed to install Ubuntu Lucid Lynx 10.04 x64 on my rig. dual boot setup windows 7 preinstalled Intel ICH10R RAID0 manual partition setup 200mb ext3 /boot 2gb swap 100gb ext4 / GUI installer can see my RAID and allows me to create this partitions manually. But when install begins i'm getting error :

Quote: The ext3 file system creation in partition #5 of Serial ATA RAID isw_dgaehbbiig_RAID_0 (stripe) failed

[Code]...

fdisk -l from Live cd shows me separated HDDs without RAID0 wrap (sda and sdb) Also in advanced section where i can configure boot loader default is /dev/sda, which is part of RAId_0. I'm checking isw_dgaehbbiig_RAID_0 as location for loader, assuming that this would be MBR. am i doing this step right?

View 4 Replies View Related

General :: Raid - RAID1 With Only One Disk

Oct 27, 2010

I have a hypothetical situation in which I installed my operating system using a RAID1 mirror. At some point I decided that this setup was overkill, my machine isn't system critical, I value doubling my storage space more than speedy recovery, I'm doing routine backups, etc...

Short of backing up my system volume and repartitioning, or otherwise starting over, is there a way I can reconfigure my RAID1 array to only expect one disk so that mdadm no longer reports a Degraded state?

View 3 Replies View Related

Ubuntu :: Internal Disk In A Running System Usb-booted System Does Not Result In The System Detecting The Disk

Feb 27, 2011

My system decided to crash on me, hard. It was humming along happily for about 2 months and now doesn't boot. If I boot from hard-disk, I get grub. Launching the first kernel choice hangs. I thought maybe the install was corrupt, so I booted from usb install disk. The usb hdd didn't boot; something about an error trying to access /dev/sda . Unplugging the internal disk and plugging in the usb install disk does result in the system booting. Plugging in the internal disk in a running system usb-booted system does not result in the system detecting the disk.

How do I know if the disk is physically broken? This seems unlikely since it does manage to launch grub consistently. Or is this still possible? How can I try to mount whatever is left? The usb install disk doesn't even list the /dev/sd*. Any pointers on how to reformat the drive if it's not being mounted?

View 1 Replies View Related

Fedora Installation :: Possible To Make Updated Installer DVD From Existing System?

Feb 19, 2009

I have recently installed Fedora 10 in my x86_64 system and fully updated. The updation size was nearly 650MB. My question is can I make a an updated installer DVD from my existing fedora system?

View 8 Replies View Related

Fedora :: Resync Two Raid1 Hard Disk In 12?

Jun 9, 2010

I have two 80 GB IDE hard disk. I have create raid1 partition in both drive using [URL] ink. raid is working fine. But i have copy some data on one hard disk (md0) but this data is not autometically copy in second hard disk(md1). I want when data is write on one hard disk, this data autometically write in second hard disk.

View 11 Replies View Related

Fedora :: RAID1 - Installing Grub On 2nd Disk?

Dec 7, 2010

Just finished installing F14 with RAID1 setup for 2 hdd (SATA''s). Entire drives are mirrored, including SWAP. As I had done in the past, I was planning on installing grub on MBR of 2nd hdd. In prep for this I did the following to locate the grub setup files:

grub> find /grub/stage1
find /grub/stage1
(hd0,1)

[code]....

I was surprised, expected to get (hd0,0) & (hd1,0), not (hd0,1) & (hd1,1)

running "fdisk -l" I get:

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes

[code]....

MBR is the first 512 bytes of the drive. Each partition has a boot sector. In my case grub stage 1 is on 2nd partition of sda & 2nd partition of sdb. What i dont understand is how grub stage 1 can be on sda2 & sdb2, since I am assuming that sda1 & sdb1 would be the first partitions of the drives & therefore contain the MBR's. Maybe this might be because sda1 & sdb1 are SWAP partitions?

View 5 Replies View Related

Software :: Converting From RAID1 To A Single Disk?

Apr 5, 2011

I recently had an issue where one of my RAID1 configured drives died on a Debian box. By die, I mean after post, I am presented with a black screen and flashing cursor, nothing more. I booted into a knoppix shell and did:

mdadm --assemble /dev/md0 --run -u <UUID of the only working drive> /dev/sda1

I could then 'mount /dev/sda1 /mnt/' and see all the contents as I should be able to. However, I cannot boot from this device by itself for some reason. I have reinstalled grub 'grub-install --recheck --rootdirectory=/mnt /dev/sda1' #something like that, can't remember the exact --rootdirectory command without the switch. I restarted, with the failed drive unplugged, and again, I'm faced with the black screen, flashing cursor.

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

Debian Installation :: Upgrade / System Broken After Moving To 3.16 Kernel

Apr 28, 2015

I got a rather big problem since an attempt to upgrade.My debian version is 8.0.I upgraded when apt proposed the change. I did that in two steps, with apt-get upgrade and then apt-get dist-upgrade, with the installation of a new kernel. I moved from 3.2.0-4-686-pae to 3.16.0-4-686-pae.Since the upgrade, I can't boot my system any longer.During the boot sequence, this message appears with a countdown (it's copied by hand) :

Code: Select all(1 of 4) a start job is running for dev-disk-byX2du

At the end of the countdown, the boot sequence starts again, and ends up on an invite to log in as root in rescue mode. I can't connect (maybe due to some azerty/qwerty issue, I got a French keyboard. I tried to type in "qwerty mode", with no success (the password is not prompted)).I can connect with the 3.2 kernel however, selecting it form the grub interface. I can't log in in rescue mode either, but with this kernel the boot sequence goes on and I can log as a regular user or as root, at the end of the boot sequence. There is no X, but the system seems to work.What could I do to make the system boot properly with the new kernel, or to go back to the 3.2 version ?

View 14 Replies View Related

Fedora Installation :: F12 (Install Or Upgrade Existing System) Sony Vaio

Jun 22, 2010

I've had such good luck with Fedora (and this Forum), I'm attempting to put F12 on wife's brand new Sony Vaio, a VPCEB11FM, a 64bit system. I downloaded the Fedora-12-x86_64-netinst.iso, made sure it was ok with sha256.exe, then burned the image to DVD. Booted it up and let it default to "install or upgrade an existing system". It dead-ended in a dark blue or black screen. I re-started and examined the other options. Thought I'd try the one that says: "Install system with basic video driver". Got all the way through to where it got ready to start downloading files. Can't get past that point because it attempts to get to the Internet using the Sony's wireless card! Why would it try the wireless when there's a wired NIC card in this PC that requires no special driver etc. How to proceed from here?

View 3 Replies View Related

General :: Difference Between Raid1 And Ordinary Hard Disk?

Jun 8, 2011

Is there a difference between raid1 and ordinary hard disk?

View 11 Replies View Related

Debian Installation :: Non-system Disk Or Disk Error ?

Jan 22, 2011

After installation of debian, using the squeeze net-installer, on a HP elitebook 6930P, i get the following error. "non-system disk or disk error"

It is right after boot process, and just when it should load grub. Grub is installed in the MBR. Windows7, is installed as well, and is not an option to remove. (Should not be the problem though).

/ is set with the bootable flag.

The installation went without any issues, and I have actually tried to install twice with the exact same thing.

View 6 Replies View Related







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