Software :: Recovering Data From MD Array (using Knoppix)
Jun 2, 2011
I had a major OS crash (Gentoo) maybe 2 months ago and completely neglected my system. Now I want to recover all my mirror raid data back so that I can restore the system. My plan is this:
1) copy all data so that I can have a backup
2) rebuild system with some HW upgrades
First step is to get the data out. I managed to boot with Knoppix and I have full access to my ext2 partitions. My mistake was to create the mirror partitions and these are not working now. I copied my /etc/mdadm.conf into /etc/mdadm/mdadm.conf in Knoppix and then tried to start the services. This is what I got:
knoppix@Microknoppix:~$ /etc/init.d/mdadm start
knoppix@Microknoppix:~$ /etc/init.d/mdadm-raid start
Assembling MD arrays...failed (failed to load MD subsystem).
I can see the partitions:
[Code]......
These are my current ideas:
1) Can I change the filesystem type from mdraid to ext2 or ext3 safely?
2) How can I mount these raid filesystems so that I can copy my data?
View 2 Replies
ADVERTISEMENT
Jun 3, 2010
Ubuntu 9.10 64bit. Acer Laptop
Using ubuntu 9.10 cd to access laptops hard drive.
foun readme file in /media/disk/mark
opened with openoffice. THIS DIRECTORY HAS BEEN UNMOUNTED TO PROTECT YOUR DATA.
From the graphical desktop, click on: "Access Your Private Data"
or
From the command line, run: $ ecryptfs-mount-private
So I tried a couple of ways...
View 9 Replies
View Related
Oct 29, 2010
I've had software RAID 5 arrays for a while now, so they were set up before a RAID array could be partitioned. I had two separate RAID 5 arrays on the same set of drives. One was for / and the other for /home. I moved the / to an SSD and figured I'd expand the other RAID array by failing a drive, repartitioning it then adding it back in. After repeating for the remaining drives, I could then expand the RAID array to use the full size of the drives.
Partway through the second drive being added back in, the RAID array stopped with a kernel error. The drive I was adding and another drive both showed as failed. I couldn't restart the array so I copied the failed drive (Seagate's SeaTools did show it as faulty, but without SMART being tripped) to a new one and tried again. dd_rescue reported the drive copied correctly but I still couldn't restart the array.
So I tried the old standby of recreating the array. This allows me to start it but the ext3 file system won't mount. So I then tried my script (listed in another thread) to try every combination of drives to assemble the array and mount the file system. Still no luck.
View 2 Replies
View Related
Jun 30, 2011
I recognize that this isn't the typical question, but I have a problem with my OpenSUSE webserver, and I thought I would prevail on the community for some guidance. I have this webserver with an important MySQL db on it. The RAID array seems to have died while I was moving. (did someone drop it? dunno) Now it can't find any boot device. It has 4 old SCSI drives.
So, I know how to mount a IDE or SATA drive as a slave, in a Linux environment to read data off of it (to copy the MySQL files off of it.) But, how do I do that with a SCSI drive? Also, I have an additional (identical) server to the crippled one. What will happen if I just slide one of the scsi drives into the operating server? Is this second identical server going to help me at all? I don't even know what is on it. Can I reconfigure the RAID, so it's not using a drive, and then slide in a disk from the crippled server, and copy the data off of it?
View 2 Replies
View Related
Mar 11, 2009
The HD in my Sony Vaio suddenly won't boot and all attempts to repair it have failed. All I care about at this point is recovering the data, so I tried to access it with Knoppix. After a "dirty drive" error message, I was able to view the contents. The problem is that it seems to only be recognizing the Sony recovery partition and not the Windows/Data partition. The drive size is detected at less than 10 gigs when it is actually 250GB. I am completely green when it comes to Linux. How can I access the data partition so I can back it up to an external USB drive?
View 6 Replies
View Related
Jun 4, 2011
I use Linux but have a computer with windows I use for gaming. It died and put the hard drive into another computer and used knoppix to recover my files. I looked at the ownership of the windows files and the owner is knoppix. Now I am concerned that ownership will not work on my new Windows computer (when I finish building it, that is). Since I don't get into Windows much I have no idea what those permissions should be.
If I copy them with owner knoppix can I even access them in Windows to change the ownership to whatever Windows will accept? If I change the ownership before putting them on a CD with knoppix, can I write the CD? I will have to use the hard drive on the new windows box so will not have access to the files later (unless I also copy them to my Linux computer for safekeeping). At least I know the ownership changes to make with Linux.
View 2 Replies
View Related
Jan 12, 2011
whilst installing knoppix 6.3 to my sda, i clicked use all drive and my sdb drive is showing no files in it? has it wiped them out?
View 1 Replies
View Related
Jul 3, 2011
My machine has dual boot windows xp and ubuntu 10.04. Today accidently i deleted two of my ntfs drive which contained vital projects of my college. Can anybody help me to recover my lost data.
View 1 Replies
View Related
Mar 27, 2011
I've just got a STA/IDE to USB 2.0 gadgetas a quick and dirty way to get data off a HDD Plugged everything in hoping with no particualr reason that it would work like a USB stick. Device notifier spotted drive but wouldn't mount it
Code:
dmesg | tail
[20197.639369] sd 8:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[20197.639373] sd 8:0:0:0: [sdb] Sense Key : Medium Error [current]
[20197.639378] sd 8:0:0:0: [sdb] Add. Sense: Peripheral device write fault
[20197.639383] sd 8:0:0:0: [sdb] CDB: Write(10): 2a 00 00 60 7c cf 00 00 08 00
[20197.639391] end_request: I/O error, dev sdb, sector 6323407
[20197.639397] Buffer I/O error on device sdb6, logical block 8210
[20197.639399] lost page write due to I/O error on sdb6
[Code]....
View 9 Replies
View Related
Jun 1, 2010
I have a DVD that I want to recover. The problem is that it will not mount because it has a small scratch at the beginning of the first track. Is there any way to force mount the DVD and recover at least the unscratched part of the DVD?
View 6 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
May 16, 2010
I was trying to delete a logical drive in windows xp and the damn disk management tool in windows not only deleted my other windows partition but also my linux /data ext3 partition. Now I have a unallocated space in place of these partitions. The data is still there but the entries in the partition table have been removed. So how do I recover my partition. I was trying to use the following tutorial. [URK]
I used the sudo parted /dev/sda -- and then rescue START END command and could get back the /data partition. But it gives me the following error while mounting the partition. mount: wrong fs type, bad option, bad superblock on /dev/sda7, missing codepage or helper program or other error. In some cases useful info is found in syslog - try dmesg | tail or so.
What does this mean. How to I fix this? Also when I try to recover my windows partition using parted it scans for a while and then does nothing. It doesnot ask for writing the lost partition in the partition table. What do I do?
View 3 Replies
View Related
Jul 27, 2009
I started some months ago with Fedora 10, installed (on a barebones hardware package) from a DVD I got with a magazine. I liked it, and it worked fine. When 'Update Available' messages arrived, I installed the updates. When Fedora 11 arrived the same way, I installed that, a few weeks ago, and it, too, was working fine. A few days ago another 'Update Available' message arrived, and I installed it, unfortunately without backing up first. There was a message then that said to restart computer (which was still working fine).
I restarted the computer, and it would go as far as the moving blue bar across the bottom, then stop with a blinking cursor on a black screen. After trying several things, including the recovery part of the original DVD, I put a different, clean drive in the computer and reinstalled Fedora 10 from the original DVD. What I was hoping is that I could then install the original drive as a secondary one and get access to the files on it.
View 14 Replies
View Related
Dec 3, 2009
The following quote is the sad, sad story of a thumb drive with the partition table nuked, as told by a friend of mine:
Quote:
Data was recovered from an XP system by booting with a BartPC CD and copying onto a USB thumb drive. Nothing unusual.
System was rebooted into the XP install CD.
The first drive that was found was the 16gb thumb drive (AKA flash drive) and the person (re) installing XP didn't catch the fact that XP presented the 16gb thumb drive instead of the 160gb hard drive.
The drive partition function in XP deleted the partition table - on the thumb drive.
A freeware utility in Windows shows the data but can't recover the file names, so that everything is gobbledygook. Does anybody know of a utility or program under Linux that can help? I have a laptop running F 12 and can do the work if needed, but don't know what program to use.
View 2 Replies
View Related
Mar 15, 2011
A few days ago I accidentally deleted a video file from the trash and I am looking forward to recover it but google could not give me a hand. Even worse I don't remember the name of the file.
Is there any specific free software for this? Or command line? (I am not good at it but can learn fast).
View 6 Replies
View Related
Jan 8, 2011
I've accidently begun installing Ubuntu Studio onto my OpenSUSE drive I stupidly forgot to to swap my hard drive cables around.
Luckily, the Ubuntu Studio install failed before I noticed the problem, but I need to access the SUSE drive to pull some date off of it. Whats the best way of doing this?
I used a program in windows XP to try and pull the data (mainly holiday snaps) off the drive, but it only works on NTFS file systems, so didn't get me what I need.
How can I access the data on the linux partitions? I'm fairly certain I was using 11.2, which after a bit of googling seems touse the EXT3 file format. Correct?
I'm in over my head here really, as you can probably tell, but what my limited knowledge leads me to believe is that the Ubuntu installer overwrote my partition table (is that right?) but left all the data there still.
Ideally I need a program very similar to the one that I used, but which works for the SUSE filesystem, and runs under XP (my only working OS at the moment)
View 9 Replies
View Related
May 27, 2010
A friend of mine somehow managed to accidentally format her USB key the other day. It had all the photos of her daughter on it and she's more than a little upset about it.
I've told her not to fret too much just yet and that I'll have a look to see if there's any way to recover any of the data (specifically the photo's, she's not overly fussed about the rest)
I've had a look through the web, and foremost looks like it's the most promising option but I don't want to start messing around with it until I've asked my fellow ubuntu users for advice and thoughts.
View 3 Replies
View Related
Jul 4, 2010
I have recently gotten hold of a device that helps me plug my old ATA/IDE hard drive to my computer and view my old files that I wish to recover. I am using Ubuntu and the harddrive that I wish to retrieve the data from also has an Ubuntu install on it. The files I wish to recover are old .doc files, which I want to keep to remember my old writings.
The problem I have encountered arises when I wish to open some of the files. The icon for some of the files, which happen to be my best writings, has an X on the top right, indicating that I cannot view the contents. When I click on the files, the following error message pops up: "Access to /media/c885571b-a6e5-4a2d-937a-78af7050910/george/Courses/hist388/Passion.doc was denied."
Now, I am guessing that I need to be able to log in as superuser or something to be able to access these files, so I logged in my terminal as super user by following the instructions outlined on this page: [url]
I still did not have the sufficient access required to be able to open the files that I would like to retrieve.
View 2 Replies
View Related
Oct 2, 2010
I've got 10.10 running trying to recover files from 10.04/10.10 I don't know what to call it. I did update-manager -d but all I get is a bunch of failed packages when I try to run it, so I downloaded the full RC iso. Now I'm trying to recover my stuff from the HD using a live-usb. The only problem is, when I try to copy the files onto my SD card, I do not have permission to access some of the stuff on the HD and some of the stuff like the "Desktop" I do.
View 1 Replies
View Related
Dec 19, 2010
I just installed kubuntu 10.10, replacing an older installation. I have three hard drives one of which had all of the data I wanted to save, about 500gb. I repartitioned and formatted the other two drives and made sure that the data drive would be mounted but not formatted. When I booted into my new installation, the data drive was blank. I'm not sure if it's relevant, but I had just upgraded the file system from ext2 to ext4 before starting the installation.
I've been trying to recover my lost partition with testdisk. The website has instructions for recovering a formatted partition. It looks like it's working until the instructions tell me to choose Boot and RebuildBS, which I don't see as options. Can anyone give me any advice on how to recover? How did this even happen? Has anyone had a similar issue with installation?
View 1 Replies
View Related
Jan 7, 2011
Since recently I have installed windows (dont worry I will be back to ubuntu soon enough but I've ran into some trouble), I had installed windows on my main hard disk (I couldn't install windows on my 2nd hard disk for some reason).
There were 2 partitions on the main hard disk, 1 which had all my data and another which had all the system fyles for ubuntu on it I believe.
Now I deleted the small system fyle partition and installed windows over it thinking I'd have all my data on the other partition when I needed.
But when I started up ubuntu with a live USB (I had made it prior to deinstalling ubuntu because I wanted to go back asap) and browsed my files, I noticed that I couldn't get to my private data anymore!
The /home/user partition is still there but it only has a file in it which says something like "recover-private-data.desktop" but when I double click it (made it executable) it just pops up a terminal real fast and disappears.
View 3 Replies
View Related
Mar 24, 2011
let me know is there any package available in ubuntu for recovering data from the usb drive
View 6 Replies
View Related
Apr 29, 2010
I have foulty hard drive partition which would not mount so browsing internet I found out that it is posible to use Terminal I'm using mac, so hard is 1tb devided in 2 partitions 1st mac extended, 2nd FAT32 2nd would not mount, when try connect hard to windows pc it freezes everything so decided to use Knoppix from CD
using that OS I can see both partition but the faulty one is very slow takes up to 5min to open every folder so tried to connect other hard and copy paste folders but I can not create ot paste anything on new connected hard there is always Access Denied or Permition Denied found post on forume where someone used dd command and I tried that, data goes from sdc2 to sdc1 that's what's happend:
[Code].....
and I'm not shure, is it copying, is it still doing something or I should stop this and go to Data Recovery Specialists?
View 14 Replies
View Related
Jan 19, 2011
I have 2 RAID1 hard drives with possibly hardware errors, (when I tried to mount them in a degraded array, they won't start, throwing some Buffer I/O errors) So I used ddrescue to make a disk image out of one drive, ran losetup to use the image file as loopback device:
Code:
losetup /dev/loop0 imagefile.img
but when I tried to assemble a raid array including the /dev/loop0 device like:
Code:
mdadm --assemble /dev/md0 --force /dev/loop0
it will complain that no superblock is found on /dev/loop0 device. With desperation, I tried to create a legacy raid array with following command, of course, including one of the bad drives:
Code:
mdadm -B /dev/md0 --level=1 -n2 /dev/sdb1(bootable partition on the bad drive) /dev/loop0
I successfully created a new RAID1 array, but when I tried to mount it
[Code]....
Now the only thing I haven't tried is to clean the superblock by doing --zero-superblock, and not sure if that will solve the problem. Should I get a second drive to hold my broken drive image so that I might be able to assemble a good RAID1 array or should I continue working on the only disk image file I recovered from one of the broken drives?
View 5 Replies
View Related
Aug 11, 2010
how to recover A mounted RAID5 data???
View 5 Replies
View Related
Feb 27, 2010
I am kind of at a loss on how to recover data from a 15 year old floppy (Simcity 2000, bought the copy off of ebay thinking it was the cd version and well...). At first I could see the files on the disk, but couldn't read them. So, I ran chkdisk on windows and it couldn't fix the disk. I have heard things about dd_rescue, which I have tried, but it just produces an error filled image that I can't recover any data from. I don't think it really tried all that hard to read the sectors that have problems.
View 7 Replies
View Related
Mar 12, 2010
Today I wanted to make a backup of my Ubuntu server. Since the program wasn't working for me, I rebooted my computer and right now it wont boot. Now I entered recovery mode and I'm trying to recover my /var/www and /etc/mrtg folders. I want to copy them to my USB-Stick but Ubuntu wont do this.
The command I tried: Code: cp -r /var/www /dev/sdg1/www I already created the folder via a other system. I also tried to mount the USB stick: Code: mount /dev/sdg1 /mnt/usbe But im getting the following error: error while loading shared libraries: /lib/libsepol.so.1: Invalid ELF header.
View 2 Replies
View Related
Apr 25, 2010
I am trying to transfer files from a SATA hard drive with Windows Vista (Home Premium) installed on it. Some files I can easily copy over, others just say Access Denied.
I'm sure permissions is part of the issue, unofrtunately Windows is unable to boot at all (surpise surprise) so I can't adjust anything from within in. I know with XP drives I can easily copy and paste onto my Ubuntu machine. I'm using a SATA to USB converter that let's me plug it in and my desktop reads it like an external hard drive.
I've gone into the properties and under permissions it shows my account as having access to Create and delete files under folder access amd "---" under File access. My group and others show None and --- for Folder and File access. I can post a link to a screenshot tomorrow. I've tried to also select Read and Write for File access but it goes back to the dashes before I can apply it.
I am running 64 bit Ubuntu 9.10 and do not have the sharing aspect installed. Any questions please feel free to ask me.
View 6 Replies
View Related
May 5, 2010
I was previously running postgresql 8.3, but upgrading to Ubuntu 10.04, has installed postgresql 8.4 and I'm now unable to start 8.3. I don't mind using 8.4, but I need to recover the data from my 8.3 installation, But I'm not sure how to do this as I can't start the 8.3 server, and 8.4 can't read my old data directory.
View 2 Replies
View Related
Dec 26, 2010
You'd think that with two backups of all my data, which are syncronised twice weekly - that I'd be pretty safe. Fine and good until in a reorganisation of my documents folders,I delete a bunch of files - and don't notice until after I've run the backup - so they're deleted from the backups as well. Cue me beating myself around the head with the keyboard a few times about a week later when I realised.I'd advise against doing that if you have a keyboard like the IBM Model-M - it hurts.Okay, so I figure it's at least worth having a stab at recovering this data. The external harddrive's not had anything written to it since then, so is probably the best candidate. It's formatted as an NTFS volume (1.5Tb).
Now, I DO have a copy of R-Studio for Windows which I bought and paid for a few years agowhen XP managed to destroy itself and the file structure on the harddrive when it fell over installing SP2 (this was the event which lead ultimately to me switching to Ubuntu).I've found this to work quite well, though the initial scan does take a while.nfortunately, it does NOT seem to work from within Ubuntu through Wine. It runs, but can't see any drives. The only Windows environment I have access to now is Vista, andR-Studio seems to hang after running for an hour or so under Vista.
Are there any tools - preferably simple enough that I can get my head around them - which I can use from within Ubuntu to have a scrub through an NTFS drive to look for and otentially recover deleted data? I've found several tools which claim to recover things from ext3/4 drives from Windows - but not the other way around!There are a fair selection of filetypes involved here, some word documents, probably most of interest to me though are some old videos, mostly <5Mb taken on my old phone camera from university. Nothing really mission critical...but memories nevertheless.
View 2 Replies
View Related