February 7, 20206 yr Hello all. I think I have messed up a VM's disk image, but I'm having trouble understanding why / how. I had a vdisk raw image for a VM stored on a non-attached disk mount point /mnt/vmstorage. Using the shell, I used the move command (mv) to move the file to /mnt/user/domains/vmstorage/XubuntuHomeVM/vdisk.img. After the move completed, I edited the VM and pointed it to the new location. Now the VM will not boot. So I tried to see if I could access the files on the image or mount the image and no partitions are visible. This was an Xubuntu VM, but I don't remember the exact details of the file system on it. root@Sekhmet:/mnt/disks/vmstorage# fdisk -l vdisk1.img Disk vdisk1.img: 18.81 GiB, 20174798848 bytes, 39403904 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes root@Sekhmet:/mnt/disks/vmstorage# root@Sekhmet:/mnt/disks/vmstorage# losetup -f --show vdisk1.img /dev/loop4 No partitions are found on the disk when I set it up with losetup either. I can rebuild the VM, and the only important data is backed up. I just want to understand what I did wrong, or what could have caused this.
Archived
This topic is now archived and is closed to further replies.