Sponsored Content
Full Discussion: Disk cloning ?
Operating Systems Linux Disk cloning ? Post 302873173 by fpmurphy on Monday 11th of November 2013 09:16:12 AM
Old 11-11-2013
Was the size of the /dev/sdc disk at least the size of the /dev/sdb disk? Is the disk geometry similar? If so, it is possible that there is an error with the /dev/sdc disk. You could use a utility like smartctl or badblocks to check for such errors.
 

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. Ubuntu

dd cloning of whole disk

I am using 'dd' to clone an entire hard drive which only has Ubuntu 11.10 and some data with no special options. The disks are both 1Tb, However, I did re-partition the target disk with gparted successfully. The new partions are not the same size as the source disk. When starting 'dd' no partitions... (24 Replies)
Discussion started by: Royalist
24 Replies
VGIMPORTCLONE(8)					      System Manager's Manual						  VGIMPORTCLONE(8)

NAME
       vgimportclone - import and rename duplicated volume group (e.g. a hardware snapshot)

SYNOPSIS
       vgimportclone [-n|--basevgname VolumeGroupName] [-i|--import] PhysicalVolume [PhysicalVolume...]

DESCRIPTION
       vgimportclone is used to import a duplicated VG (e.g. hardware snapshot).  Duplicate VG(s) and PV(s) are not able to be used until they are
       made to coexist with the origin VG(s) and PV(s).  vgimportclone renames the VG associated with the specified PV(s) and changes the  associ-
       ated VG and PV UUIDs.

OPTIONS
       See lvm for common options.

       -n|--basevgname VolumeGroupName
	      By  default  the	snapshot  VG  will be renamed to the original name plus a numeric suffix to avoid duplicate naming (e.g. 'test_vg'
	      would be renamed to 'test_vg1').	This option will override the base VG name that is used for all  VG  renames.	If  a  VG  already
	      exists with the specified name a numeric suffix will be added (like the previous example) to make it unique.

       -i|--import
	      Import exported Volume Groups.  Otherwise VGs that have been exported will not be changed (nor will their associated PVs).

ENVIRONMENT VARIABLES
       LVM_BINARY
	      The LVM2 binary to use.  Defaults to "lvm".

EXAMPLES
       The  origin VG vg00 has origin PVs /dev/sda and /dev/sdb and the respective snapshot PVs are /dev/sdc and /dev/sdd.  To rename the VG asso-
       ciated with /dev/sdc and /dev/sdd from vg00 to vg00_snap (and to change associated VG and PV UUIDs) do:

	    vgimportclone --basevgname vg00_snap /dev/sdc /dev/sdd

SEE ALSO
       lvm(8)

Red Hat, Inc.						 LVM TOOLS 2.02.95(2) (2012-03-06)					  VGIMPORTCLONE(8)
All times are GMT -4. The time now is 12:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy