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.
250
questions
-2
votes
0
answers
12
views
bubbly-poetry-305620 - project 1002104319008 - no access [closed]
Good afternoon, we had a problem while hanging the bank account, abviously the old card used for payments was dismissed and the new one took a while in order to be ready...
That said the project is ...
2
votes
2
answers
362
views
Do I need to verify file integrity after running qemu-img convert?
I'm running some v2v conversions to convert disk images from .vmdk to .img using the qemu-img convert utility. The .vmdk file is stored in the RAW format and the output .img file is also going to be ...
-1
votes
2
answers
119
views
Disk cloning or mirroring technology for on a running Linux OS or Windows OS? [closed]
part1
Is there a technology for disk cloning and backup on a running Linux OS or windows OS?
Clonezill: the operating system running the business must be stopped,
booted from a live CD, and then the ...
0
votes
0
answers
55
views
Not able to SSH into the Compute Engine created by using the Packer Template in GCP
Packer Installation on Local machine:
wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
echo "deb [signed-by=/usr/share/...
0
votes
1
answer
1k
views
vgcreate fails with 'already exists in filesystem' error
I have an installation test environment, where occasionally an issue is observed causing volume group creation to fail.
At the beginning of test, the disk contains four partitions.
# parted -l
Model: ...
5
votes
0
answers
9k
views
How do I convert a VMDK disk to QCOW2 using qemu-img without inflating the disk?
I'm converting some VMs from vSphere to KVM/QEMU but each time it inflates the thin provisioned disk.
Before converting the image from vmdk to qcow2, first I export OVAs or OVFs from vSphere to make ...
1
vote
1
answer
873
views
proxmox image import creates an 50GB disk regardless of image size
If I import a disk image for vm 101 from a raw image, it will create an 50GB disk image:
# qm importdisk 101 disk.img local-zfs
importing disk '446-jenkinsmite.img' to VM 101 ...
transferred 0.0 B of ...
2
votes
1
answer
1k
views
Efficient way to write a sparse partition to a disk image?
I generate an ext4 partition image that contains a minimal Debian file system, then write that partition image into a full disk image. I am looking for the fastest way to do the write.
Consider a ...
0
votes
1
answer
723
views
Add Partition Table to existing vhdx partition image
I have images of single paritions (not full disks) in vhdx format. I want to create VMs with Hyper-V with them. Since the images are only partitions the machines do not start.
How can I add the disk ...
0
votes
1
answer
44
views
Can I mksqashfs a whole Mint 20 OS then restore with unsquashfs on a different drive?
I have a very strict system with the bare minimum applications on for security reasons since I work with medical data.
Sometimes the laptops we use messup for one reason or another, won't boot, can't ...
0
votes
1
answer
269
views
Changing the disk type of vsphere VM using Rest API
I am looking for a way to convert my Vsphere VM disk type using REST API calls, like "Dependent" and "Independent-Nonpersistent".
i was searching in the documentation for Sphere 6....
2
votes
0
answers
252
views
How to make a virtual disk image out of several parts?
During a process of moving to a virtualized infrastructure I encountered the following curious problem.
We want to evaluate everything first. This involves creating a virtual images of all required ...
0
votes
0
answers
140
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 ...
0
votes
1
answer
499
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 ...
0
votes
1
answer
27
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 "...
1
vote
1
answer
2k
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.
0
votes
1
answer
848
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 ...
1
vote
0
answers
2k
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 ...
5
votes
6
answers
8k
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 ...
0
votes
0
answers
20
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 ...
0
votes
0
answers
929
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 ...
0
votes
1
answer
4k
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 ...
0
votes
1
answer
398
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/...
5
votes
2
answers
163
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 ...
0
votes
1
answer
2k
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 ...
1
vote
1
answer
115
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 ...
0
votes
1
answer
824
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 ...
0
votes
0
answers
618
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 ...
0
votes
2
answers
299
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 ...
1
vote
2
answers
2k
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 ...
0
votes
1
answer
219
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-...
0
votes
0
answers
259
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, ...
1
vote
2
answers
2k
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 ...
7
votes
5
answers
7k
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 ...
0
votes
0
answers
117
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 ...
1
vote
2
answers
2k
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 ...
3
votes
2
answers
3k
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
------------------------------------------------...
-1
votes
1
answer
349
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-...
-1
votes
2
answers
392
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 ...
1
vote
0
answers
53
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 ...
0
votes
1
answer
302
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 ...
2
votes
3
answers
4k
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.
...
0
votes
1
answer
1k
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 ...
1
vote
1
answer
1k
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 ...
0
votes
1
answer
91
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 ...
0
votes
1
answer
526
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 ...
0
votes
2
answers
5k
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 ...
2
votes
2
answers
7k
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 ...
3
votes
2
answers
3k
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 ...
2
votes
1
answer
17k
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 ...