USB Boot drive failure | Restore VMS on new install

simonloach

New Member
Jan 23, 2021
6
1
3
24
I had my Proxmox server boot of a USB stick. Today I found out that the WebUI stopped working, tried to restart the service - no luck. Tried to reboot and system died on me, IO errors all over the place. My configuration was:
boot drive: USB Stick A 64 GB (now visible as pve--old)
drive 2: USB Stick A 64 GB (boot for TRUENAS vm)
drive 3: SSD Goodram 240GB (boot for multiple containers + ubuntu VM)
drive 4, 5, 6: 3x TOSHIBA P300 2TB (ZFS Z1 pool for TRUENAS - encrypted)
drive 7: Toshiba P300 2TB (boot for multiple containers + mineos VM)

+ now added drive 8: plextor m.2 ssd for fresh install

VMs:
truenas
mineos
ubuntu

+ some lxc containers

I reinstalled Proxmox VE onto new 256 GB SSD (plextor one) and want to try retrieving my config from the working state - how do I do that?
1616353561184.png
lvs result:
1616353583388.png
The main focus is on the TrueNAS vm

EDIT 1:
lvdisplay:

Code:
root@pve:~# lvdisplay
  --- Logical volume ---
  LV Path                /dev/pve-OLD-B6C40E47/swap
  LV Name                swap
  VG Name                pve-OLD-B6C40E47
  LV UUID                sHPmfl-PXEC-L3D5-oclV-w6Nw-BAER-Y4t7kP
  LV Write Access        read/write
  LV Creation host, time proxmox, 2021-01-20 20:08:42 +0100
  LV Status              available
  # open                 0
  LV Size                7.00 GiB
  Current LE             1792
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:5
 
  --- Logical volume ---
  LV Path                /dev/pve-OLD-B6C40E47/root
  LV Name                root
  VG Name                pve-OLD-B6C40E47
  LV UUID                IxYOEH-GwnS-bt2H-9CBf-kuJo-DaOF-jdVe0y
  LV Write Access        read/write
  LV Creation host, time proxmox, 2021-01-20 20:08:43 +0100
  LV Status              available
  # open                 0
  LV Size                14.00 GiB
  Current LE             3584
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:6
 
  --- Logical volume ---
  LV Name                data
  VG Name                pve-OLD-B6C40E47
  LV UUID                rgrHiD-QfQN-ST7v-X6j5-5Vjk-poKC-330oUt
  LV Write Access        read/write
  LV Creation host, time proxmox, 2021-01-20 20:08:43 +0100
  LV Pool metadata       data_tmeta
  LV Pool data           data_tdata
  LV Status              available
  # open                 1
  LV Size                26.80 GiB
  Allocated pool data    0.00%
  Allocated metadata     1.58%
  Current LE             6861
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:9
 
  --- Logical volume ---
  LV Path                /dev/NVR/vm-103-disk-0
  LV Name                vm-103-disk-0
  VG Name                NVR
  LV UUID                3oaapj-NV3L-VLin-ZVWm-d0ad-nSxt-XWBFN1
  LV Write Access        read/write
  LV Creation host, time proxmox, 2021-01-24 02:58:27 +0100
  LV Status              available
  # open                 0
  LV Size                500.00 GiB
  Current LE             128000
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0
 
  --- Logical volume ---
  LV Path                /dev/NVR/vm-105-disk-0
  LV Name                vm-105-disk-0
  VG Name                NVR
  LV UUID                fTBb6y-EYDt-rOuv-vy44-u9Wc-JPr2-cR549e
  LV Write Access        read/write
  LV Creation host, time proxmox, 2021-01-29 00:51:23 +0100
  LV Status              available
  # open                 0
  LV Size                100.00 GiB
  Current LE             25600
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1
 
  --- Logical volume ---
  LV Path                /dev/NVR/vm-107-disk-0
  LV Name                vm-107-disk-0
  VG Name                NVR
  LV UUID                W10Ebt-Y82P-1eoA-wPng-GiVG-lSMC-kgeOvu
  LV Write Access        read/write
  LV Creation host, time proxmox, 2021-03-02 23:03:32 +0100
  LV Status              available
  # open                 0
  LV Size                16.00 GiB
  Current LE             4096
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:2
 
  --- Logical volume ---
  LV Path                /dev/NVR/vm-108-disk-0
  LV Name                vm-108-disk-0
  VG Name                NVR
  LV UUID                Arv2by-dQuS-m5ga-69wN-r5ho-ojAH-AUzlg6
  LV Write Access        read/write
  LV Creation host, time proxmox, 2021-03-09 13:41:32 +0100
  LV Status              available
  # open                 0
  LV Size                16.00 GiB
  Current LE             4096
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:3
 
  --- Logical volume ---
  LV Path                /dev/NVR/vm-109-disk-0
  LV Name                vm-109-disk-0
  VG Name                NVR
  LV UUID                z5WRBH-pN8y-DI2z-HbKp-fMFh-9CjU-AKOY1D
  LV Write Access        read/write
  LV Creation host, time proxmox, 2021-03-13 21:02:47 +0100
  LV Status              available
  # open                 0
  LV Size                100.00 GiB
  Current LE             25600
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:4
 
  --- Logical volume ---
  LV Path                /dev/vmdata/vm-100-disk-0
  LV Name                vm-100-disk-0
  VG Name                vmdata
  LV UUID                34jAwX-hXzy-raLW-IKdl-uZrK-Sqt4-OEN1vh
  LV Write Access        read/write
  LV Creation host, time pve, 2021-03-21 20:23:21 +0100
  LV Status              available
  # open                 1
  LV Size                32.00 GiB
  Current LE             8192
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:11
 
  --- Logical volume ---
  LV Path                /dev/SSD_GOODRAM/vm-101-disk-0
  LV Name                vm-101-disk-0
  VG Name                SSD_GOODRAM
  LV UUID                rxss5W-525E-Ab8i-axXH-Se2z-A4ae-JTsGHc
  LV Write Access        read/write
  LV Creation host, time proxmox, 2021-01-23 01:01:16 +0100
  LV Status              available
  # open                 1
  LV Size                10.00 GiB
  Current LE             2560
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:12
 
  --- Logical volume ---
  LV Path                /dev/SSD_GOODRAM/vm-102-disk-0
  LV Name                vm-102-disk-0
  VG Name                SSD_GOODRAM
  LV UUID                xyxG7R-TmuA-K67F-8Ixw-Wjak-ai3R-5AUcTC
  LV Write Access        read/write
  LV Creation host, time proxmox, 2021-01-23 20:32:11 +0100
  LV Status              available
  # open                 0
  LV Size                10.00 GiB
  Current LE             2560
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:13
 
  --- Logical volume ---
  LV Path                /dev/SSD_GOODRAM/vm-103-disk-0
  LV Name                vm-103-disk-0
  VG Name                SSD_GOODRAM
  LV UUID                R7cQTM-303z-7XQH-tM8U-uEGd-gKSs-eytID3
  LV Write Access        read/write
  LV Creation host, time proxmox, 2021-01-24 01:10:35 +0100
  LV Status              available
  # open                 0
  LV Size                10.00 GiB
  Current LE             2560
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:14
 
  --- Logical volume ---
  LV Path                /dev/SSD_GOODRAM/vm-104-disk-0
  LV Name                vm-104-disk-0
  VG Name                SSD_GOODRAM
  LV UUID                DOFWYP-TtJf-azB5-Ziia-hQVi-p17m-nM56fN
  LV Write Access        read/write
  LV Creation host, time proxmox, 2021-01-28 17:54:48 +0100
  LV Status              available
  # open                 0
  LV Size                4.00 GiB
  Current LE             1024
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:15
 
  --- Logical volume ---
  LV Path                /dev/SSD_GOODRAM/vm-105-disk-0
  LV Name                vm-105-disk-0
  VG Name                SSD_GOODRAM
  LV UUID                jAdlfG-iw8I-39Yi-rJ74-I0S7-vQmX-tmFRW5
  LV Write Access        read/write
  LV Creation host, time proxmox, 2021-01-29 00:44:30 +0100
  LV Status              available
  # open                 0
  LV Size                10.00 GiB
  Current LE             2560
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:16
 
  --- Logical volume ---
  LV Path                /dev/SSD_GOODRAM/vm-106-disk-0
  LV Name                vm-106-disk-0
  VG Name                SSD_GOODRAM
  LV UUID                TgjKZt-5Ikg-2N9W-OuzG-Yt2z-X8tJ-EUlhBW
  LV Write Access        read/write
  LV Creation host, time proxmox, 2021-02-20 20:43:57 +0100
  LV Status              available
  # open                 0
  LV Size                10.00 GiB
  Current LE             2560
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:17
 
  --- Logical volume ---
  LV Path                /dev/pve/swap
  LV Name                swap
  VG Name                pve
  LV UUID                cv0v52-L3DF-UaFm-Q53W-8WfM-TDQz-Ujru4W
  LV Write Access        read/write
  LV Creation host, time proxmox, 2021-03-21 19:16:46 +0100
  LV Status              available
  # open                 2
  LV Size                8.00 GiB
  Current LE             2048
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:18
 
  --- Logical volume ---
  LV Path                /dev/pve/root
  LV Name                root
  VG Name                pve
  LV UUID                zAIBT8-LslN-J2dD-E1IP-7SEf-HhQc-eG3Lie
  LV Write Access        read/write
  LV Creation host, time proxmox, 2021-03-21 19:16:46 +0100
  LV Status              available
  # open                 1
  LV Size                59.25 GiB
  Current LE             15168
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:19
 
  --- Logical volume ---
  LV Name                data
  VG Name                pve
  LV UUID                s8aY6D-kFK8-DipW-cZiP-MVPz-sa95-qdKW8P
  LV Write Access        read/write
  LV Creation host, time proxmox, 2021-03-21 19:16:46 +0100
  LV Pool metadata       data_tmeta
  LV Pool data           data_tdata
  LV Status              available
  # open                 0
  LV Size                <151.63 GiB
  Allocated pool data    0.00%
  Allocated metadata     1.05%
  Current LE             38817
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:22
 
Last edited:
Code:
root@pve:~# vgdisplay
  --- Volume group ---
  VG Name               pve-OLD-B6C40E47
  System ID            
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  12
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               56.80 GiB
  PE Size               4.00 MiB
  Total PE              14541
  Alloc PE / Size       12749 / 49.80 GiB
  Free  PE / Size       1792 / 7.00 GiB
  VG UUID               q0WPJt-TSOA-wzRd-4yEV-TAVC-yAbt-uzYqa3
 
  --- Volume group ---
  VG Name               NVR
  System ID            
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  16
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                5
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               <1.82 TiB
  PE Size               4.00 MiB
  Total PE              476932
  Alloc PE / Size       187392 / 732.00 GiB
  Free  PE / Size       289540 / 1.10 TiB
  VG UUID               tdCTLB-Kwen-yFxz-9n8O-ZGrh-4Ggz-URv1WI
 
  --- Volume group ---
  VG Name               vmdata
  System ID            
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  6
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               1
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               <57.28 GiB
  PE Size               4.00 MiB
  Total PE              14663
  Alloc PE / Size       8192 / 32.00 GiB
  Free  PE / Size       6471 / <25.28 GiB
  VG UUID               f42f0I-P01v-SwmG-hgFb-2kwq-fHQj-hYLok2
 
  --- Volume group ---
  VG Name               SSD_GOODRAM
  System ID            
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  21
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                6
  Open LV               1
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               <223.57 GiB
  PE Size               4.00 MiB
  Total PE              57233
  Alloc PE / Size       13824 / 54.00 GiB
  Free  PE / Size       43409 / <169.57 GiB
  VG UUID               NZG0Yd-WUaC-zwHs-E6la-FqnJ-CV2H-ZMGxWY
 
  --- Volume group ---
  VG Name               pve
  System ID            
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  7
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               237.97 GiB
  PE Size               4.00 MiB
  Total PE              60921
  Alloc PE / Size       56827 / 221.98 GiB
  Free  PE / Size       4094 / 15.99 GiB
  VG UUID               zT1AZ2-WQsq-qG5h-xnEh-9yRD-ldgS-pqTlqa

Code:
root@pve:~# pvdisplay
  --- Physical volume ---
  PV Name               /dev/sdh3
  VG Name               pve-OLD-B6C40E47
  PV Size               56.80 GiB / not usable 2.98 MiB
  Allocatable           yes
  PE Size               4.00 MiB
  Total PE              14541
  Free PE               1792
  Allocated PE          12749
  PV UUID               xs8jyR-WvE4-Njoc-YKW4-9DSb-0iL4-SMdJrf
  
  --- Physical volume ---
  PV Name               /dev/sdg
  VG Name               NVR
  PV Size               <1.82 TiB / not usable <1.09 MiB
  Allocatable           yes
  PE Size               4.00 MiB
  Total PE              476932
  Free PE               289540
  Allocated PE          187392
  PV UUID               wPQbAm-03jc-P0GR-p8pZ-nbWX-6LUF-l9WJB9
  
  --- Physical volume ---
  PV Name               /dev/sdd1
  VG Name               vmdata
  PV Size               57.28 GiB / not usable 2.98 MiB
  Allocatable           yes
  PE Size               4.00 MiB
  Total PE              14663
  Free PE               6471
  Allocated PE          8192
  PV UUID               2kdDK3-1442-L6x9-UtdP-JiGa-dDKL-K8Hk4P
  
  --- Physical volume ---
  PV Name               /dev/sdb
  VG Name               SSD_GOODRAM
  PV Size               223.57 GiB / not usable <4.59 MiB
  Allocatable           yes
  PE Size               4.00 MiB
  Total PE              57233
  Free PE               43409
  Allocated PE          13824
  PV UUID               UlmH70-wme3-UJmw-bXwj-6IRK-FCrF-XtJ9CG
  
  --- Physical volume ---
  PV Name               /dev/nvme0n1p3
  VG Name               pve
  PV Size               237.97 GiB / not usable <1.32 MiB
  Allocatable           yes
  PE Size               4.00 MiB
  Total PE              60921
  Free PE               4094
  Allocated PE          56827
  PV UUID               g7ddAK-56J1-HU70-emib-2R2d-HulE-AWAORR
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!