Questions tagged [cloning]

Creating an almost identical copy, for example of a computer installation or a hard disk.

Filter by
Sorted by
Tagged with
1 vote
1 answer
119 views

copying one virtual raid disk to another using dd

Using a Dell-Perc Raid controller in Ubuntu I have a virtual disk as a raid 0 array composed of 4 physical drives (1Tb SSDs). I would like to copy the virtual disk onto another virtual disk also raid ...
haz's user avatar
  • 111
0 votes
2 answers
327 views

How to access the contents of VMDK file in the ESXi host?

We have a number of computers based on the old HP ProLiant Gen1 blades, and we are going to get rid of that. It is impossible to reinstall the software which is licensed and support requirement are ...
Nikita Kipriyanov's user avatar
1 vote
2 answers
5k views

Why Linux "dd" is erroring with "no space left on device" while copying a single partition to a smaller device?

I'm trying to copy the single partition /dev/sda1 to /dev/sdc1, but I'm getting the error "no space left on device" and I honestly don't get why. I'm working on an Oracle Cloud ...
Massimo Pasquini's user avatar
5 votes
2 answers
621 views

How is TRIM handled when cloning a disk with dd?

The TRIM command allows an OS to inform an SSD which sectors contain data, and which are free. This allows the disk to re-use free sectors internally and improves wear leveling. Now, if an SSD is ...
sweber's user avatar
  • 151
3 votes
1 answer
936 views

Copy VM with Import-VM or New-VM?

I am writing a PowerShell script to clone existing hyper-v VMs/ create new VMs based on a template. Where ever I look the cmdlets Export-VM and Import-VM are used. However the cmdlet New-VM has the ...
T-Me's user avatar
  • 163
0 votes
1 answer
1k views

Azure Windows VM restore to new copy from backup when PC joined to domain

I have a VM that is running in Azure, and joined to our domain (also in Azure). I need to restore a copy of this VM to a new machine, however because the computer is joined to domain I have issues ...
George's user avatar
  • 1
1 vote
2 answers
175 views

Will cloning windows drive to put in VM on same hardware require re-activation/re-licensing?

I want to clone a Windows hard drive and use it for a Virtual Machine on the same hardware. Basically I want to swap the main OS for the machine to run a stable Linux OS and have the Windows OS run ...
Tim's user avatar
  • 123
0 votes
0 answers
265 views

When a hard drive is cloned, will the certificates in IIS be cloned as well?

I want to upgrade my mechanical hd with SSD. I have a number of SSL certificates that I "created" and "completed" on the IIS server. My question is when I clone the mechanical hd with SSD, will the ...
Regmi's user avatar
  • 207
5 votes
2 answers
2k views

any issues with file-copy Git Repo to another machine (and keep working from both)?

I want to copy all my git repos from my old machine to my new machine (both Ubuntu). I will keep using both machines... I am doing this primarily out of laziness (well: there are for some local ...
Frank N's user avatar
  • 610
1 vote
1 answer
72 views

Is it possible to pass information (e.g. updates) from hyper-v base vm to differencing vms?

Hi everybody (first post, so please don't kill me), I have a hyper-v host which contains several vms (Server 2016, W10). Right now, I have to update (e.g. windows update) every single one of them. My ...
chronowerx's user avatar
0 votes
1 answer
7k views

HDD cloning with dd

I'm cloning a larger HDD(750GB) to a smaller SSD(250GB). I shrunk the partitions and there is only 83gb of used space. (I defragmented and did a chkdsk). Also, sum of partition sizes is smaller than ...
user463133's user avatar
0 votes
2 answers
854 views

How to clone Linode virtual machine to local Hyper-V VM?

Is it possible (somehow easily) to clone an existing Linode virtual machine, which is based on Ubuntu 14, to our own Hyper-V environment as an Ubuntu 14? Or is it possible to clone (files, setting ...
Timo77's user avatar
  • 131
1 vote
1 answer
3k views

Ubuntu 17.04 virt-clone ERROR missing source information for device sdx

I am on Ubuntu 17.04 server using KVM I tried to clone a vm after stopping it... I actually could not do a shutdown, so I did a destroy. visrh destroy origVM Then I tried cloning using: virt-clone -...
Fawzi Masri's user avatar
2 votes
3 answers
1k views

centos7 xfs lmv cloning on smaller device

I'm going to repropose a question posted on stackoverflow a week ago, I'm sorry if someone found this spam but I still need help to solve this issue. I thought it could be useful also for others. ...
rivaldid's user avatar
1 vote
0 answers
320 views

Cloning SAS RAID1 array with OS partition to a new SATA array?

I have two RAID1 arrays, first one is made of SAS disks and that's where the OS (Win Server 2k8 r2) is, the second RAID1 array contains SATA SSDs (and hold the database). Server is IBM's System x3650 ...
Dom Delimar's user avatar
0 votes
1 answer
47 views

Openshift - when cloning existing app, updating files on `~/.env/user_vars` raises `Permission denied`

after cloning the existing openshift app using rhc app create dev --from-app sample/live, I push the repo to execute the build. Then it raises an error while building. server reponse: ... ~/.env/...
marlo's user avatar
  • 123
1 vote
1 answer
879 views

SysPrep windows 2012 r2 for VM cloning

I'm trying to SysPrep a 2012 r2 std edition VM that I built which has IIS already configured for my website as well as some additional applications already installed and configured the way I need them....
Aaron's user avatar
  • 193
1 vote
1 answer
2k views

Sysprep for EC2 instances

AWS' documents on creating a custom image reference using sysprep as one of the steps in the creation process. They don't actually specify if it's a required step or if it is run automatically as ...
Aaron's user avatar
  • 193
-1 votes
2 answers
110 views

Clone a RHEL 5 box into a smaller disk

I'm trying to clone a physical RHEL 5 box into VMware. That box contains a 1 TB disk which is hardly used (80 GB). Thus I want the new virtual machine to have a 100 GB disk instead of wasting a new 1 ...
Jdamian's user avatar
  • 285
22 votes
3 answers
62k views

Cloning Virtual Machine On Azure, keeping existing

There doesn't seem to be a straight answer online about this. I have an existing Virtual Machine on Azure and I want to clone it to another region in case my existing server goes down. It needs to be ...
exposure's user avatar
  • 283
1 vote
1 answer
3k views

How do I clone a single drive onto a new RAID 1 array?

Here's a little background on the situation at hand. I have a DELL Precision T7600 at work that I'm responsible for maintaining, which just lost a hard-drive, thankfully just the /home directory was ...
rivanov's user avatar
  • 113
1 vote
1 answer
546 views

Does `ntfsclone --save-image' attempt to read bad sectors?

I'm migrating from an HDD with NTFS that has a number of bad sectors. I've just run chkdsk /r (from ERD 6.0 x32) on it to make sure they all are properly marked as such. Yet, when running ntfsclone -...
ivan_pozdeev's user avatar
1 vote
2 answers
701 views

kvm raw disk cloning

I have a kvm guest machine on raw disk that I would like to clone so that I could restore it to another kvm host machine on lvm with drbd. I need to do this without any or as little downtime as ...
Kay's user avatar
  • 11
-2 votes
1 answer
166 views

What happens when I copy an AWS EC2 Instance from one region to another?

What exactly gets transferred when I copy an AWS EC2 Instance from one region to another? Do all the packages installed using yum get transferred? Are all the core packages (with my added content - e....
Tom Granot's user avatar
-2 votes
2 answers
3k views

CentOS 6.7 Completely remove RAID. Clode disks and boot from /dev/sda [closed]

I am completely new to Linux. I have inherited a dedicated server hosted somewhere in Germany. The OS is CentOS release 6.7 (Final) 64bit. The server has two 3TB disks in software RAID-1 configuration....
ChD Computers's user avatar
5 votes
4 answers
30k views

Cloning LVM partitions

I need to clone a CentOS installation from a 1TB disk partitioned with LVM, to several identical machines. The disk is mostly empty since only the operating system and some software are installed and ...
Manuel's user avatar
  • 61
5 votes
0 answers
219 views

How to clone the OS disk and keep both disks plugged in?

Here's the situation: A Windows RAID 1 has partially failed. The broken disk was replaced with a new disk. The old two disks do not have Advanced Format (bigger sector size). The new replacement disk ...
boot4life's user avatar
  • 279
2 votes
1 answer
4k views

Do I need to use Sysprep to clone VMs on my personal lab? [closed]

I’m a programmer and I’m trying to build up my personal Lab. I have a machine with Hyper-V Standalone Server 2012 R2 installed. I need to create VMs which will be used for testing applications, ...
atiyar's user avatar
  • 133
4 votes
0 answers
71 views

Raid 1 seeding to speed up identical installs [closed]

I was thinking of installing Ubuntu on one of our Dell servers in a RAID 1 configuration, then using the mirrored drive as the primary drive in a second identical server with another RAID 1 setup. ...
TestTech's user avatar
0 votes
1 answer
481 views

Clone a VirtualBox VDI to make a second DRBD node

A primary node has been built up in a VirtualBox (guest RHEL 6 + DRBD). In order to get a second node with the same configuration, a VirtualBox cloning operation seems ideal easiness declare the ...
Déjà vu's user avatar
  • 5,566
1 vote
2 answers
688 views

Is HD, SSD or SD card cloning a good practice?

Cloning is very convenient if multiple identical systems need to be created. But I have the following concern. As far as I know during formatting of file system and even during it's use a bad disk ...
Linas's user avatar
  • 19
1 vote
1 answer
9k views

how to clone a VM on LVM to another in KVM?

On a Debian wheezy i installed KVM for virtualization and install some VMs on it. I use separate LVM disks because of its performance for my VMs disk. Now i need to clone one of them in new LVM disk. ...
shgnInc's user avatar
  • 1,804
0 votes
2 answers
2k views

Upgrade Hard Drive - Keep domain membership?

If I upgrade my laptop hard disk by cloning it to an SSD with PartedMagic will my computer fall out of the domain to which it is a currently a member? Doing some Google searching and it doesn't look ...
user297213's user avatar
-3 votes
3 answers
423 views

Cloning options for workstations [closed]

So far I have not used cloning as an option for new computers, but now I have a problem because i need to install about 50 computers with the same setting and installed programs. How do you ...
sergio's user avatar
  • 5
1 vote
1 answer
1k views

Cloning OpenVZ container

I have an OpenVZ container on 1 host and I would like to clone it over to my server. both run SolusVM. I only have root access to my server and would like to host the container on my server now. Can ...
Tiffany Walker's user avatar
2 votes
1 answer
320 views

Why did cloning my Amazon EC2 node set off automatically generating a new ssh host key pair?

My normal backup process is to create a new AMI from an EC2 instance I have running Amazon's linux. This is convenient because the EC2 console automatically shuts down the node , makes a copy and ...
HeyWatchThis's user avatar
2 votes
2 answers
2k views

How to create multiple clones of a VM in KVM/libvirt?

I (will) have a VM in libvirt (using QEMU/KVM) that I will set up and consider the "gold master". I would then like to be able to clone it 'n' times to create multiple systems. What is the best way to ...
Will Dennis's user avatar
0 votes
1 answer
60 views

Mirroring Server Setup

My boss has purchased 4 Mac mini servers, and I was wondering if anyone knew if there was a way to mirror their installations, meaning whatever is installed on one can be mirrored to the rest. I was ...
clifford.duke's user avatar
1 vote
1 answer
885 views

ddrescue - cloning a device

I am running the following command [root@localhost ~]# ddrescue -vf /dev/sdf /dev/sdg rescue.log Do I need to do anything else after that to make the drive bootable? One place said I should do a ...
Tiffany Walker's user avatar
0 votes
2 answers
1k views

Using dd command and running out of space while cloning drive to img

I have a problem with drive cloning. Im using dd on damaged disk with bad sectors trying to make an image from it. Im booting computer with Live Linux CD . Damaged disk: sda 146GB (NTFS) External ...
Alan's user avatar
  • 403
1 vote
0 answers
87 views

systemimager and sun grid engine queuing system

I'm about to install our new cluster. I've installed the first node and used it for golden-image. As a queuing software we use SGE (Sun Grid Engine). After installing of the first node I tested ...
Kris_R's user avatar
  • 305
2 votes
2 answers
6k views

Removing a cloned virtual machine from an AD domain

Scenario: we're in the process of setting up central virtualised server that acts as a demonstration environment. This VM (running Windows 7) will be cloned and put on sales laptops so demonstrations ...
Chris J's user avatar
  • 1,218
1 vote
0 answers
604 views

How to clone a Linux server on EC2

Hi have a linux server on EC2 and I created a snapshot from that server, the the snapshot has been used to create an AMI, then I created an instance from the AMI. I always get a file system error, ...
rtacconi's user avatar
  • 745
1 vote
3 answers
2k views

Can I "clone" Hyper-V VM's to a physical hard drive then use it in a real PC?

I have Windows Server 2008 R2 with Hyper-V. Can I create a Virtual Machine, install Ubuntu 11.10, then "clone" it to a real physical hard drive for use as a real OS in a physical PC?
A.B. User's user avatar
  • 245
3 votes
4 answers
7k views

How to clone pfsense 2.0 (FreeBSD) server for backup?

I'd like to routinely clone my live pfSense 2.0 server for backup purposes. I am a FreeBSD n00b. What I'm doing now: 1. Manually install pfSense to an identical hardware 2. Backup config file from ...
A.B. User's user avatar
  • 245
1 vote
1 answer
286 views

If I have /generalize arg, will that remove settings placed in Specialize phase?

I am currently working on .xmls for imaging on mass deployment. I want to do an unattended join to the domain and also get the drivers in the audit (sysprep) phase. But when I go from audit to OOBE, ...
Zero's user avatar
  • 315
3 votes
2 answers
1k views

Cloning a machine after SQL Server 2008 R2 Express installation

We're rolling out laptops to some of our staff that will require SQL Server 2008 R2 Express be installed. We'd naturally prefer to do the setup of the laptops (including the installation SQL Express) ...
Larry W's user avatar
  • 31
4 votes
3 answers
4k views

Cloning a guest KVM instance with with a new IP address

I had an Ubuntu 10.4 VM running on another Ubuntu KVM host. I'd like to clone this VM but with a new IP address? I know that I would have to stop my VM, clone it, somehow give it a new IP address and ...
Mridang Agarwalla's user avatar
0 votes
3 answers
889 views

Cloning & resizing Server 2003 partitions with gparted, some questions

Ok, so the situation I have is this. I've got a couple of Dell PowerEdge 2950's that are running out of drive space on the boot volume, they have a perc 5/i hardware Raid Controller. I've bought 4 ...
f1gm3nt3d's user avatar
0 votes
3 answers
13k views

Converting a physical Windows 98 machine to a Virtual machine

I need to convert a physical Windows 98 laptop to a virtual machine. I need to do this because I need to migrate an old application which still is used, and cannot run natively on Windows 7. Any ...
redknight's user avatar
  • 857