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
ADVERTISEMENT
Feb 7, 2011
What I want to do is force my DVD burner to use full writing power on the entire surface of a DVD. This should be able to invisibly damage the contained data, and should work on CDs, DVDs and BRDs too (in theory). I don't want to write data over it, so it's not a matter of having a RW disc or a R one. The result I want to obtain is simply an unreadable disc that does not look damaged. Do you know if there's a program able to ignore a disc being already full and perform this task?
View 2 Replies
View Related
Oct 14, 2010
I'm having issue with raid6. I already created a thread in the "Linux -General" forum, but it seems, there is no right audience
[URL]
View 1 Replies
View Related
Aug 10, 2010
I dont want to wipe the whole drive, and i don't want to delete only particular files. I want to completely destroy all data in free space.I've found some articles about secure-delete package for linux that would allow erasing freespace with the command 'sfill,' but I can't find it in the repositories nor through google. This would be ideal but it seems maybe it's debian only.
View 2 Replies
View Related
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
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
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
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
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
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
View Related
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
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
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
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
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
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
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
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
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
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
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
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
Dec 11, 2010
I rebuilt a server and am now trying to recover my large data arrays. The server was ubuntu 10.04lts before. I decided to rebuild it with CentOS simply because I am more familiar with it. I had 2 raid-5 arrays on the old server:4 x 1tb -> md0 5 x 2tb -> md1 The newly built server does not know about these arrays yet. How can I reassemble the arrays without loosing my data? I know the data can still be accessed because booting the server with a live-cd mounts and shows the arrays just fine. Should I boot with a live cd and copy the mdadm config file?
View 5 Replies
View Related
Feb 15, 2010
I've been backing up a lot of my computer data for 2 years now and it has added up to a terabyte, so I went to bestbuy and bought a 1.5 terabyte external hard drive. I went home and I moved all my data on to it.Now it is starting to fail! As soon as I heard clicking noises I copied all the files over back to my original hard drive.
I had alot of personal information on the 1.5 TB hard drive that is failing(it is still working though), and incase when I try to take it back and they restore it, I do not want them looking through my stuff. I have tried the shred command but thats going to take forever just to overwrite one terabyte once.Will a format remove all my personal files from recovery? What are some other things I could try?
View 7 Replies
View Related
Apr 13, 2009
how to set up a boot partition on the first hard drive separate from two RAID 5 configurations on a Supermicro server with 1-750GB hard drive for the boot partition, and 15-1TB hard drives for data. The 15 hard drives are split into two RAID 5 configurations (7 -TB drives and 8 1-TB drives). I will be installing CentOS 5.2, and the 15 Terabytes of data will store data, and the 750GB hard drive(on port 0) will only have the 100MB boot file. I am using 3ware BIOS Manager to configure the first array of 7 hard drives, and the second array of 8 hard drives (1 drive with boot information will not be included in the array).
to recap, picture this: I want to load CentOS on this server. /dev/sda1 (on the bottom left drive) needs to house the boot partition set for 100MB. The remaining 7 drives (the left half, not counting the boot drive) need to be set up as a RAID 5 array. The eight drives on the right (right half) also need to be setup as a RAID 5 array. After I configure this in BIOS, I run the CentOS setup disk in graphical mode. I get to the portion after the Language and keyboard setup where it says "Installation requires partitioning of your hard drive. By default, a partitoning layout is chosen which is reasonable for most users. You can either choose to use this or create your own. Select the drive(s) to use for this installation". The drives listed are:
"sda 5721980 MB AMCC 9650-SE-8LP DISK"
"sdb 1020 MB AMCC 9650-SE-8LP DISK"
"sdc 714218 MB AMCC 9650-SE-8LP DISK"
"sdd" 6675643 MB AMCC 9650-SE-8LP DISK"
When I choose "Remove Linux partitions on the selected drives and create default layout." or any other option, I get different errors. I notice when configuring via text mode I get better options to install. I can't install the boot drive separate from the two RAID configurations?
View 3 Replies
View Related
Oct 23, 2009
I had a fedora 11 on a IDE HDD and a raid 5 with 4 SATA HDD with a rocketraid card 1640 After a crash of my HDD, i try too install a centos 5 on a new HDD and the problem is to install a raid 5 without loosing my datas who are on the raid.
View 1 Replies
View Related
Jan 9, 2011
I've got a raid5 array of 4 disks with ubuntu 8.04 runing on it that is currently still working:
/dev/sda
/dev/sdb
/dev/sdc
/dev/sdd
Smartmontools for /dev/sdc tell that there are 9 sectors pending for reallocation:
Code:
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 9
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 9
And /dev/sdd has increasing number of reallocated sectors (about 1 every couple of minutes):
Code:
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 1735
/dev/sdc has failed a coulple of times this week (but I have always sucessfully readded it to raid5) . But the increasing number of reallocated sectores on /dev/sdd concerns me even more.
I'm affraid that during removal of /dev/sdd and adding new /devs/sdd disk, raid might fall appart. That's why I would try to do it in Ubuntu Live CD:If the raid falls appart (/dev/sdc fails) during the readding of new /dev/sdd disk, I might still remove the new /dev/sdd and return the previous one and assemble the raid with:
/dev/sda
/dev/sdb
/dev/sdd (old one that was previously removed)
Does assembling Raid in Ubuntu Live and adding new disk for /dev/sdd write anything on /dev/sda, /dev/sdb and /dev/sdc in the process of adding /dev/sdd into raid5?
View 2 Replies
View Related
Jun 16, 2011
I have bought a lian li ex-50 raid case with e-sata i have 5 1tb disks in it with raid3 and ext4 format.
Untill now was ok but after upgrade to fedora 14 or 15 that i have tried when i try to copy from or to files the raid collapse and rebuilds data(i dont loose data) .....
I want to take the data from it so i can format it with ext3 or ntfs and use with my server on the network,or if there is any solution with the ext4 format
View 6 Replies
View Related
Jun 4, 2010
If I partition and install Ubuntu on part of my pc's hardrive, would the digital image factory-settings restore feature still be available? If so, and if used, would a factory restore use 100% of the hardrive and erase the Ubuntu install?
View 3 Replies
View Related
May 20, 2011
I'm looking to partition HD to place Ubuntu 11, and not destroy Windows Vista, here's what I see, Allocate drive space,
/dev/sda
/dev/sda1 ntfs 310641 MB unknown
/dev/sda2 ntfs 9428 MB 8346 MB
below that,
Device for boot loader installation
/dev/sda ATA ST3320820AS (320.1GB)
what to do next? *UPDATE: I think my HD is bad, I went ahead with the full install and get; Error: Input/output error during read on/dev/sda. The reason I started this was problems with HD and Vista OS, but after running Ubuntu live CD and being able to see the HD contents which showed Main partition with a boot exclamation and the recovery partition I thought it might be OK still.
View 3 Replies
View Related