Wie kann ich gelöschte PVE/Daten korrekt wiederherstellen?

kukoratsch

Member
Apr 25, 2021
1
0
6
55
Hallo zusammen,

Ich habe versehentlich pve/data LVM-Thin-Pool volume in proxmox gelöscht.
lvremove /dev/pve/data

Jetzt habe ich kein Laufwerk local-lvm mehr.
Kann man Laufwerk wiederherstellen?

Vielen dank.

Das sind daten bevor ich lvremove /dev/pve/data ich ausgeführt habe
Code:
root@proxmox:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
udev                  7.8G     0  7.8G   0% /dev
tmpfs                 1.6G  1.5M  1.6G   1% /run
/dev/mapper/pve-root   23G   22G     0 100% /
tmpfs                 7.8G   43M  7.8G   1% /dev/shm
tmpfs                 5.0M     0  5.0M   0% /run/lock
/dev/nvme0n1p2        511M  312K  511M   1% /boot/efi
/dev/sdb               55G   36G   17G  69% /mnt/sdb
/dev/sda              458G   21G  414G   5% /mnt/sda
/dev/fuse             128M   20K  128M   1% /etc/pve
tmpfs                 1.6G     0  1.6G   0% /run/user/0
root@proxmox:~# du -sh /var/lib/vz/
730M    /var/lib/vz/
root@proxmox:~# fdisk -l
Disk /dev/loop0: 48 GiB, 51539607552 bytes, 100663296 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


Disk /dev/nvme0n1: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: Samsung SSD 970 EVO Plus 500GB        
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 9A8D838A-2CA3-47D4-98C4-194A8DD803EA

Device           Start       End   Sectors   Size Type
/dev/nvme0n1p1      34      2047      2014  1007K BIOS boot
/dev/nvme0n1p2    2048   1050623   1048576   512M EFI System
/dev/nvme0n1p3 1050624 976773134 975722511 465.3G Linux LVM


Disk /dev/mapper/pve-swap: 2 GiB, 2147483648 bytes, 4194304 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


Disk /dev/mapper/pve-root: 23 GiB, 24696061952 bytes, 48234496 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


Disk /dev/mapper/pve-vm--600--disk--0: 128 GiB, 137438953472 bytes, 268435456 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes
Disklabel type: dos
Disk identifier: 0x43da327b

Device                                 Boot  Start       End   Sectors   Size Id Type
/dev/mapper/pve-vm--600--disk--0-part1 *      2048    104447    102400    50M  7 HPFS/
/dev/mapper/pve-vm--600--disk--0-part2      104448 268433407 268328960 127.9G  7 HPFS/


Disk /dev/mapper/pve-vm--200--disk--0: 32 GiB, 34359738368 bytes, 67108864 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes
Disklabel type: dos
Disk identifier: 0x410af768

Device                                 Boot    Start      End  Sectors  Size Id Type
/dev/mapper/pve-vm--200--disk--0-part1 *        2048 65107967 65105920   31G 83 Linux
/dev/mapper/pve-vm--200--disk--0-part2      65110014 67106815  1996802  975M  5 Extend
/dev/mapper/pve-vm--200--disk--0-part5      65110016 67106815  1996800  975M 82 Linux

Partition 2 does not start on physical sector boundary.


Disk /dev/mapper/pve-vm--701--disk--0: 16 GiB, 17179869184 bytes, 33554432 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes
Disklabel type: gpt
Disk identifier: 73A069CD-C9F1-46AD-AD47-957E99FC9C7E

Device                                 Start      End  Sectors Size Type
/dev/mapper/pve-vm--701--disk--0-part1  2048     4095     2048   1M BIOS boot
/dev/mapper/pve-vm--701--disk--0-part2  4096 33552383 33548288  16G Linux filesystem


Disk /dev/mapper/pve-vm--100--disk--0: 8 GiB, 8589934592 bytes, 16777216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes


Disk /dev/mapper/pve-vm--502--disk--0: 48 GiB, 51539607552 bytes, 100663296 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes


Disk /dev/mapper/pve-vm--300--disk--0: 32 GiB, 34359738368 bytes, 67108864 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes
Disklabel type: dos
Disk identifier: 0x75f51fe5

Device                                 Boot    Start      End  Sectors  Size Id Type
/dev/mapper/pve-vm--300--disk--0-part1 *        2048 65107967 65105920   31G 83 Linux
/dev/mapper/pve-vm--300--disk--0-part2      65110014 67106815  1996802  975M  5 Extend
/dev/mapper/pve-vm--300--disk--0-part5      65110016 67106815  1996800  975M 82 Linux

Partition 2 does not start on physical sector boundary.


Disk /dev/mapper/pve-vm--111--disk--0: 64 GiB, 68719476736 bytes, 134217728 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes
Disklabel type: dos
Disk identifier: 0xbfaffbe8

Device                                 Boot     Start       End   Sectors  Size Id Type
/dev/mapper/pve-vm--111--disk--0-part1 *         2048 132216831 132214784   63G 83 Linu
/dev/mapper/pve-vm--111--disk--0-part2      132218878 134215679   1996802  975M  5 Exte
/dev/mapper/pve-vm--111--disk--0-part5      132218880 134215679   1996800  975M 82 Linu

Partition 2 does not start on physical sector boundary.


Disk /dev/mapper/pve-vm--110--disk--0: 32 GiB, 34359738368 bytes, 67108864 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes
Disklabel type: dos
Disk identifier: 0xc8672551

Device                                 Boot    Start      End  Sectors  Size Id Type
/dev/mapper/pve-vm--110--disk--0-part1 *        2048 65107967 65105920   31G 83 Linux
/dev/mapper/pve-vm--110--disk--0-part2      65110014 67106815  1996802  975M  5 Extend
/dev/mapper/pve-vm--110--disk--0-part5      65110016 67106815  1996800  975M 82 Linux

Partition 2 does not start on physical sector boundary.


Disk /dev/sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model:                
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sdb: 55.9 GiB, 60022480896 bytes, 117231408 sectors
Disk model: ASM1153USB3.0TOS
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 33553920 bytes
root@proxmox:~#
 
Last edited:

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!