Ubuntu Installation :: LVM And Software RAID - Moving Data

Jan 4, 2011

I have a Linux installation that currently uses a 40GB hard disk. It is partitioned as follows:

Code:

The disk has recently started to make a lot of noise, so I'd like to replace it before I lose data.

I have a pair of identical 160GB blank hard disks that I would like to use as a software raid1 array (The existing 30-odd GB root partition would be resized to fill the new disks).

How I could get the data on to the new hardware without losing anything?

View 9 Replies


ADVERTISEMENT

Ubuntu Installation :: Moving From OpenSUSE With Raid

Apr 9, 2010

I have run Ubuntu in the past and then switched to OpenSUSE several months ago and set up raid 0 on a 500gb hard drive and 700gb hard drive (I went with openSUSE because of the graphical raid setup.)

My whole partition setup looks like this:

500gb Hard Drive:

750gb Hard Drive:

md0 is the two 400gb partitions on each drive for a total of 800gb space on my /home partition ext4 filesystem ( 380gb space used ) md1 is 100gb ext4 / partition.

all raid 0

Now I was wondering if I downloaded the alternate install cd for ubuntu ( as OpenSUSE has crashed for the second time because of bad updates ( starts, but gets to terminal only ) ) would I be able to keep my raid 0 home partition and wipe the rest of the each drive and setting up Ubuntu keeping all of my files and settings intact, just to install my programs I need all while keeping my old settings ( such as firefox bookmarks, virtual box utilities etc. ) intact.

From what I know it's possible, but I don't know much about the Ubuntu Alternate install disk ( as I have been dealing with dependancy hell on OpenSUSE ) but in OpenSUSE it wont let me keep the old raid setup ( md0 ) Im guessing it is possible to set up the home directory on a different hard drive and then going back into the live cd, editing the fstab, and switching it to md0, if this is even possible, or would I need to configure the driver on that system before I did that Oh and I forgot to mention that I've only been running 64bit operating systems.

System Specs: AMD Dual core at 2.8ghz ( overclocked, stable, cpu ran at full bore for a day. only reaching 120f) Nvidia 9600 gso 368mb ram, 4gb ram at 800mhz

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

Ubuntu :: 3TB HD (with Data) Expanding To 3x3TB RAID (without Losing Data)?

Jul 27, 2011

Right now I have a 320GB system drive and 3TB data drive. I want to add two more 3TB drives and do a software RAID5 3x3TB. Is that possible without losing the data that is already on the data drive?Just want to make sure before I bought the 2 two drives. Not looking for instructions on how to do it,but if you want to include some that would be great too Just making sure it will work.

View 1 Replies View Related

Hardware :: RAID - Create RAID 1 Without Deleting Data?

Jul 18, 2009

how can I create RAID 1+0 using two drives (one is with data and second one is new). Is it possible to synchronize data drive with empty drive and create RAID 1+0 ?

View 3 Replies View Related

Ubuntu :: 10.10 Mdadm RAID - Moving Device Names ?

Mar 25, 2011

I'm having trouble with Ubuntu 10.10 and stable device names. When I installed Ubuntu, the root drive was the only one in the machine; it obviously got /dev/sda.

After the base installation, I installed three additional 2TB drives to make RAID-5 array. Ubuntu renamed the root drive to /dev/sdd. While annoying I lived with it.

After creating a single partition set to "Linux raid autodetect" on each drive, I created the RAID-5 array:

Code:

All was going well until a reboot. When rebooting Ubuntu decided to make the root drive /dev/sda this time and now mdadm --detail /dev/md0 reports:

Code:

How to fix the array and make the device names stable?

View 1 Replies View Related

Ubuntu Servers :: Moving Raid System To A New Host?

Aug 3, 2011

A while back I successfully set up a software raid (mdadm) install of ubuntu server on a cheap Compaq machine. I'm pretty sure it's running an nForce 430 chipset. Anyway, I put 3 2TB drives in it and set up two arrays: a small raid1 array for /boot and a raid5 array occupying the rest of the drives.

One point of note here is that the raid1 array never seemed to "take hold": the partition is empty, and the system has been booting entirely from the raid5 array. I'm not sure if this is relevant or not: just throwing it in there in case it is.

Anyway, I recently upgraded my desktop PC, and planned to hand down the Q6600 and DG33TL motherboard from it to the server. I did the hardware upgrade, but now the system will not boot. My question is: why.

Boot fails with the following error message:

"No bootable device -- insert boot disk and press any key"

This to me suggests that it's not even getting to the point of running grub2: the mobo itself just isn't finding anything it considers to be bootable.

I've tried all combinations I can think of of configuring the SATA support in the BIOS (modes include IDE, ACHI and RAID, all in combination with UEFI boot enabled and disabled). The system does detect the three drives: it lists them in the BIOS config screen.

I've booted from an ubuntu rescue USB drive and I'm able to see the drives and even assemble the array. I can mount the LVM partitions therein and do what I'd normally be able to do with them.

Everything *seems* fine: it just can't boot.

Grub2 is something of a mystery to me, so I'm not exactly sure what I need to do to get it booting again, if indeed it is a problem with grub.

View 9 Replies View Related

Hardware :: Moving RAID Array To A New Machine?

Sep 29, 2010

I had Ubuntu 10.04 on a machine with SilImage and 3Ware raid controllers (Fakeraid) working in it just fine. Built a new machine with 10.04 as well then moved the whole array across (Cable for cable etc. - NO changes). The new machine 'sees' the controller and 2 drives per card in Disk Utility - all looks good, BUT the array does not seem to work as an array. Obviously the drives are full.

View 7 Replies View Related

Red Hat / Fedora :: Moving Install From Single Disk To RAID 1

Oct 27, 2009

If you want a full run down as to WHY I want to do this, read here: webhostingtalk.com/showthread.php?t=899909Basically, my ISP could not get my server running stable on a simple raid 1 (or raid 5) so what it came down to was having them install my system on a single disk. I don't exactly like this, main reason being, if the system (or HDD) crashes, I'll end up with another several hours of down time..

View 1 Replies View Related

Ubuntu :: Moving The Opera User Data?

Apr 23, 2010

I was wondering if there is a program or just a simple copy and paste from somewhere that will allow me to move my favorites and other data from my opera on xp.

View 3 Replies View Related

Ubuntu :: Moving Data Between Ext3 And Ext4?

Aug 31, 2010

I have a drive with ext3 that was my old /home drive.When I moved to 9.04 I went with ext4 and just linked to my old home drive.My old ext3 drive is becoming unstable so I want to back it up.I have a 500gb ata drive (unfortunately not a sata drive) thatto wipe and put 10.04 on. I want to move my data from this backup driveIm going to back up to, to the new 10.04 until I get another hd as abackup drive.My question is, I know there is some issue between ext3 and 4 and I dontwant to get into a bind. What would be the best format for moving

View 3 Replies View Related

General :: Moving Data Contained Within Swap To RAM?

Dec 13, 2010

I have 5.8GB of RAM.
I have 6.1GB of swap.

At some point in time my VMs exceeded the 5.8GB limit and overflowed into swap (all dev VMs). I have since shut down the VMs and restarted Firefox (memory hog). Right now I have 0.73GB in RAM and 0.29GB in swap. I want to move all of the data in swap into RAM where it will be faster. So I will end up with 1.02GB in RAM and 0GB in swap. Is there a quick command to move data contained within swap to RAM? I know of the swapon/swapoff command. I was wondering if there was another method which clears swap.

View 6 Replies View Related

General :: Moving Data From Tape To System Directory?

Feb 10, 2011

I need help writing a script that will copy everything from tape to system directory. I have a Linux box with 3 TB of Hardware space. I am using the following commands

1) mt /dev/st0 rewind

2) tar xvf /dev/st0

3) tar xvf /dev/st0 fsf 1 (Using this to move to the next segment of the tape) and then

4) tar -xvf/dev/st0

I keep repeating steps 3 and 4.

View 5 Replies View Related

Ubuntu :: Recovering Some Data From Raid 0?

Aug 11, 2010

So I've pulled two hard drives out of my busted windows xp system (dead mb) and I'm trying to get some data off of them. The drives are in raid 0, so my friend told me that I might be able to do something if I use linux. Some late night searching on the internet directed me to a few resources, one of which was this forum. I've tried 2 methods, neither of which have worked.

1. mdadm

ubuntu@ubuntu:~$ sudo mdadm --detail /dev/sdb
mdadm: /dev/sdb does not appear to be an md device

2. dmraid

ubuntu@ubuntu:~$ sudo dmraid -s
/dev/sdb: "sil" and "hpt45x" formats discovered (using hpt45x)!
ERROR: sil: wrong # of devices in RAID set "sil_agafdhcebccj" [1/2] on /dev/sda
ERROR: removing inconsistent RAID set "sil_agafdhcebccj"

[code]....

I've got some files for work that I'd really like to get off there. I've played with unix a bit in college and I've ran ubuntu before, but usually using the GUI, so a lot of this stuff is over my head. But from what I gather, my system thinks that one of the drives isn't a raid drive?

View 2 Replies View Related

Ubuntu :: Raid 1: Does It Destroy Data?

Jul 4, 2011

my question is quite simple and at the same time should even sound weird for people that is used to use raids... but here we go! I have got 2 hard disks that do match in space. I'd like to use mdadm to create a raid 1, the mirror one. Since I don't want to format / erase / delete what's in my primary hard disk (/dev/sda, 3 partitions), how can I replicate its content into /dev/sdb and mirror it with the raid tool? Does something like this work?

- install madam
- fdisk /dev/sdb and replicate sda's partitions (using as filesystem "fd");
- sudo mdadm --create --verbose /dev/md0 --level=mirror --raid-devices=2 /dev/sda1 /dev/sdb1
- sudo mdadm --create --verbose /dev/md1 --level=mirror --raid-devices=2 /dev/sda2 /dev/sdb2
sudo mdadm --create --verbose /dev/md2 --level=mirror --raid-devices=2 /dev/sda3 /dev/sdb3

Do you have any page to point, with the right documentation to achieve a replication of the hard disk without a format of the source disk?

View 3 Replies View Related

Ubuntu :: RAID Data Drive For System?

Apr 7, 2010

I am trying to create a RAID data drive for my system but I am having setting it up since I am a total linux noob.

The system has 3 physical HDD-s:
1. 320 GB (has functional Ubuntu 9.10 installation) attached to a PCI SATA card
2. 2TB on motherboard
3. 2TB on PCI SATA card

I want to create a software RAID1 of disks 2 and 3. So far I have used the Palimpsest Disk Utility:
- Created a GUID Partition table on both disks (2, 3)
- Used File -> New -> Software Array, made sure both my drives were included
- Once Palimpsest listed the RAID Drive as a Software RAID Array, I told it to create Ext3 filesystem on it

Well.. at least thats what I thought I did. At this point I have been able to mount the RAID drive and put files on it. However when I look at its information in Palimpsest, I am told that the drive is not partitioned. Both RAId components /dev/sda1 and /dev/sdc1 are reported to be in Sync, but the RAID Drive's own state is 'Running, Resyncing @ 45%' (and lowly growing).

My questions are: Is this a normal setup or did I do something incorrectly? Why is the drive reporting to have no partition? And howcome I can use it if it does not have a partition? I have found the command line based configurations to be a tad too confusing to follow, so I have tried to stick to graphical tools - is this a hopeless cause in Ubuntu or is it possible to achieve what I want to do without command line? I will list some info on my disks below - perhaps this offers more insight to those of you more familiar with Linux.


Code:
mindgamer@mind-server:~$ sudo lshw -C disk
[sudo] password for mindgamer:
*-disk:0
description: ATA Disk
product: WDC WD3200BEVT-0
vendor: Western Digital

[Code]...

View 7 Replies View Related

Ubuntu :: Mount A RAID Drive Without Deleting Data?

Jun 1, 2010

I had to recently reinstall ubuntu because 10.04 started acting up on me. I reinstalled 9.04 but I don't know how to mount my RAID drive without messing with the data that's already on there. I have the UUID for the RAID but fstab isn't able to find it. I also previously used RAID software but I don't remember which one I used. how to mount my drive so that ubuntu can see it?

View 5 Replies View Related

Ubuntu :: Raid 5 Rebuilt At Instal Lose Data?

Apr 17, 2011

I have 6 drives in raid 5 for data. 2 drives in raid 1 for boot. During install I set my 2 drives as raid 1 and had them formatted. I also told it the 6 drives were raid 5 but did not tell it anything else besides not to format them. When I booted for the first time I found that it was rebuilding the raid 5 and the file system type is unknown.

View 9 Replies View Related

General :: RAID A Drive Already Containing Data?

Aug 13, 2010

I currently have a 1.5TB sata drive connected to my system, with data already on it. In the next few days I am planning to use mdadm to create a raid5 array with another 2 1.5TB drives along with the one I already have. Is it possible to create the raid without losing the data on my current hard drive? Obviously it will be backed up before hand just in case, but it would be nice not to have to restore nearly a TB of data after raid'ing the drives.

View 2 Replies View Related

Hardware :: Recover Data From RAID 0 From Win XP?

Apr 23, 2009

My friend has a DELL DIMENSION 9150 computer with 2 harddisk (250 GB each) in RAID 0 (fake raid) with Windows XP installed. There are a lot of documents and pictures installed - and no backup ever done! I have found some pages regarding recovery data from RAID 0 () but My friend have bought 2 new harddisks(WESTERN DIGITAL 2500AAJS) which is almost the same as the ones inside.

My plan:

1. copy each harddisk
2. replace original HDDs with my copies
3. try to recover
4. change RAID 0 to normal HDD in BIOS
5. reinstall Windows XP

I have some LINUX distros (DSL, SystemRescCD, UltimateBootCD on Live-CD and UBUNTU installed on one other computer) which I can use. I read about "dmraid" and then try to mounting the RAID in a UBUNTU live-CD version...

View 4 Replies View Related

Software :: Set Up RAID For Data Partition?

Jun 22, 2011

I'd like to set up RAID for my data partition.

My data are in /dev/sda5 (ext3).
There's an empty partition /dev/sdb5 (ext3).
I want /dev/sdb5 to be a mirror image of /dev/sda5, the command to invoke should be :

mdadm --create /dev/md0 --level=mirror --raid-devices=2 /dev/sda5 /dev/sdb5

My question is : how to ensure that the synchronization is done by copying data to the empty space and not the converse ?

View 2 Replies View Related

Ubuntu :: Recover Data From RAID 1 Where Partition Table Has Been Deleted?

Jan 12, 2010

I have 8.04 running mdadm raid 1. I selected the wrong drive in gparted and managed to hose my partition tables.

View 7 Replies View Related

Ubuntu Servers :: RAID Arrays Rebuild The Data On The New Drive?

Jun 5, 2010

I have never preformed a rebuild of an RAID array. I am collecting resources, which details how to build an RAID 5 array when one drive has failed. Does the BIOS on the RAID controller card start to rebuild the data on the new drive once it is installed?

View 4 Replies View Related

Ubuntu Installation :: Dual Boot - Win 7 And 10.10 On Raid 0 - No Raid Detect

Nov 26, 2010

I have installed Ubuntu on my m1530 since 8.04 and currently dual boot Win7 and 10.10. I would like to dual boot on my PC, but I have run into a problem. I am not a pro at Ubuntu, but this problem I can not solve by reading forums like I have in the past.

I realize this is a common problem, but I have noticed people having success.

I have a M4A87TD EVO MB with two Seagate drives in Raid 0. (The raid controller is a SB850 on that MB) I use the raid utility to create the raid drive that Windows7x64 uses. I have 2 partitions and 1 unused space. Partition 1 is Windows, partition 2 is for media, and the remaining unused space is for Ubuntu.

I am running ubuntu-10.10-desktop-amd64 off a Cruzer 16GB flash drive that was installed via Universal-USB-Installer-1.8.1.4.

