How can I get my storage data back?

BigBulb

New Member
Jul 26, 2026
6
0
1
I had my Proxmox machine use a pair of HDDs in RAID1 to use for storing media files and it was set up as storage for Proxmox so my containers could use it. I had 4TB to use for storing media and I would have a container mount that drive. I wanted to update PVE from 8 to 9, so I backed up containers and copied the files from /etc/ that the wiki mentioned for upgrading. I tried to do the in-place upgrade, but I think it broke things, so I did a new installation. When I upgraded, I restored my container and it's like before, but I don't know where my files are that were on the HDDs. I mounted them to try to look for the files, but I can't find them, I can only see
Code:
dump  images  lost+found  private  snippets  template

Where are the files I saved? Why can't I just see files like I would with any disk drive?
 
I don*t understand:
a) you use raid1 on 2x HDD with what file- and Raid-Ssystem, mdadm, ext4, xfs?
b) And you have a other 4 TB HDD?
c) Where are your backup are saved? Can you tell us that?
d) on with device where and is now your Proxmox VE System is installed?
e) Do you know of the file in the tree of /var/lib/vz/ ?
 
b) And you have a other 4 TB HDD?
No, I only have one pair of HDDs that I was using to store media files and they're 4TB. I saved backups on flash drives and the PVE system is on a SSD that I use for system stuff and ISO images
Do you know of the file in the tree of /var/lib/vz/
I don't understand
 
Last edited:
Code:
dir: local
        path /var/lib/vz
        content backup,vztmpl,iso

lvmthin: local-lvm
        thinpool data
        vgname pve
        content images,rootdir

dir: library
        path /mnt/pve/library
        content snippets,images,rootdir,backup
        is_mountpoint 1
        nodes bigbulb
        shared 0

This is the old file I saved on USB. The "library" directory is what I used for the media disk drives on HDDs.
 
but I don't know where my files are that were on the HDDs. I mounted them to try to look for the files, but I can't find them, I can only see
dump images lost+found private snippets template
Another question: where have you mounted them? That is, in which directory on the PVE host?
 
Please share
Bash:
lsblk -o+FSTYPE,LABEL,MODEL
zpool status -vtLP
zfs list
df -hT
 
Last edited:
Please share
Bash:
lsblk -o+FSTYPE,LABEL,MODEL
zpool list -vtLP
zfs list
df -hT

Code:
NAME                MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS   FSTYPE      LABEL MODEL
loop0                 7:0    0   2.9T  0 loop               ext4            
sda                   8:0    0   3.6T  0 disk                                 WDC WD4002FFWX-68TZ4N0
└─sda1                8:1    0   3.6T  0 part /mnt/pve/library
                                                            ext4            
sdb                   8:16   0 111.8G  0 disk                                 KINGSTON SA400S37120G
├─sdb1                8:17   0  1007K  0 part                                
├─sdb2                8:18   0     1G  0 part /boot/efi     vfat            
└─sdb3                8:19   0 110.8G  0 part               LVM2_member      
  ├─pve-swap        252:0    0     8G  0 lvm  [SWAP]        swap            
  ├─pve-root        252:1    0  37.7G  0 lvm  /             ext4            
  ├─pve-data_tmeta  252:2    0     1G  0 lvm                                
  │ └─pve-data-tpool
  │   │             252:4    0  49.3G  0 lvm                                
  │   ├─pve-data    252:5    0  49.3G  1 lvm                                
  │   └─pve-vm--100--disk--0
  │                 252:6    0    12G  0 lvm                ext4            
  └─pve-data_tdata  252:3    0  49.3G  0 lvm                                
    └─pve-data-tpool
      │             252:4    0  49.3G  0 lvm                                
      ├─pve-data    252:5    0  49.3G  1 lvm                                
      └─pve-vm--100--disk--0
                    252:6    0    12G  0 lvm                ext4            
sdc                   8:32   1     0B  0 disk                                 Compact Flash
sdd                   8:48   1     0B  0 disk                                 SD/MMC
sde                   8:64   1     0B  0 disk                                 MS/MS-PRO
sdf                   8:80   1     0B  0 disk                                 xD-Picture

When I tried the second command it gave me an error

Code:
# zpool list -vtLP
invalid option 't'
usage:
        list [-gHLpPv] [-o property[,...]] [-j [--json-int, --json-pool-key-guid]] ...
            [-T d|u] [pool] [interval [count]]

the following properties are supported:

        PROPERTY             EDIT   VALUES

        allocated              NO   <size>
        bcloneratio            NO   <1.00x or higher if cloned>
        bclonesaved            NO   <size>
        bcloneused             NO   <size>
        capacity               NO   <percent>
        checkpoint             NO   <size>
        dedup_table_size       NO   <size>
        dedupratio             NO   <1.00x or higher if deduped>
        expandsize             NO   <size>
        fragmentation          NO   <percent>
        free                   NO   <size>
        freeing                NO   <size>
        guid                   NO   <guid>
        health                 NO   <state>
        last_scrubbed_txg      NO   <txg>
        leaked                 NO   <size>
        load_guid              NO   <load_guid>
        size                   NO   <size>
        altroot               YES   <path>
        ashift                YES   <ashift, 9-16, or 0=default>
        autoexpand            YES   on | off
        autoreplace           YES   on | off
        autotrim              YES   on | off
        bootfs                YES   <filesystem>
        cachefile             YES   <file> | none
        comment               YES   <comment-string>
        compatibility         YES   <file[,file...]> | off | legacy
        dedup_table_quota     YES   <size>
        delegation            YES   on | off
        failmode              YES   wait | continue | panic
        listsnapshots         YES   on | off
        multihost             YES   on | off
        readonly              YES   on | off
        version               YES   <version>
        feature@...           YES   disabled | enabled | active

The feature@ properties must be appended with a feature name.
See zpool-features(7).

Code:
# df -hT
Filesystem           Type      Size  Used Avail Use% Mounted on
udev                 devtmpfs  6.9G     0  6.9G   0% /dev
tmpfs                tmpfs     1.6G  1.8M  1.6G   1% /run
/dev/mapper/pve-root ext4       37G  4.0G   31G  12% /
tmpfs                tmpfs     7.8G   49M  7.8G   1% /dev/shm
efivarfs             efivarfs  128K   34K   90K  27% /sys/firmware/efi/efivars
tmpfs                tmpfs     5.0M     0  5.0M   0% /run/lock
tmpfs                tmpfs     1.0M     0  1.0M   0% /run/credentials/systemd-journald.service
tmpfs                tmpfs     7.8G     0  7.8G   0% /tmp
/dev/sdb2            vfat     1022M  9.1M 1013M   1% /boot/efi
/dev/fuse            fuse      128M   16K  128M   1% /etc/pve
tmpfs                tmpfs     1.0M     0  1.0M   0% /run/credentials/getty@tty1.service
/dev/sda1            ext4      3.6T  230G  3.2T   7% /mnt/pve/library
tmpfs                tmpfs     1.6G  4.0K  1.6G   1% /run/user/0
 
Last edited:
Sorry, that was supposed to be zpool status. Since the HDD is already mounted I guess we can check its contents
Bash:
apt -yU install gdu
gdu /mnt/pve/library
Can you also share the CT config via pct config CTIDHERE?
 
gdu /mnt/pve/library
Can you also share the CT config via pct config CTIDHERE?
I got
Code:
Warning: Some index files failed to download. They have been ignored, or old ones used instead.
Error: Unable to locate package gdu
 
Last edited: