Questions tagged [disk-image]

a disk-image is an exact copy of a disk, partition or volume, or the process of making such a copy.

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

Can I use a KVM image of Debian as a bootable image for a laptop?

I'm given the task to create a unified Debian image for all my teammates laptops. My plan is to create a KVM with all the necessary software and settings and copy this image later with dd to the hard ...
user avatar
  • 4,927
-1 votes
0 answers
7 views

backup strategy for pc [migrated]

im thinking about a backup strategy for the follow scenario: W11 machine with 2 Disks: onboard SSD 256 + some cheap HDD the goal is to create in AUTOMATIC mode, a full booteable disk every sunday from ...
user avatar
0 votes
0 answers
26 views

How to "upgrade" an image based on QCOW2?

I have a few VM images based on a minimal QCOW2 image (say release 15.2). Each VM's configuration is stored in a persistent image. Now, when there is a newer QCOW2 image (say release 15.3), how would ...
user avatar
  • 262
0 votes
1 answer
40 views

Creating/Deploying Windows Server 2019 Image on multiple servers

I manage servers that are all identical in terms of hardware and software. The only differences are hostnames and IP addresses. I've been researching how to clone the OS across these to speed up ...
user avatar
  • 261
0 votes
1 answer
24 views

Extract the content of the image from which the Windows workstations are installed?

I am just developer who tries to debug one nasty error that happens only on the workstations that are built/installed from some corporate image of the Windows workstation. I have no idea what "...
user avatar
  • 111
0 votes
1 answer
217 views

How to determine disk image file format: VMDK, VHD or raw file format?

Is there any shell command using which I can determine the format of a disk image file? I want to check that disk image file is in which of these formats: vmdk, vhd of raw file.
user avatar
0 votes
1 answer
319 views

Disk snapshot size created from a google compute engine exceeds used space

I have a Google Compute Instance (VM) that has a 2TB disk and around 80GB used space. I wanted to archive this VM so that I don't get billed for the whole 2TB, and also so that it is ready to be ...
user avatar
  • 1
0 votes
0 answers
158 views

Disk disappeared after umount and reboot

I had a disk which disappeared: # df -h Filesystem Size Used Avail Use% Mounted on . . /dev/mapper/vg1-osblv02 5.0T 61G 4.7T 2% /data/osb-pool-1 /dev/mapper/vg01-osblv01 ...
user avatar
  • 123
5 votes
6 answers
4k views

RAID 1, vs RAID 6 vs RAID 10. What is most secure and reliable for my needs?

Here is what I need to achieve. I have a work PC with 2xSSD one for O.S. and software, and the second smaller for storing data. Currently I backup my data on an external HDD and on the cloud, I also ...
user avatar
  • 151
0 votes
0 answers
19 views

Virt Block device resizing [duplicate]

I am attempting to expand the size of a virtual disk on an existing image. I was successful to expand the virtual hard disk and partition thanks to this guide, but noticed my virtual disk was still ...
user avatar
0 votes
0 answers
47 views

Windows 10 Image deployment and license activation

I'm working on a small embedded system with windows 10 as operating system. We plan to install OS and other configuration using an image from a USB stick since the computer isn't networked. We have ...
user avatar
0 votes
0 answers
38 views

disk-image-builder create command fails with status 1

Here is the command which is failing for disk-image-create command: disk-image-create -a amd64 -o ./overcloud-full -t qcow2 -p python-psutil,python-debtcollector,sos,device-mapper-multipath,openstack-...
user avatar
  • 101
0 votes
0 answers
264 views

How do I recover a broken logical volume group?

I created a logical volume group for my xen VMs on a separate drive. I had them working perfectly. Then I accidentally unplugged the USB cable hosting my vg0. Now my VMs drives cannot be detected. I ...
user avatar
  • 123
0 votes
1 answer
230 views

losetup mounts disk image as one device. How to loopback the partitions seperately?

I have a disk image with 2 partitions. When I do #losetup -f <file> only /dev/loop0 appears. How do I make /dev/loop0p0 and /dev/loop0p1 appear? Using #parted /dev/loop0 it does show the 2 ...
user avatar
  • 103
0 votes
1 answer
76 views

RHEL specific version images not available in Google Cloud Platform

When trying to create VM instances in GCP compute Engine, only RHEL latest versions images are available for each release. RHEL 7.9 and RHEL 8.3 are available. But unable to find RHEL 7.6/7.7/7.8/8.1/...
user avatar
5 votes
2 answers
104 views

Advice on replicating Hyper-V server image

What would be some recommendations for replicating a Windows Server 2019 system image that also contains a couple of Hyper V VMs? I have several identical new Dell Edge servers to set up. Setup ...
user avatar
0 votes
1 answer
212 views

ESXi management fails, refusing connections, after copying in the boot drive from a backup

I’m writing this after having found the solution myself, because it was such a strange “gotcha” it deserves to be documented. Although I hit this issue while doing a restore, it’s possible this could ...
user avatar
  • 1,530
1 vote
1 answer
45 views

How to read binary contents of free disk space in CentOS

Is there a way I can use dd or another tool to view the binary contents of free disk space in CentOS? In case it matters, it's a Linux logical volume with XFS format, holding data only (not a common ...
user avatar
0 votes
1 answer
303 views

Cannot create VM with uploaded image on Openstack (Devstack)

I am working on a very simple project with Openstack, using Devstack. Currently, I've been able to make networks, routers, Vm's without many issues. But here is where I am having trouble. I've created ...
user avatar
0 votes
0 answers
216 views

How to Lift and Shift from OpenStack to GCP?

I have previously had an OpenStack based cloud environmnent in which I had virtual servers. I have migrated to GCP and while I've refactored everything to be cloud native (and especially k8s), I'd ...
user avatar
  • 145
0 votes
2 answers
119 views

How to create GCE machine image without including unmounted disks?

I created a machine image on GCE from a running ubuntu VM which has an "additional" disk available to be mounted. That disk is mounted for backups, then dismounted, and was not mounted at ...
user avatar
1 vote
2 answers
717 views

Is there a good way to shrink disk usage of sparse file containing luks-encrypted btrfs file system image?

I've created a sparse file filesystem.img, formatted in with cryptsetup luksFormat, created a btrfs filesystem on it. The image file disk usage expanding fine while adding files to the btrfs ...
user avatar
  • 126
0 votes
1 answer
150 views

gcloud compute engine - multiple full backups / snapshots / machine images?

On a gcloud debian vm instance, I would like to create full backups and rotate them, e.g. one per day of week one per week one per month one per year That is, each daily would get over-...
user avatar
  • 1
0 votes
0 answers
60 views

Make an image from entire ESXi host

For some reasons, I need to make an image from entire ESXi host. It is a physical server, I don't know the root password. It's ESXi 6.0 standalone host. I want to make a copy from entire server, ...
user avatar
  • 1
0 votes
2 answers
635 views

Compute Engine - 1000 GB disk cant decrease size

i have a huuuuge problem. Created a snapshot and image from my instance...instance has 1000GB of disk. Now i need to reduce it but everytime i try to create an image or a snapshot from that, i get ...
user avatar
  • 101
7 votes
5 answers
3k views

How to write a sparse Linux (EXT4) disk image without writing gigabytes of zeros?

I have a 64 GB Linux disk image with ~50 GB of unused space across the partitions. The file is sparse, so it only takes ~14 GB on disk. But if I dd the image, it writes the full 64 GB, which takes ...
user avatar
0 votes
0 answers
60 views

How can I automate the installation of an Ubuntu image using a USB device?

I have to automate the installation of a Linux image. The perfect behavior would be that I plug the USB, turn on the device and it runs the dd command in order to flash the image stored in the USB ...
user avatar
1 vote
2 answers
988 views

Automatically extend VM partition filesystem following a qemu-img resize

I'm launching a virtual machine with QEMU/KVM. After resizing the qcow2 disk image via qemu-img resize Test.qcow2 +500M And looking at the instance disk via: fdisk -l inside the instance, I can ...
user avatar
  • 11
2 votes
1 answer
823 views

Updating a single file in a CPIO archive

I have a CPIO archive with the Linux image on it. With binwalk I can see that there are the following chunks: DECIMAL HEXADECIMAL DESCRIPTION ------------------------------------------------...
user avatar
  • 133
-1 votes
1 answer
216 views

ClearLinux on Openstack

I'm having trouble getting ClearLinux to work on OpenStack. From their download source, based on their sites download page & documentation, I've tried clear-29690-cloud.img, clear-29690-cloud-...
user avatar
  • 157
-1 votes
2 answers
169 views

VM image vs Phyical server image?

I often hear its easy to create the image of one VM and setup it another VM(even instance types are of different types) than creating the image on physical server. In fact one of the devops guy in ...
user avatar
1 vote
0 answers
49 views

Multi-OS imaging strategy

I've been backup up my Windows system to an external 2TB WD drive for a while, but not my CentOS server. Most of the code I write lives on GitHub so I haven't been concerned about it. I'm currently ...
user avatar
-1 votes
1 answer
118 views

live server disk image backup data integrity

I've been looking for a way to do a disk image backup of a running linux server. There are several questions which answer this, like How to make a disk image, Mirror Live Linux (Debian) Server, Linux ...
user avatar
1 vote
2 answers
3k views

How to resize lxc/lxd images, if i am using LVM backend?

I'm using LXD few years and I'm glad to use this platform in my testing environment. But few days ago, I couldn't install Microsoft SQL server 2017. The reason was, that I used default ZFS backend. ...
user avatar
  • 501
0 votes
1 answer
558 views

Clonezilla from single USB stick / pen

I am trying to create a custom clonezilla installer, as a tool to refresh our standard machines from memory stick. I can customise the start menu fine from syslinux/syslinux.cfg just fine, but I ...
user avatar
1 vote
1 answer
947 views

Hyper-V virtualization with google compute engine image

I am trying to download an image from my Google Compute Engine VM Instances in Google Cloud Platform and I'm following this article to export the image to a GCS Bucket and download it locally. I need ...
user avatar
0 votes
1 answer
68 views

Do all disks advertised as xyz-GB have exactly the same byte size?

I must setup a system where i can do a "dd if=/dev/sda of=/dev/sdb" to a backup and the reverse. This means i need disks to have exactly the same number of byte or i will run in trouble. It's not ...
user avatar
  • 781
0 votes
1 answer
383 views

How to re-enable test mode when deploying Windows 10 wim image with Dism?

I am upgrading about 200 machines in my lab from Windows 7 to Windows 10, and as part of the upgrade, I am also converting the file system on the machines to GPT. I am doing this as an automated ...
user avatar
0 votes
2 answers
3k views

Azure: How to attach data-disks on VM startup, formatting if necessary

I want to provision an Azure VM with Terraform and configure it by using a custom AMI created by Packer. I want an attached, snapshotted, managed data-disk. I want to use Oracle Linux 7.4 What is ...
user avatar
2 votes
2 answers
4k views

What steps are needed after cloning from a image Ubuntu to new system? (sysprep, unconfig)

I have an imaged (clonezilla) system image of a Ubuntu setup with a bunch of settings. Now I am wondering, what needs to be changed if I use the clonezilla image to create always new systems from this ...
user avatar
  • 277
1 vote
2 answers
645 views

Copy a disk in another VM in Azure (using Graphic Interface)

I'd like to copy a disk of a VM and use it in another VM. I see that there are many tutorials to do it, but they suggest to use PowerShell, bash, ecc. But I don't want to spend time to learn how to ...
user avatar
  • 121
1 vote
1 answer
10k views

How do I generate a bootable .iso file from a directory?

Currently, I have selected a distribution of Linux that I like a lot and I have downloaded the .iso image which I can simply dd to an USB or CD media, etc... I would like to add some additional data ...
user avatar
  • 121
1 vote
1 answer
219 views

Find out exact location of GRUB / GRUB not working after copying disk image

I prepared an Ubuntu server image with VirtualBox. To transfer the image to the server's SSD I first dded the MBR (512 bytes) and then the LVM partition (PV containing the root partition shrunk to 3GB)...
user avatar
0 votes
0 answers
25 views

KVM: Cloning RHEL server on 2 disk images onto 1 disk image

We currently have a RHEL VM that is running from 2 disk image files (excuse my terminology if it is incorrect). Is there a way of cloning these 2 disks to create a 1 disk image?
user avatar
2 votes
1 answer
4k views

KVM image format convertion: raw thin provisioning to raw preallocated

I'd like to convert a KVM virtual machine disk image in raw file from a thin privisioning format to preallocated. In the first place I've got a preallocated 20Gb raw image file: image: /var/lib/...
user avatar
-1 votes
1 answer
32 views

What to do if system administrator does not support system image? [closed]

In case of a system failure, I wanted to create a system image. However, it requires administrative password. System admin asked me why you want to create a system image; because we don't support it ...
user avatar
0 votes
1 answer
141 views

Automatic Image Deploy from Network to Multiple Different Machines

We have multiple different "computers" that uses SD card like drives to store Windows. Those Windows are written to those cards with HDD Raw Copy. Every couple of weeks we manually Write ...
user avatar
3 votes
1 answer
956 views

How to shrink btrfs image file used by LXD storage?

I have btrfs image file set as backend for LXD (2.18) but I would like to shrink it's size. What I did: mounted image to loop device losetup /dev/loop1 /home/btrfs.img mounted device to /mnt dir ...
user avatar
2 votes
2 answers
2k views

Is there a way to relate the mac address of a machine to it's hostname when deploying images over a network?

This is a os-agnostic question; When deploying to a large number of machines, the only thing you have to differentiate them with is a mac address; DHCP can assign an IP to each machine based on it's ...
user avatar
  • 4,767
0 votes
1 answer
254 views

Is it appropriate to use Docker for both long-running and short-running processes together?

Suppose I'm building a microservice that resizes and optimizes image files. It's a long-running daemon which provides an HTTP API responding to standard GET/POST responses. Based on my knowledge of ...
user avatar
  • 1,194

1
2 3 4 5