How do I move a raw disk image from LVM-thin?

BigBulb

New Member
Jul 26, 2026
16
1
3
I encountered an error trying to start one of my containers; the error had something to do with space shortage on the container which I didn't understand because there should've been enough space for that container and there weren't that much things on it, so I tried deleting that container so that I could restore it from my backup. When I restored it, I found that the data I had on a pair of separate mirrored disks were gone. On those mirrored disks, I had a disk raw file with some data, but it looked like that the raw image that I need was moved to LVM-thin and I don't know how to move them back.

The Proxmox system is installed on a 120gb SSD and the mirrored drives are 2x4tb hard disks. The LVM-thin is 52.98 GB and the usage of that space is 100% because that raw disk image is more than that capacity. The disk image was meant to be in a storage directory on the mirrored disk, but that directory is empty and shows 0 space usage, but the image of 4tb size is in the vm disks tab. On the CT volumes in the LVM-thin tab, there's a disk image of 2.93TIB which should be the thing I want to move back. I'm new to all this and I obviously did things the wrong way somewhere.
 
Last edited:
Check what's mounted:
lsblk -f

Then what your storages point at:
cat /etc/pve/storage.cfg

If the mirror is unmounted, your data is intact and this is a mount fix rather than a recovery job.
 
I added the mirrored drives to fstab to mount automatically, so they would be mounted.
Code:
NAME                         FSTYPE      FSVER    LABEL UUID                                   FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                                                        
└─sda1                       ext4        1.0            2faf5eb2-949a-40a3-9ad1-540ac038a173      3.4T     0% /mnt/pve/library
sdb                                                                                                        
├─sdb1                                                                                                    
├─sdb2                       vfat        FAT32          F54A-3820                                1013M     1% /boot/efi
└─sdb3                       LVM2_member LVM2 001       4m1Sq0-tmlV-lxzD-pR9w-j3jA-anMD-ex78nb            
  ├─pve-swap                 swap        1              06a90f44-efcc-439b-bd0b-233dca100fcb                  [SWAP]
  ├─pve-root                 ext4        1.0            a2283557-3f85-430d-afa5-a26e4f5e6136     29.3G    15% /
  ├─pve-data_tmeta                                                                                        
  │ └─pve-data-tpool                                                                                      
  │   ├─pve-data                                                                                          
  │   └─pve-vm--100--disk--0 ext4        1.0            7b64233f-891d-41fb-8f8d-4b683f6d4344              
  └─pve-data_tdata                                                                                        
    └─pve-data-tpool                                                                                      
      ├─pve-data                                                                                          
      └─pve-vm--100--disk--0 ext4        1.0            7b64233f-891d-41fb-8f8d-4b683f6d4344              
sdc                                                                                                        
sdd                                                                                                        
└─sdd1                       ext4        1.0            385d2ac5-0908-409c-9e3b-79089cbeca3a
Local-lvm doesn't have a path like the others on the list after using the cat command
Code:
lvmthin: local-lvm
        thinpool data
        vgname pve
        content images,rootdir
 
Last edited: