Questions tagged [cloning]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
40 views

Local Backup Solutions for LEMP Server (Full Clone to an ISO file, and Incremental backups)

BACKGROUND I still consider myself sort of a noob when it comes to setting up server. So when answering this question, please give as much detail as possible in your answers. ENVIRONMENT I run a LEMP ...
user avatar
  • 63
1 vote
1 answer
1k 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 ...
user avatar
4 votes
2 answers
154 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 ...
user avatar
  • 141
3 votes
1 answer
650 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 ...
user avatar
  • 143
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 ...
user avatar
  • 1
1 vote
2 answers
134 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 ...
user avatar
  • 123
0 votes
0 answers
141 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 ...
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 ...
user avatar
1 vote
1 answer
69 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 ...
user avatar
0 votes
1 answer
6k 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 ...
user avatar
0 votes
2 answers
707 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 ...
user avatar
  • 111
0 votes
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 -...
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. ...
user avatar
1 vote
0 answers
271 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 ...
user avatar
0 votes
1 answer
46 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/...
user avatar
  • 123
1 vote
1 answer
812 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....
user avatar
  • 173
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 ...
user avatar
  • 173
-1 votes
2 answers
96 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 ...
user avatar
  • 283
22 votes
3 answers
60k 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 ...
user avatar
  • 273
1 vote
1 answer
2k 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 ...
user avatar
  • 113
1 vote
1 answer
472 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 -...
user avatar
1 vote
2 answers
563 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 ...
user avatar
  • 11
-2 votes
1 answer
107 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....
user avatar
-2 votes
2 answers
2k 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....
user avatar
5 votes
4 answers
27k 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 ...
user avatar
  • 61
5 votes
0 answers
206 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 ...
user avatar
  • 269
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, ...
user avatar
  • 133
4 votes
0 answers
70 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. ...
user avatar
0 votes
1 answer
457 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 ...
user avatar
  • 5,378
1 vote
2 answers
648 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 ...
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. ...
user avatar
  • 1,624
0 votes
2 answers
1k 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 ...
user avatar
-3 votes
3 answers
415 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 ...
user avatar
  • 5
1 vote
1 answer
973 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 ...
user avatar
2 votes
1 answer
256 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 ...
user avatar
2 votes
2 answers
1k 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 ...
user avatar
0 votes
1 answer
53 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 ...
user avatar
1 vote
1 answer
816 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 ...
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 ...
user avatar
1 vote
0 answers
86 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 ...
user avatar
  • 295
2 votes
2 answers
5k 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 ...
user avatar
  • 1,218
1 vote
0 answers
521 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, ...
user avatar
  • 735
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?
user avatar
  • 245
3 votes
4 answers
6k 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 ...
user avatar
  • 245
1 vote
1 answer
285 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, ...
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) ...
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 ...
user avatar
0 votes
3 answers
875 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 ...
user avatar
0 votes
3 answers
12k 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 ...
user avatar
  • 837
5 votes
3 answers
972 views

What options do I have to clone a physical server as easily as a virtual machine?

We use virtual machines a great deal at my company, Hyper-V mainly but we have also dabbled with ESXi plus vCenter. Besides the traditional advantage of being able to consolidate many physical ...
user avatar
  • 641