Ubuntu :: Ddrescue On A Failing Drive?

Nov 28, 2010

extract some data off a failing drive the other day. I plugged it in, but got no response in windows or linux (partition is ntfs), but it does appear in the bios and /dev (though the hdd hung most linux liveCDs except rescue remix 9.04). I tried to analyze the drive, and found good smart data, so I figured there were just a few bad blocks in critical places. I ran spinrite against it in level 2 mode. the process crawled (40MB after 2 hours) and it updated the smart data to reflect many many reallocated sectors, putting the drive into a failing state as far as smart is concerned. so, now, in a last ditch effort I am turning to ddrescue to try to get an image of the drive. it's been running about 17 hours now, and has done several complete passes through "Splitting error areas".

here is my current output:

Code:

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

have I done all I can? can I in good conscious declare this a lost cause? I do have an image from a prior run of ddrescue, with 826 MB of data.

edit: I resumed the task from log, and now it is reporting the err size as 9223 PB. since the drive is a 320GB, I find that a bit odd.

View 1 Replies


ADVERTISEMENT

Ubuntu :: Cloning Drive Speed With Dd Or Ddrescue?

Apr 22, 2010

I'm trying to make an image of my whole hard drive (320 GB) to save on an external hard drive. I'm using Ubuntu Jaunty Live CD to do it, with this command

Code:
sudo dd if=/dev/sda | gzip -c > /media/ExpansionDrive/imagedd.img
At the beginning everything is going fine, but after few hours the transfer rate is incredibly low. After 1/2 hour, 20 Gb have been copied.
After 1 hour, 27 GB
After 2 hours, 40 GB
After 4 hours, 54 GB
After 8 hours, 71 GB

Is it normal? I've also tried to use ddrescue, but I have the same problem. Is there any other tool to clone hard drive with a constant transfer rate?

View 1 Replies View Related

Ubuntu :: Drive Keeps Failing Out Of Software RAID?

Jan 26, 2010

I have 4 1.5 TB Seagate drives configured in RAID 5 via mdadm on Karmic. It seems that after a while, one drive always drops out of the array. It's a brand new drive, and after a reboot, it will come back in and rebuild just fine, so somehow I doubt the drive is actually failing. Here's a dmesg snip. The mounting that happens at the top is the mounting of the array, and as you can see, after a while, there is some kind of write failure.

[70178.385356] EXT3 FS on md0, internal journal
[70178.385373] EXT3-fs: mounted filesystem with writeback data mode.
[95234.954141] ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[95234.954160] ata5.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[95234.954162] res 40/00:00:c6:66:a8/00:00:ae:00:00/e0 Emask 0x4 (timeout)
[95234.954168] ata5.00: status: { DRDY }

[Code]...

View 1 Replies View Related

Ubuntu :: Drive Failing And Need To Move Partitions?

Sep 14, 2010

I have 2 500gb drives in my system. One of the drives I use for swap and home is failing, good thing it is under warranty... Bad thing I have to remove the drive from my system.

I have / on the first drive taking it all up. On the drive that needs replaced I have /swap and /home taking up the whole drive.

Is there a way to shrink /dev/sda to put swap and home on that drive and to move it back when new drive arrives? Or would it be simpler to just re-install to one drive?

View 4 Replies View Related

Ubuntu Networking :: Failing At Fstab For Shared Drive

Dec 20, 2010

I have an external HD attached to my desktop and setup as a shared resource. I want to be able to access it from my laptop as well. After much trying and drinking, I ended up with this in fstab:

//crackbox/seagate /seagate -o

then began giving me an error about not recognizing the file system type. I've been reading everything I can find and trying to get it to work, and have come up with very little. My fstab now contains this line instead of the above:

[code]...

Now, when I reload fstab with "sudo mount -a", I get this output:

[code]...

View 9 Replies View Related

General :: 4 Month Old Drive Failing?

Apr 11, 2011

I have a 2 Tb drive that Linux is saying is failing, the reason for this is Relocated Secotor Count, should i really worry and why is it happening to such a new drive its only 4 months old I received it on December 30th I woudl think it would not be bad at this point.

View 14 Replies View Related

Ubuntu :: Failed Backup Attempt Or Failing Hard Drive

Jan 5, 2010

I made an attempt to backup my system (karmic koala) using this routine. cd / then sudo tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys /

The process of backup went on for a very long time, which is probably normal. On returning to the computer in the morning, it was in suspend mode and would not power on via the usual method,tapping power button. So then I used the reset button, and after booting up a message appears on the top right that reports "Install problem! The configuration defaults for GNOME Power Manager have not been installed correctly. Please contact your computer administrator."

Is there something wrong with the statement that was used for backing up the system? Also when I attempt to login it does not work now either, it eventually returns to the login user selection. So is there a possibility the backup finished and then there may be a chance the system can be restored from the backup file? I have tried booting up with a live cd and could use some advice on how to navigate with terminal to root of the system and see if the backup file exist even, have been unable to get to the root folder(where the backup would be) with the GUI method via live cd.

View 1 Replies View Related

General :: Booting - Lvm - Failing Hard Drive - Ubuntu Server

Aug 3, 2009

I seem to have a complex issue on my hands that i can't figure out. first, i wasn't able to get access to my LVM'd hard drives via SSH without half of the content being missing or locked out (read-only or unable to open at all). the problem then went up to being unable to boot up - all i got was a long slew of [100.1234] ata1.00: error messages (they eventually DO stop once they get to around 998.234234 or whatever, and then i can log in and it seems to be "stable").

Part way through this rebooting ordeal i realized / decided to make power-on-self-test stop and wait if it finds errors (via bios) - that showed me that my 750G SATA drive is "bad" and my two (older) 120G & 250G IDE drives are "ok". i then unplugged the SATA drive, rebooted, and didn't see those error messages. however, my LVM was still obviously not coming together (since LVM was made up of the 120G, 250G, and 750G drives)

So, now it seems:

a) I can't boot smoothly with all drives in place
b) I can't do anything with lvm if i remove the 750G sata
c) With all drives hooked up, i can wait 10mins for the errors to go away, but STILL can't do anything with lvm
d) I need to recover the lvm stuff so that i can nicely migrate ALL those files (1.1TB of it) onto a new 1.5TB drive and do away with lvm

This is all running ubuntu 7.10 server edition (32-bit version on a 64-bit computer). i DID post a question on the ubuntu forum as well but so far got no replies at all.

Here's a few pics of the booting process, with one or two "fail" lines showing.

View 14 Replies View Related

Debian Hardware :: How To Diagnose Failing CD Drive

Feb 14, 2011

I've got an LG CD/DVD player/writer in my desktop, and it's suddenly stopped working. No error messages at all, but it doesn't acknowledge any discs any more, whether they're CDs or DVDs or CDRWs or anything. How can I diagnose what's wrong? It's only 1.5 years old so I wouldn't expect it to be a hardware problem really, but I can't think of anything else. At first I thought I'd broken something with Squeeze, but I ran a live system from USB stick and it also can't read any discs at all. Also I tried a bootable DVD and couldn't get that to boot either, so I'm pretty confident it's not a software problem. It's always worked fine before and hasn't had any shocks or moves or anything (that I know of). The green light flashes when I close the drawer, just flashes a few times and then stops. There's nothing in /var/log/messages. Are there any tricks to figure out what might be wrong or is it looking like I need to buy a replacement drive?

View 4 Replies View Related

General :: Saving Data From A Failing Drive?

Dec 29, 2010

An external 3½" HDD seems to be in danger of failing” it's making ticking sounds when idle. I've acquired a replacement drive, and want to know the best strategy to get the data off of the dubious drive with the best chance of saving as much as possible. There are some directories that are more important than others. However, I'm guessing that picking and choosing directories is going to reduce my chances of saving the whole thing. I would also have to mount it, dump a file listing, and then unmount it in order to be able to effectively prioritize directories. Adding in the fact that it's time-consuming to do this, I'm leaning away from this approach.

I've considered just using dd, but I'm not sure how it would handle read errors or other problems that might prevent only certain parts of the data from being rescued, or which could be overcome with some retries, but not so many that they endanger other parts of the drive from being saved. I guess ideally it would do a single pass to get as much as possible and then go back to retry anything that was missed due to errors.

Is it possible that copying more slowly — e.g. pausing every x MB/GB — would be better than just running the operation full tilt, for example to avoid any overheating issues? For the "where is your backup" crowd: this actually is my backup drive, but it also contains some non-critical and bulky stuff, like music, that aren't backups, i.e. aren't backed up. The drive has not exhibited any clear signs of failure other than this somewhat ominous sound. I did have to fsck a few errors recently — orphaned inodes, incorrect free blocks/inodes counts, inode bitmap differences, zero dtime on deleted inodes; about 20 errors in all.The filesystem of the partition is ext3.

View 2 Replies View Related

Hardware :: Hard Drive Failing Using Dd To Copy To A New One?

Jul 3, 2010

In my laptop I have a 200GB hard drive that is starting to make clicking and grinding noises and won't boot about every third try.

Code:
root@Frank2:/home/bruce# fdisk -l
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[Code]...

/dev/sdb is a usb flash drive that has pmagic (not sure of the version, but it's 2.6.32.9-pmagic kernel, so I think it's the latest version). I'm posting from pmagic right now because I don't want the failing disk to get any worse until I get this sorted. I also know there is a post here called something like 'learning the dd command' or 'mastering the dd command' or something to that effect, but I can't find it for the life of me (I have it bookmarked on the failing drive, of course). If someone could point me to that post,

View 8 Replies View Related

Ubuntu :: Gui Version Of Ddrescue For 10.1

Feb 24, 2011

I have installed Ubuntu on a friends laptop. He lives in a different city, and needs to move files from one somewhat quirky 1tb drive to a new 1tb drive. He needs something that reads slowly on purpose or something like that. He also needs a gui tool. He asked me, but I haven't been able to find something for Ubuntu. maybe a custom script for ddrescue would work, but i don't even think he would like that. He is very nervous when it comes to the terminal.

View 5 Replies View Related

Fedora :: Recover Data From Failing Hard Drive

Jun 26, 2010

Using F12 with a LVM Volume, Single disk with OS on and boot partition. The OS HDD is getting i/o errors, but will still boot to the login screen. I've removed the HDD and connected it to a Fedora Live OS on my laptop, connected the HDD and it registers as :

[root@localhost]# fdisk -l /dev/sdd
Disk /dev/sdd: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e0069

Device Boot Start End Blocks Id System
/dev/sdd1 * 1 26 204800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sdd2 26 30401 243991201 8e Linux LVM

And it tried to mount /dev/sdd2 to view and see if I can recover some files.
[root@localhost]# mount /dev/sdd2 /mnt -t ext4[root@localhost james]# mount /dev/sdd2 /mnt -t ext4
mount: wrong fs type, bad option, bad superblock on /dev/sdd2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

Any way to mount the partition to allow me to try and get some data back, or if trying to do a full backup of the drive you can get it to ignore i/o errors.

View 1 Replies View Related

Hardware :: Can Clone Failing Hard Drive Easily?

Jun 8, 2011

I have a 3 weeks old PC which I've just finished getting set up with Ubuntu 11.04 and W7 in a Virtual Box. Now the drive has started making rumbling noises and doesn't always boot.The engineer from Dell is coming tomorrow to replace the drive, but what can I do about transferring the whole old drive to the new one in full working order, quickly?

I've been using rsync to keep backups of my home folder, so I've got the data side covered. But I don't really want to spend the next couple of weeks re-installing all the software, printers etc all over again. So is there a quick, easy way of replicating the old drive with partitions, VB, etc (I'm not that good at using the terminal) ?

View 5 Replies View Related

Hardware :: NTFS Drive Failing While Recovering Files

May 19, 2010

I have an external drive that has been formatted as NTFS and I need to recover the files. For the most part, on windows, I can read the drive however When I'm copying, it interrupts with an I/O failure. Is there a way to copy the files from Linux and have it continue even if it has an error?

View 3 Replies View Related

Hardware :: Squeezing More Life Out Of A Failing Hard Drive?

Jun 3, 2010

I'm using xubuntu on a box that has 2 drives. One is quite small mounted as / and the other larger drive is mounted as /home Both drives are IDE The /home drive has had some failure in the past & occasionally creates errors. Is there any way of identify which sectors are bad (or good) and isolating them to try & get some more use out of the drive?

It won't be used for storing valuable data.It is an old box for visitors to use. But it would be handy to use it to store some large read-only audio files. I've installed smartctl & could post output from there if you think it is useful. I can't work out how to interpret the information.

View 7 Replies View Related

Software :: Unetbootin Failing To Create Bootable Drive?

Sep 22, 2010

