Help accessing volume

moxp

New Member
Dec 31, 2020
1
0
1
42
Hi,

I am relatively new to Proxmox so please forgive me if my descriptions are a bit vague.

I am trying to recover the content of a volume I created using Proxmox.


Chain of events:

1. I installed proxmox on HDD A.
2. Added another HDD B. I believe that I provisioned it is a volume for a windows 10 VM. The drive was then formatted in the W10 VM.
3. Disconnected HDD B for ~6 months.
4. HDD A replaced by HDD C. New installation of Proxmox on this disk.
5. Reconnected HDD B.

After connecting the drive, I can see that the data is there but I don't know how to access it... Would really appreciate any advice of how to do this.


Some background:

root@abc:~# pvs
PV VG Fmt Attr PSize PFree
/dev/sdb3 pve lvm2 a-- <2.73t <16.38g
/dev/sdc3 8t1 lvm2 a-- <7.28t 16.37g

The files I am trying to retrieve is on /dev/sdc3, and the size of ~7tb is correct.


root@abc:~# pvdisplay /dev/sdc3
--- Physical volume ---
PV Name /dev/sdc3
VG Name 8t1
PV Size <7.28 TiB / not usable <4.32 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 1907592
Free PE 4191
Allocated PE 1903401
PV UUID tBXYHk-jlJi-dbjL-OEW4-Wz2P-Vb0f-tEY1AS


root@abc:~# vgs 8t1
VG #PV #LV #SN Attr VSize VFree
8t1 1 3 0 wz--n- <7.28t 16.37g


root@abc:~# vgdisplay 8t1
--- Volume group ---
VG Name 8t1
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 20
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 <7.28 TiB
PE Size 4.00 MiB
Total PE 1907592
Alloc PE / Size 1903401 / 7.26 TiB
Free PE / Size 4191 / 16.37 GiB
VG UUID OP7c5x-BLoS-tx02-D7e3-NmCq-Dkqc-wxa9vn


root@abc:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data 8t1 twi-aotz-- <7.13t 0.00 0.28
root 8t1 -wi-a----- 96.00g
swap 8t1 -wi-a----- 8.00g
data pve twi-a-tz-- 2.58t 0.00 0.17
root pve -wi-ao---- 96.00g
swap pve -wi-ao---- 8.00g


root@abc:~# lvdisplay /dev/8t1/data
--- Logical volume ---
LV Name data
VG Name 8t1
LV UUID E0gIN8-PPt1-cnt3-ISk6-yDiZ-229l-I6vgdf
LV Write Access read/write
LV Creation host, time proxmox, 2020-08-30 02:45:43 -0900
LV Pool metadata data_tmeta
LV Pool data data_tdata
LV Status available
# open 1
LV Size <7.13 TiB
Allocated pool data 0.00%
Allocated metadata 0.28%
Current LE 1868681
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:4



root@abc:~# lsblk /dev/sdc
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdc 8:32 0 7.3T 0 disk
├─sdc1 8:33 0 1007K 0 part
├─sdc2 8:34 0 512M 0 part
└─sdc3 8:35 0 7.3T 0 part
├─8t1-swap 253:0 0 8G 0 lvm
├─8t1-root 253:1 0 96G 0 lvm
├─8t1-data_tmeta 253:2 0 15.8G 0 lvm
│ └─8t1-data-tpool 253:4 0 7.1T 0 lvm
│ └─8t1-data 253:5 0 7.1T 0 lvm
└─8t1-data_tdata 253:3 0 7.1T 0 lvm
└─8t1-data-tpool 253:4 0 7.1T 0 lvm
└─8t1-data 253:5 0 7.1T 0 lvm
 

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!