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


ADVERTISEMENT

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

Ubuntu :: Cloning To Advanced Format Drive With 4096 Bytes From 512 Byte Drive

Jun 27, 2011

I am getting a new 4kb sector HDD for my laptop, WD scorpio black 750gb, I would like to image existing partitions on 512bytes sector HDD and move them to the new 4kb sector HDD, what's the best way to do this.

present config is as follows:

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

[Code].....

I am planning to keep the same three partitions as the primary partitions on the new drive and add few more logical partitions. I would have liked to move to GPT but since I need Win 7, I am stuck with MBR partiotion table.

Now, I understand how to partition an Advanced format disk, what I want to know is how to move the existing partitions on the 80 Gb disk to the new disk?

I use Clonezilla to copy partitions but it is not compatible unless both the target and the source disks are already using 4096 sector size.

I can use Acronis True Image WD Edition to clone Win 7 but how do I clone Ubuntu?

Also my Laptop's chipset is limited to SATA 1.5, will it cause any issues, I know the bandwidth is not an issue.

View 7 Replies View Related

Ubuntu :: Cloning Drive With Dd From 10.10 Installer CD

Nov 1, 2010

I am trying to clone my internal drive on my laptop using the dd command after starting up my computer using the 10.10 installer CD. Nothing happens when I follow the instructions from this site: [URL] When I follow these instructions, it doesn't work. I know that I am not being specific here but all I can say is that nothing happens. What am I doing wrong. My internal drive is 250GB and the partition I created on my DOS formatted external drive is 250GB as well.

View 9 Replies View Related

Ubuntu :: Ghosting / Cloning From One Hard Drive To Another

Mar 1, 2010

Is there a utility app that will allow 'ghosting' your current Linux harddrive to another. For example, my current drive is 40Gb, I'd like to ghost/clone it to a 320Gb harddrive. Using an app like this saves re-installing the O/S, software, configuration and allows making a disaster-recovery drive.

View 3 Replies View Related

CentOS 5 :: Best Strategy For Cloning Drive

Oct 3, 2009

I have a rock solid server running CentOS 5.3 (probably 5.4 soon enough). Basic LAMP box with a few tweaks thrown in. Everything is running perfectly, with one problem - the drive is too small (I project it filling up to dangerous levels in 6-8 months). So, what I'm looking to do is basically clone the drive, store the image, pull the current drive and replace with a bigger drive (same number of heads and cylinders though), and install the image.

What I did do once, a million years ago, is put the new drive as a slave on the same IDE cable, and use dd (working from a live CD of the distro) to copy from the master (smaller) to slave (larger). Then, yank the smaller, change jumper on bigger drive from slave to master, and away I go. Next step as I recall was using gparted to get access to all the space on the new, bigger drive.

Is this more less still a reasonable way to go? I recall the issue was making sure the old smaller and new larger drive had the same number of heads/cylinders (although I don't remember exactly why).

View 7 Replies View Related

Ubuntu Installation :: Cloning (10.04 Desktop) From The Old Boot Drive Onto The New SSD?

Oct 2, 2010

I would like to replace my old 100gb boot drive in my server with a new SSD...for obvious reasons. So what is the best way to clone the existing installation (10.04 desktop) from the old boot drive onto the new SSD? I have read some guides online that suggest using the live CD and various software packages but most of them say it will only work if you are cloning to a disk of the same size or larger, nobody seems to address taking an installation from a larger volume down to a smaller one - in my case a 100gb IDE onto a 30gb SATA SSD.

As this is a datadump, the only drives I really care about are the various 1.0/1.5tb drives that actually store the data, the OS drive contains nothing more than the standard OS, samba/webmin and a few monitoring tools. So I guess it's not the end of the world for me to start fresh and install 10.10 next week, but I would like to know for the sake of this upgrade and future ones if anyone can be of assistance. basic specs if needed: Athlon64 X2 3800, 2gb DDR500, Asus A8N SLI Premium (Nforce 4/Silicon Image 3114R RAID controller). OS is on a 100gb IDE (WD1000BB-00C) and I would like to toss it on a Kingston 30gb SSD (SNV125-S2/30).

View 5 Replies View Related

Ubuntu :: Permission Denied (cloning Hard Drive With A Img)

Dec 31, 2010

Code:
user01@ubuntu:~$ sudo gunzip -c /media/xbox/xbox_image.gz | dd of=/dev/sdc
dd: opening `/dev/sdc': Permission denied
[sudo] password for user01:

[Code]....

I'm getting Permission denied even though I'm putting sudo in front of the command but, instead of asking me for a pass word it just says Permission denied "then" it askes for a pass. I enter the pass and it just takes me to the

user01@ubuntu:~$

prompt. I enter the command a second time and it says Permission denied again.

View 4 Replies View Related

Fedora :: Cloning A Partition To A Bigger Drive?

Jul 28, 2011

When I first switched from windoze to Fedora I trimed a bit of space off the end of the HDD, formatted it to ext3 and installed Fedora 14 there. I have now completely rebuilt the machine and put a 2TB drive in. My intention was to upgrade to Fedora 15, but after a few weeks trying to get the new gnome to anything resembling useful, I gave up and decided to go back to the reliable 14.

I tried the old drive, and everything worked great, so I though no problem, clone that over to the new drive, and job done, no need to mess about for weeks getting all my settings back. I booted from the old drive with both connected and ran gparted, It sees both drives but won't let me copy the old partition. It complains about 'LMV is not yet supported' I tried booting from a gparted ISO with the same result.

How can I get this sorted? I've got work needing done, I don't have time to start from scratch (*AGAIN*),

View 10 Replies View Related

Applications :: Clonezilla - Cloning A Drive To A Partition

Oct 3, 2010

My dad passed away 2 years ago and he had a toshibia laptop, and today I've decided to start using it. I would like to reformat it to Arch Linux from Windows XP.

He has a 80gb hdd with everything on one partition (thats how windows does it). I would like to create another partition (~20gb, and I know how to do this) and have clonezilla clone the main partition and save it to the 20gb partition. This is because you can't clone and save to the same drive unless its partitioned. (I'm saying partition lot).

Anyway my fathers computer is very important to me, and having it remain intact as he left it is very very important to me. I know the easiest and most sarcastic response is to tell me not to use it, but I want to use this computer.

Does anyone have experience with clonezilla? Will it back up the ENTIRE HDD like it says it will, without missing any important documents and files scattered throughout the disc? And when I do finish the cloning, format, and at a later date restore using the image I copied, will it be like I never touched it?

View 1 Replies View Related

General :: Cloning Drive With DD - Progress Indicator?

Jan 20, 2010

I have a Shuttle XPC with 3 drives. /dev/sda is a 320GB SATA drive with a basic installation. Two partitions, a swap and the rest is on /. The other two drives are 1.5TB SATA configured as a software mirror as /dev/md0.

I want to use dd to clone the 320GB boot/OS drive to a 750GB SATA I have at home. Last night I put the 750 in a USB enclosure and at about 6:00 PM fired off: dd if=/dev/sda of=/dev/sdd

It's now 7:16 AM and the dd is *STILL* going. Is this unusually long to clone the drive? Is there any way to check the progress or a way to launch dd with a progress indicator?

View 3 Replies View Related

General :: Cloning A HD Or Partition Onto A Different Hard Drive

Nov 2, 2010

I want to move the entire contents of my backup HD to another HD. I could manually copy everything, but I was hoping to clone the entire backup hard drive. I tried to do it with Gparted, but as far as I can tell, I can't clone between drives, only between partitions on the same drive (I've done that before). So how can I do this in Linux? I think one of my drives came with a cloning utility on a CD, but I'm not sure I still have the CD.

View 2 Replies View Related

Ubuntu :: Cloning Root Drive From Large To Small Partition?

Nov 12, 2010

i am running ubuntu 10.10 and windows7 on a asus eee 1015. currently i have two partitions: 80GB for windows (NTFS) and 160Gb for Ubuntu (ext4).

I want to:

- shrink the windows partition (easy, no worries);

- Shrink the ubuntu partition

- join the space thus created in a third partition that i can use for storage, media etc accessible by both windows and ubuntu

The problem:

- i could not manage to get gparted live to run off USB stick (i get the unable to find medium.... error)

- even if i would get gparted to work and i succeed in shrinking the ubuntu partition as well, the two spaces reclaimed will be divided by the ubuntu partition, which means they cannot be joined in a third partition.

so here is what i want to do:

- shrink windows and create a new partition;

- format this new partition as ext4;

- somehow "clone" the data on my current ubuntu root into the new partition;

- format the current root as NTFS and use it as the storage partition

i am aware this may mean i would have to re-set grub etc but would the cloning of the partition be possible? that i would need to clone data from a 160G partition into a 40G partition.

BY THE WAY - forgot to mention that i have tried to load clonezilla off an USB drive and i get the same error: "unable to find medium..."

View 3 Replies View Related

Ubuntu Installation :: Cloning Entire Drive With Multiple Partitions In One Step?

Aug 6, 2010

I have used GParted several times but I only know how to clone a single partition. I am looking for a way to clone and entire drive that has several partitions, along withthe MRB, unpartitioned space and everything else in one step. I have a 500 GB drive that is going out and I want to clone it to a 1 TB drive so I don't have to reinstall 3 different OSs and fix the GRUB. One of the other OSs is on anther drive so I'm not sure that it would work even if I can clone everything exactly. I'm not sure if the drive that is failing is the one with the MBR on it or not. how to do this in GParted or know another good program I can run from a live CD to do this?

View 2 Replies View Related

General :: Cloning Dual Boot Drive Onto Smaller One

May 28, 2010

I've decided that I want to use another, smaller, hard drive for my OS and I'd like to clone /dev/sda onto /dev/sdc. I want it to be an exact clone except my partition for my "/home" will be smaller (since there's not room for it). I was gonna try with dd but I'm not sure if I should build the partition table and use dd-command on one partition at the time? Will this then include GRUB boot loader and will it be working properly?

Do I have to clone the disk completely for it to boot properly? I'm not sure how or where GRUB places itself on disks as you install it. Can I perhaps copy the partitions one by one and then install GRUB from CD afterwards? Should I leave some unallocated space somewhere in between the partitions as I build and clone them?

View 4 Replies View Related

OpenSUSE Install :: Cloning The Hard Drive - Change The Menu.list?

Jan 13, 2010

Here's what i'm trying to do: i have a 300GB IDE hard drive that has a OpenSuse build. I am trying to replicate this HD so that i can have another box similar to the original one...my second drive is 500GB SATA.

So far, I just ran a 'dd' command to copy the 300GB to 500GB. Now, after having read on internet, i realized i need to change fstab & /boot/grub/menu.lst. specifically, we need to change for ex:/dev/disk/by-id/ata-Maxtor_7L300S0_L60LCJ0G-part1 to /dev/disk/by-id/sda1 i did use a Ubuntu LiveCD to access the fstab and changed the line as mentioned above. Now, how do i change the menu.lst?? right now, when i try booting up from this HD, i have issues. specifically, i get this error message: could not find /dev/VolGroup00/LogVol00

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

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 :: 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 :: 9.04 - Very Slow Copying Speed To Any Device / Drive

Jul 8, 2010

I have installed ubuntu 9.04 version. But now its too slow to copy files to any devices or even to other drives.

View 3 Replies View Related

Hardware :: Any Way To Measure USB Drive Speed?

May 30, 2011

Any good way to measure USB drive speed in a repeatable and effective way? I know that what I "copy" and how I "copy" and the filesystem in use make a difference in anything I try to measure. I know that I can:choose some file or folder tree use various tools (cp, tar, rsync, etc) to move the data use time command to collect details do this more than once.

One "benchmark" I've used in the past was to create a source tree for some application and use make clean; time make in that tree. Lots of I/O of various sorts and some computation and very repeatable. Since I'm not seeking a gold standard benchmark, I can do what I like, but I'd like to do something (a)meaningful in general for myself and others, and (b)avoid inventing what probably already exists.

View 3 Replies View Related

General :: Getting More R/w Speed From A Flash Drive Install?

Aug 19, 2010

System: Linux flashvoyager 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 07:54:58 UTC 2010 i686 GNU/Linux Ubuntu 10.04 Installed onto 64gig Flash Voyager GTR plugged into Tosh satpro laptop dual core 4 gig memory. This is not a casper r/w persistent install version. This is installed directly onto the flash pen and running as if the flash drive was a solid state disc.

I have obtained a 64gig which can read at 34mb/s and write at 28mb/s. The reason I wanted this was so I could install linux ubuntu and run the OS straight of the flash as if it was a Solid state disc. I have tried using the pendrivelinux method where the persistent data is stored inside a virtual file system but I found it did not allow grub or kernel updates without the need to rebuild the entire datapen plus I did not know how to get rid of the live boot menu where it asks for language and the like.

I boot the pen straight into linux ubuntu 10.04 via the bios boot menu and select the usb pen drive. Once into grub I select the most recent kernel and then load up ubuntu. When I first started using the distro from the pen the speed of the web browsing was so slow. I have since configured the browser to store the cache inside tmpfs /media/ramdisk and browsing seems fine now however there is underlying speed issue with using the method of install. Uncompressing installs takes an age. I have configured fstab like so:

#System
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sdb1 / ext4 errors=remount-ro 0 1

[code]....

PS: I am not allowed to use the HDD on the laptop since it is company laptop. My previous company laptop had Kubuntu 8.04 with XP as VM. Also having the install on the flash drive would give me the convenience of booting the pen from any hardware.

View 3 Replies View Related

General :: Using A Flash Drive To Speed Up Conventional Disks?

Jun 12, 2010

Is there a possibility to use a flash drive as a speed up for conventional hard disks? I got the idea to redirect all read ops to the flash drive if the data is already stored there, and to read from the conventional disks if the data is not found there (and during idle time the freshly accessed data from the conventional disk is stored on the flash disk).

Is this already possible with linux standard tools?

View 1 Replies View Related

General :: Application To Control Hard Drive RPM Speed?

Nov 14, 2009

Are there any linux applications that will allow me to adjust the hard drive RPM rotational speeds? I've used similiar programs for windows before but now I am running a linux setup.

View 9 Replies View Related

Ubuntu Multimedia :: Trying To Playback At Double Speed - VLC Will Play The Video At Normal Speed But With No Audio

Jul 23, 2011

Ubuntu 64bit. The sound system works and plays noises correctly when I test the speakers in sound preferances. The internet BBCi player(Radio) plays sound correctly. Banshee & Rhythmbox try to play music files at double, or more, speed with no sound output. Spotify Linux version also tries to playback at double speed with no sound output. Media Player attempts to play music files at high speed. Media player plays the Video and audio tracks at high speed. VLC Will play the video at normal speed but with no audio.

View 1 Replies View Related

Ubuntu :: Cd Burner Goes To 16 Speed Burning And Up: Cannot Burn At 4 Speed

Dec 20, 2010

i both have the same problem, i'm trying to burn my images at 4 or 8 speed, but ubuntu 10.04 says that the hardware does not support that kind of speed and switch up to 16 speed and more. i know it can burn at low speeds, at least in windows, it is a bit strange that fast burning is okee, and slow not, what can i do to prevent this? i don't wanna burn to much errors on my discs

View 5 Replies View Related

Ubuntu :: Directly Cloning Old HDD To New One?

Mar 28, 2010

I was wondering how can I clone old hdd to new hdd directly. Is this right procedure?
sda is new hdd
sdb is old hdd

Code:
sudo sfdisk /dev/sda < sudo sfdisk -d /dev/sdb
cloning ntfs partitions.(X are ntfs partitions)

Code:
sudo ntfsclone --overwrite /dev/sdaX /dev/sdbX
cloning other partitions.

Code:
sudo dd if=/dev/sdbX of=/dev/sdaX bs=8MB

View 1 Replies View Related







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