i have a Sandisk 5gig USB key that had mint 9 live on it that i was hoping to get an old brotasaurus (Dell Latitude D510) up and running again with. apparently Mint is too pretty for the beast and so I tried to get mint Fluxbox to install on to the key, then i tried Fedora, and finaly i tried DSL. Unetbootin seems to have stoped making the key bootable as three of my laps seem unable to read it.

[Update] so i tried dd'ing the iso to the usb following the instructions on the suse site

# umount /dev/sdb1
# dd if=/home/Derf/Downloads/dsl-4.4.10.iso of=/dev/sdb1 bs=4M;sync
and it is still failing to create a bootable usb. says

missing operating system

intel UNDI, PXE-2.1(build 082)
copyright (C) 1997-2000 Intel Corporation
For Realtek RTL8101E/8102E PCI-E Ethernet Controller v1.08 (080408)
PXE-E61: Media test failure, check cable
PXE-M0F: Exiting PXE ROM

View 4 Replies View Related

Ubuntu :: Ddrescue Delete My Data

Jun 2, 2010

I tried to clone my laptop ubuntu partition (9.10) using ddrescue into my portable harddisk.I run command "ddrescue r3 /dev/sda6 /dev/sdb6" sdb6 is my portable harddisk partition with lots of data. In my head I was thinking that it will create image file (like iso or img)that can be restored to another disk.Suddenly I relize that it delete my existing data (in sdb6) then I interrupted ddrescue.Is there a way that I could get back my data in sdb6?Partition in sdb6 is FAT32m, now when I try to open sdb6 using Windows OS, it always aks me to format

View 6 Replies View Related

Ubuntu :: Mount HFS+ Img File From Ddrescue

Dec 8, 2010

I'm trying to mount a .img file with a HFS+ partiton on it. I can't seem to get it working. I don't want to overwrite a whole partition. Just mount the filesystem to /media/directory.

sudo mount -t hfs -o loop /path/file.img /media/directory/ gives me wrong fs type, bad option, bad superblock on /dev/loop0,

Output: dmesg | tail
[665583.878826] hfs: unable to find HFS+ superblock
[690232.956830] hfs: can't find a HFS filesystem on dev loop0.

View 3 Replies View Related

Ubuntu Installation :: Grub Rescue - Access My Files On External - Failing - Drive ?

Jun 28, 2011

I have an hp laptop and i had ubuntu on it for 3 years. my hard drive started to fail a while ago (i had ubuntu 10 on it until 1 week ago) and a then it all went black...I took the laptop to a repair shop, they told me it was the disc, so i bought a new disc, installed it on my laptop and reinstalled the new ubuntu 11. so far so good. i have now a working OS, internet connection and i can in fact type this message.

The thing is: all my files are on the old drive, which doesn't load/boot/start/read anymore. I have tested it on some friends's pc, tried a few HD disgnostic tools, they all send the same message: "fail"

I then tried to mount my old drive (with all my precious files in it) on my laptop as an external drive (usb) hoping that ubuntu 11 could read it as an external usb key: it gets read by the system, but it shows no files at all. it also shows an error message saying the drive can not be mounted, with some "sdb1" thing. i am sorry but i'm really dumb when it comes to tech language.

Then i tried to boot it on start-up but i got the grub rescue> thing and nothing else, just a sad, blinking cursor to recover my files,i have also tried testdisk but couldn't understand very well how to use it, and then photorec, from which i recovered bits and pieces of files, with no name. some of them are just parts some of them are complete.

My problem is: i have to get access to my files, as I use them for work, i couldn't do a back-up recently and i have some real important deadline to meet... for which i need those files. is there any way i could solve the grub issue and have that drive load/mount again as external usb?

View 9 Replies View Related

Fedora :: Finding A Backup Failing Laptop To Standalone Drive?

Feb 11, 2010

I am running Live 12 on my CD rom drive of my dying laptop. I have a major Windows registry error on that system and am working to recover my files. I have successfully moved a couple of folders from the laptop to my Seagate Free Agent Drive as a test.What I would like to know is, is there a way to copy my files and folders without literally dragging and dropping each one? We're talking 140 G of folders....sigh.

View 1 Replies View Related

Ubuntu :: Can't Mount Or Read Ddrescue Result File

Feb 23, 2010

Can't mount or read ddrescue result file

View 1 Replies View Related

Ubuntu :: Can't Mount NTFS Ddrescue Image Of Partition?

Jun 14, 2010

I am trying to recover some important data from a 273 gig NTFS partition that was used in windows 7. The laptop was dropped and would not boot the next day. As an external drive I could see 2 smaller partitions (30 gig and 500 meg), but the main partition was RAW and requesting to be formatted... so I came to learn about Knoppix 6.2.1 as my live boot cd and ran ddrescue to recover an almost complete image of the bad partitionddrescue -n /dev/sdc1 /media/sda1/image.img /media/sda1/logfile.logI then ran it one more time:ddrescue -r 1 /dev/sdc1 /media/sda1/image.img /media/sda1/logfile.logthe image was made with 741 errors (amounting to 160 megabytes)So Now I have my partition as image.img which I want to mount.

First I tried
sudo mount -t ntfs -o loop /media/sda1/image.img /mnt/recovered
sudo mount -t ntfs -o loop,force /media/sda1/image.img /mnt/recovered

[code]....

View 1 Replies View Related

Ubuntu :: Use Ddrescue To Clone A Dying Disk To A Remote Machine Using Ssh?

Sep 16, 2010

im trying to use ddrescue to clone a dying disk to a remote machine using ssh. this is my command:

Quote:

sudo ddrescue --block-size=4KiB /dev/sda1 - | ssh user@address 'cat /data/backup.img'

it returns the error "cat: can't open '/data/backup.img': No such file or directory"

View 3 Replies View Related

Ubuntu :: Log In Failing On Most Users

Aug 15, 2010

recently logging in become a bit unreliable - i thought i was mis-typing the passwords but on closer looking the passwords were ok (faulty passwords produces "authentication failure) Using the correct passwords the screen blanks for a second and then returns to the list of possible logins. I cannot log in except as one of the children - could this be because their logins have been used less often and less recently Everything was working well and I have not knowingly changed anything except the passwords after the problems started in order to solve what i thought was a simple mis-typing problem

I can log in as the children but their logins obviously do not have permission to do much
I also have a bootable puppy CD Unfortunately I am also a total noob but determined not to backslide into XP because up to now Ubuntu has been fantastic

View 9 Replies View Related

Ubuntu :: Install 64-bit - Keeps Failing ?

Feb 28, 2011

I am attempting to install Ubuntu 64-bit and it keeps failing. This is my first 64-bit system, and have not had problems with installing x86 Ubuntu in the past. When the full install failed, I tried installing it within Windows and that also failed. I've attached the log from that attempt in this post (had to trim it down to fit the file limit though). I don't know if these are the same errors I was getting on full install as I didn't write those errors down...I can try again and post them if needed though.

View 4 Replies View Related

Ubuntu :: ISO Burn Keeps Failing At 88%

Mar 22, 2011

So I downloaded 10.10 x86 ISO, MD5'd it and it all looks okay. I am using a decent LITEon DVD-RW drive (no errors before with ISOs) and using DeepBurner (also no errors before) and it keeps failing at 88% :

View 9 Replies View Related

Networking :: VPN Failing On Ubuntu 10.04?

May 20, 2010

I have just upgraded to Ubuntu 10.04 and need to setup VPN connections to clients.

After configuring one of the vpn connections, I tried to connect but the connection fails with no specific errors.

Looking at the /var/log/messages file I get the entries as follows:
ay 20 13:52:28 machielr-laptop pppd[3362]: Plugin /usr/lib/pppd/2.4.5//nm-pptp-pppd-plugin.so loaded.
May 20 13:52:28 machielr-laptop pppd[3362]: pppd 2.4.5 started by root, uid 0
May 20 13:52:28 machielr-laptop pppd[3362]: Using interface ppp0

[Code]....

View 2 Replies View Related

Ubuntu :: Vpn Keeps On Failing To Connect

Mar 12, 2011

I fallowed the directions on How to Setup a VPN (PPTP) Server on Debian Linux and How to Setup a Split Tunnel VPN (PPTP) Client on Ubuntu 10.04 to set up a LAN vpn, but it keeps on failing to connect. Can it do a LAN VPN? What else can I install that has an easy setup.

View 6 Replies View Related

Ubuntu :: Hardware Firewall Is Failing In Its Job?

Jan 23, 2010

My router has a firewall up and running as standard. I have installed Firestarter and can see a number of pings on the firewall

[code]...

Does this mean that my hardware firewall is failing in its job?

View 7 Replies View Related







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