My problem like so many others is that when I load into Ubuntu, gparted detects two separate hard drives instead of the raid. I read that this is because kpartx is not installed on 10.10. I then went in LiveCD mode and downloaded kpartx from Synaptic Manager. Gparted still reported two drives. I opened terminal and run a few commands with kpartx. I received an error. (Forgive me I didn't write it down, but I believe it said something about a communication error. I will try again later and see.)

Currently I am reflashing the Cruzer with a persistence of 4GB. I am not familiar with this process, but I understand that my LiveCD boot will save information I download to it. I decided to try this method because I was going to install kpartx and reboot to see if this made a difference.

I am looking for any suggestions on a different method or perhaps someone to tell me that the raid controller or some hardware isn't supported. I did install ubuntu-10.10-alternate-amd64 on my flash drive, but fail to get past detecting my CD-ROM drive since it's not plugged in. If this method is viable, I will plug it in. I also watched the ..... video were a guy creates Raid 0 with the alternated CD, but it wasn't a dual boot and didn't use a raid controller from a MB.

View 6 Replies View Related

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

Hardware :: Recover Data From Raid 1 Drive?

Oct 17, 2010

I was using a Buffalo LinkStation Duo to store pictures and the OS in the unit failed. As far as I know, the data on the two 1 TB drives is fine, and since Buffalo uses a Linux kernel in their LinkStation and the format is xfs, it should be possible to get the data off if I can mount one of the drives on a Linux box. I've put one of the drives into an external USB enclosure and attached it to my Linux system, but I cannot get the drive to mount, probably because it is one element of a Raid 1 array.

Most of what I can find on the Web concerns setting up a new Raid array, not creating an array around a drive that already contains data. I have installed mdadm, and I'm running Mint Linux release 9 (Isadora) on an Intel box. When I run mdadm -D /dev/sdb or sdb6, the device and the partition where the data is located, it reports that the device does not appear to be an md device. I'm not sure what that means. Any help would be greatly appreciated, as I've got around 13,000 photos on these disks that have no backup (I figured what could go wrong with mirrored copies?).

View 2 Replies View Related

Server :: Creating LVM With Existing Raid - With Data On It

Apr 24, 2009

I have a system that has the following partitions:

Now SDC is a new drive I added. I would like to pool that new drive with the raided drives to give myself more space on my existing system (and structure). Is this possible since my raid already has data on it?

View 1 Replies View Related

Fedora :: RAID 1 - How To Create New Array Without Losing Data

Jan 1, 2010

I have a software RAID array using mdraid that consists of two 1.5TB drives that I use for storage, the array is mounted at /Storage. I am running out of space in the array so I ordered two more 1.5TB drives to create a 4 drive RAID 1+0 array which will be 3TB big. My question is how do I create the new array and not lose any data?

The drives and partitions are sdc1, sdd1, and soon to be sde1, sdf1. I currently have 4 RAID arrays (md0,md1,md2,md3). I think I can create the RAID 1+0 array with the two new drives, copy the data from my current array to the new one, remove the old array, then add the two original drives to the new array. But I wanted to ask on here first to make sure my data doesn't go poof.

View 1 Replies View Related

Hardware :: Access Data On NTFS Disk (RAID 5)

Mar 14, 2010

I am trying to access data that is on a Raid 5 array in Ubuntu... There are 4 installed disks (250gig disks) - 3 of which are setup as a Raid 5 array (the 4th is active but unused). These show up as one large drive (498gig). I have had an issue with the drive where it is no longer allowing Windows to boot - I receive a disk read error on boot (so the OS does not load, obviously!) - what happened was basically I unplugged then replugged in one of the disks which affected the array... I physically reconnected everything as it was, I then had to 'reactivate' the disk in the Raid BIOS... at that point the array seemed OK, was the right size, etc (and was listed as "Optimal" in the Raid BIOS) however, the problem with the disk read error persists.

I have started the machine using Ubuntu v9.10 from a CD (non-destructive mode) and it shows a disk of the right size (ie: on the desktop and in Nautilus it says "498gig Filesystem" ). However, in Nautilus, the disk appears empty with no folders or files on it (even with hidden files shown).... If I view 'Information" for the disk it shows 67gig used space and 399gig free space (which is correct). Also, if I view the disk in Gparted, it shows a disk with about 67gig of used space and 399 free space on a 464gig disk (with 8gig unallocated). One more thing.... when I try the command 'sudo dmraid -tay' it says that there is no raid disk (there are in fact, no drives plugged into IDE or SATA slots - all disk are plugged into the RAID controller card). Anyway, at this stage, I just want to copy the data to a single hard disk if possible and move on.

View 2 Replies View Related

Server :: Mount Raid Device To Recover Data?

Aug 20, 2009

In a nutshell, our RAID 1 array was rendered broken and we were advised that core lib files were missing and the OS needed to be reloaded... a quote from our server host:"The OS is not healthy.This server will need a reinstall.
Libs are missing." This was after having replaced what we though was a faulty /dev/sdb. So they reloaded the OS (Debian 5.0.2 x86_64) on 2 FRESH drives, and installed the old /dev/sda as /dev/sdc once the reload was completed. Here's the output of /etc/fstab on the fresh install so we know what we're working with:

Code:

debian:/BAK# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>

[code]....

The one problem I see myself running into is /dev/md1 and /dev/md2 are currently in use by the new system, so I cannot mount it there. I should also note, reloading the OS is a viable option if needed as we haven't started configuring the server yet. So if we need to reinstall the OS and assign the NEW RAID arrays to something other than /dev/md1 and /dev/md2 then we can do that.

View 3 Replies View Related







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