Sponsored Content
Full Discussion: dd cloning of whole disk
Operating Systems Linux Ubuntu dd cloning of whole disk Post 302692079 by Lem on Monday 27th of August 2012 04:22:49 AM
Old 08-27-2012
Quote:
Originally Posted by Royalist
Lem my sincere thanks.
"Lem is glad to be of service" (almost quoting). Smilie Smilie Smilie

Quote:
In the manual for example there are several example command lines or functions having multiple lines. I still don't understand whether these are supposed to called individually (i.e. one at a time), or may be called simultaneously by the use of shift + return keys at each line end and executed with a final return key?
One at a time.

Quote:
Nowhere, is there an explanation of how to state the path for the log file
You can put it in your home directory, or under /var/log, or maybe in /tmp or wherever you're comfortable. It doesn't really matter. Just don't put it in a part of your filesystem that resides on the device that you're using as the origin with ddrescue (which can't happen, anyway, if you unmount the origin as you always should).

To clarify: if you want to copy /dev/sdx to a new drive, and if on /dev/sdx there's the "/home" partition, you login as root (the home of root is /root, so it's not under /home), then unmount /dev/sdx, and as a log file you can use for instance /root/ddrescuelog, or /var/log/ddrescuelog. Surely you don't want to use something like /home/Royalist/ddrescuelog, because:
a) if you did unmount /dev/sdx, as suggested, /home/Royalist would no more be there;
b) if you didn't unmount /dev/sdx, ddrescue - writing its log - would modify the origin while copying it (never a good idea).

Quote:
---> look no wall!
Roy Smilie
Pretty fine! Smilie
This is what it's all about. Smilie
--
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
sdx(1)							      General Commands Manual							    sdx(1)

__________________________________________________________________________________________________________________________________________________

NAME
sdx - Starkit Developer eXtension DESCRIPTION
sdx combines a number of functions into a single command-line developer utility. Its most common use is to create, browse, and unravel Starkits: sdx qwrap myscript.tcl ?options ...? create a starkit from a single Tcl script sdx wrap mystar.kit ?options ...? create a starkit from a mystar.vfs directory structure sdx unwrap mystar.kit the reverse of wrap, lets you dissect any starkit sdx lsk mystar.kit list the contents of a starkit, as seen when mounted in Tcl sdx version mystar.kit calculate the version ID of a starkit, report newest file found inside sdx mkpack oldstar.kit newstar.kit copy and optimally pack the Metakit data by removing all unused areas sdx mksplit mystar.kit split a starkit into mystar.head and a mystar.tail parts sdx also has other, less frequently used commands, see sdx help and sdx help command for more information. sdx is itself a Starkit, you can inspect its contents by doing sdx unwrap `which sdx`. SEE ALSO
http://code.google.com/p/tclkit/, http://wiki.tcl.tk/sdx/, http://wiki.tcl.tk/starkit/, http://www.equi4.com/starkit/, http://www.equi4.com/starkit/sdx.html KEYWORDS
Starkit, Tcl sdx 2.0 sdx(1)
All times are GMT -4. The time now is 02:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy