Hi,
I deleted a vm disk from my zfs storage by accident.
Googling and looking through the forum didn't bring any results.
Is there a way to recover my vm disk from the zfs pool? The pool has not been written to, as the only file on it was said vm disk.
This is how i used to mount the disk:
Looking at zfs list it's gone.
Looking at solutions i tried the fdisk command, but can't find anything.
Is there a way to recover that vm disk?
Thanks in advance!
I deleted a vm disk from my zfs storage by accident.
Googling and looking through the forum didn't bring any results.
Is there a way to recover my vm disk from the zfs pool? The pool has not been written to, as the only file on it was said vm disk.
This is how i used to mount the disk:
Code:
qm set 100 -virtio0 storage:vm-100-disk-0,backup=0,iothread=1,size=5500G
Looking at zfs list it's gone.
Code:
root@proxmox:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
storage 19.2M 5.32T 128K /storage
Code:
root@proxmox:~# zpool status
pool: storage
state: ONLINE
scan: resilvered 684K in 00:00:01 with 0 errors on Mon Jul 17 14:03:24 2023
config:
NAME STATE READ WRITE CKSUM
storage ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
ata-WDC_WD30EFRX-68AX9N0_WD-WMC1T2677348 ONLINE 0 0 0
ata-WDC_WD30EFRX-68AX9N0_WD-WMC1T2713983 ONLINE 0 0 0
ata-WDC_WD30EFRX-68AX9N0_WD-WMC1T2772720 ONLINE 0 0 0
errors: No known data errors
Looking at solutions i tried the fdisk command, but can't find anything.
Code:
root@proxmox:~# fdisk -lu storage/data/vm-100-disk-0
fdisk: cannot open storage/data/vm-100-disk-0: No such file or directory
root@proxmox:~# fdisk -lu storage/vm-100-disk-0
fdisk: cannot open storage/vm-100-disk-0: No such file or directory
Is there a way to recover that vm disk?
Thanks in advance!