Sponsored Content
Full Discussion: dd cloning of whole disk
Operating Systems Linux Ubuntu dd cloning of whole disk Post 302691441 by Lem on Friday 24th of August 2012 02:19:15 PM
Old 08-24-2012
Quote:
In particular to explore the path system for storing the log file in an umounted drive.
What? Please...

Quote:
I have come to the conclusion that ddrescue, or the Remix version if such, is incapable of writing an output to anything other than a completely fresh i.e. empty disk.
I'm sorry, but this makes no sense. There's no difference between a completely fresh empty disk and a disk full of data, when you look at them as block devices as ddrescue does. And ddrescue works flawlessly.

You simply didn't get what's "-g" (or "--generate-logfile") for. True that the man didn't help you with too many words, I must admit. But please read here carefully:
GNU ddrescue Manual

With this "-g" option, ddrescue doesn't even try to copy: it tries to generate a logfile from a source and an already made (partial) copy.

Don't use the option "-g", and ddrescue will work for you. Smilie
HTH.
--
Bye
 

9 More Discussions You Might Find Interesting

1. SCO

Disk cloning

Hello everybody, :confused: I have to change the system disk on an old PC running SCO 5.0.5. The disk is up and running, this is a preventive action. My experience on UNIX is very limited and I look for the easyest solution to clone this unit. Is it possible with commands or through a clone... (2 Replies)
Discussion started by: mhachez
2 Replies

2. HP-UX

Hpux Disk Cloning

hello, Anybody that has already running script or command that can disk clone the hpux machine thanks (2 Replies)
Discussion started by: eykyn17
2 Replies

3. Solaris

Disk cloning using ufsrestore

I am using ufsdump and ufsrestore to clone the root disk on one of my servers. I would like to automate this as much as possible, but have run into a problem where it prompts for changing the owner/mode when it is complete. Any ideas for running this in the background and not being prompted? ... (4 Replies)
Discussion started by: patricko0317
4 Replies

4. Red Hat

cloning a server

I wish to clone a RedHat EL5 server. What's the easiest way to do this? Thanks :) (4 Replies)
Discussion started by: wazzu62
4 Replies

5. Solaris

Problem by cloning boot disk.

Hello guys! I use the Solaris 10 x86 machine. I need to clone the boot disk. Why, when I copy slice 1 - there is a following: # ufsdump 0f - /dev/rdsk/c0d0s1 | (cd /mnt && ufsrestore rf - ) DUMP: Warning - super-block on device `/dev/rdsk/c0d01` is corrupt - run fsck Dump: The Entire... (6 Replies)
Discussion started by: wolfgang
6 Replies

6. Filesystems, Disks and Memory

Automated disk cloning

Hi, I'm running Ubuntu on my laptop. To keep my data safe and easy disaster recovery as well I bought similar HDD to one installed in my laptop with higher capacity and using USB box I'm doing disk clone to it. So at any time I can replace disk and carry on with my work as before. I'm trying... (2 Replies)
Discussion started by: uvaio
2 Replies

7. Shell Programming and Scripting

Cloning

Hi, Is there disadvantages if we do AIX Serevr cloning to the new AIX server. Thanks in advance (0 Replies)
Discussion started by: kmsekhar
0 Replies

8. HP-UX

HP-UX server cloning

Hello Friends, Am in requirement to clone a Live HP-UX server here's details OS: HpUX B-11.11 with mirrored LVM disks . S/ws: Remedy, XML engine, Annoysystem, Oracle All Oracle, XMl and Remedy data is on SAM LUN which is used for clustering . My requirement to create a clone server and... (10 Replies)
Discussion started by: Shirishlnx
10 Replies

9. Linux

Disk cloning ?

Dear All I needed to clone my disk to another hard drive . I did it as the following : #dd if=/dev/sdb of=/dev/sdc But after a while, the procedure ended with the "writing to /dev/sdc input/output error" message. Can you please let me know how can I overcome this as the fdisk now returns as "... (1 Reply)
Discussion started by: hadimotamedi
1 Replies
xdfcopy(1)						      General Commands Manual							xdfcopy(1)

Name
       xdfcopy - copy and format XDF disks in Linux

Note
       This  manpage has been automatically generated from fdutils's texinfo documentation.  However, this process is only approximative, and some
       items, such as cross-references, footnotes and indices are lost in this translation process.  Indeed, these items have no appropriate  rep-
       resentation  in	the  manpage  format.  Moreover, only the items specific to each command have been translated, and the general information
       about fdutils has been dropped in the manpage version.  Thus I strongly advise you to use the original texinfo doc.

       *      To generate a printable copy from the texinfo doc, run the following commands:

		     ./configure; make dvi; dvips fdutils.dvi

       *      To generate a HTML copy,	run:

		     ./configure; make html

	      A pre-made HTML can be found at: `http://www.tux.org/pub/knaff/fdutils'

       *      To generate an info copy (browsable using emacs' info mode), run:

		     ./configure; make info

       The texinfo doc looks most pretty when printed or as HTML.  Indeed, in the info version certain examples are difficult to read due  to  the
       quoting conventions used in info.

Description
	  xdfcopy [-format-id] [-d] [-n] [-h head-skew] [-t cylinder-skew] [-T
	  end-cylinder] [source] target

       Xdfcopy is a utility to copy and format XDF disks. XDF (eXtended Density Format) is a format used by OS/2 which can hold 1840KB of data (on
       a 3 1/2 high density disk). Its advantage over 2m formats is that it is faster: 38KB/s. Because of this fast  speed,  I	extended  the  XDF
       standard to higher capacities (1992KB) with a transfer rate of 45KB/s. I called the new formats XXDF.

       This program works best with kernels newer than 2.0.0.

       If  both  source and target are given, xdfcopy copies the disk image from file to floppy disk or vice-versa. When copying to a floppy disk,
       the disk is first formatted, unless the -n option is given.

       If no source is given, the target is only formatted. In this case, the target must be a floppy drive.

Options
   Selecting a format
       Formats are selected by the format_id. The following formats are understood:

       0      Formats a 5 1/4 XDF disk (1520 KB, 45.6 KB/s).

       1      Formats a 3 1/2 high density XDF disk (1840 KB, 38.3 KB/s).

       2      Formats a 3 1/2 extra density XDF disk (3680 KB, 102 KB/s)

       3      Formats a 3 1/2 high density XXDF disk (1920 KB, 45 KB/s)

       4      Formats a 3 1/2 extra density XXDF disk (3840 KB, 90 KB/s)

Misc options
       -D dosdrive
	      Describes the DOS drive letter for mformat. If this option is given, an MS-DOS filesystem is automatically  installed  on  the  disk
	      after  the low-level format is complete. In order for this to work, the drive has to be configured to accept the 23x2x80 geometry in
	      your /etc/mtools or your ~/.mtoolsrc file. Moreover, this only works with a version of mtools that is more recent than 3.0.

	      Example of a working mtoolsrc line:

		 A /dev/fd0  0	0 0  0

	      Examples of a non-working mtoolsrc line:

		 A /dev/fd0 12 80 2 18

       -n     Don't format the disk before copying the disk image to the disk.

Options for power users
       -t cylinder skew
	      Uses a different track skew than the default (14). For more details on skews, see section  superformat. In this version of  xdfcopy,
	      the -t parameter is ignored.

       -h head skew
	      Uses a different head skew than the default (0) In this version, this parameter is ignored

       -d     Debugging.  For  each  read or write operation, the time it took to complete the operation is printed (in milliseconds). This can be
	      used to optimize the skews.

       -T end-cylinders
	      Tells how many cylinders to format.  With the XXDF formats, it is actually possible to format up to 83 cylinders, yielding a  format
	      of up to 1992KB on a 3 1/2 high density disk.

See Also
       Fdutils' texinfo doc

fdutils-5.5							      03Mar05								xdfcopy(1)
All times are GMT -4. The time now is 08:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy