January 20th, 2016, 16:41
# extundelete --restore-file 'images/103/vm-103-disk-1.qcow2' /dev/mapper/pve-data WARNING: Extended attributes are not restored.
Loading filesystem metadata ... 6497 groups loaded.
Loading journal descriptors ... 25936 descriptors loaded.
Writing output to directory RECOVERED_FILES/
Unable to restore inode 33234953 (images/103/vm-103-disk-1.qcow2): No undeleted copies found in the journal.
ext3grep --inode 33234953 /dev/mapper/pve-data
Running ext3grep version 0.10.1
No --ls used; implying --print.
WARNING: I don't know what EXT3_FEATURE_COMPAT_EXT_ATTR is.
Number of groups: 6497
Minimum / maximum journal block: 106398210 / 106431525
Loading journal descriptors... sorting... done
The oldest inode block that is still in the journal, appears to be from 1452683699 = Wed Jan 13 19:14:59 2016
Number of descriptors in journal: 25935; min / max sequence numbers: 17027181 / 17038553
Hex dump of inode 33234953:
0000 | a4 81 00 00 00 00 00 00 c4 9f 97 56 55 a1 97 56 | ...........VU..V
0010 | 55 a1 97 56 55 a1 97 56 00 00 00 00 00 00 00 00 | U..VU..V........
0020 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
0030 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
0040 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
0050 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
0060 | 00 00 00 00 34 2b ed e7 00 00 00 00 00 00 00 00 | ....4+..........
0070 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
0080 | 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
0090 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00b0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00d0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00f0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
Inode is Unallocated
Group: 4057
Generation Id: 3891079988
uid / gid: 0 / 0
mode: rrw-r--r--
size: 0
num of links: 0
sectors: 0 (--> 0 indirect blocks).
Inode Times:
Accessed: 1452777412 = Thu Jan 14 21:16:52 2016
File Modified: 1452777813 = Thu Jan 14 21:23:33 2016
Inode Modified: 1452777813 = Thu Jan 14 21:23:33 2016
Deletion time: 1452777813 = Thu Jan 14 21:23:33 2016
Direct Blocks: 0
ext3grep --restore-inode 33234953 /dev/mapper/pve-data
modprobe nbd max_part=63
qemu-nbd -c /dev/nbd0 disk1.qcow2
mount /dev/nbd0p1 /mnt/image/
ls -la /mnt/image/
January 20th, 2016, 17:58
January 20th, 2016, 19:14
January 21st, 2016, 6:34
ls -l
-rw-r--r-- 1 root root 4295884800 Jan 21 17:37 vm-103-disk-1.qcow2
hexdump -C -n 64 vm-103-disk-1.qcow2
00000000 51 46 49 fb 00 00 00 03 00 00 00 00 00 00 00 00 |QFI.............|
00000010 00 00 00 00 00 00 00 10 00 00 00 01 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 08 00 00 00 00 00 03 00 00 |................|
00000030 00 00 00 00 00 01 00 00 00 00 00 01 00 00 00 00 |................|
hexdump -C -n 64 -s $(expr 4*1024*1024-64) vm-103-disk-1.qcow2
00000004 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000014 00 00 00 10 00 00 00 01 00 00 00 00 00 00 00 00 |................|
00000024 00 00 00 08 00 00 00 00 00 03 00 00 00 00 00 00 |................|
00000034 00 01 00 00 00 00 00 01 00 00 00 00 00 00 00 00 |................|
January 21st, 2016, 21:44
January 22nd, 2016, 14:41
Powered by phpBB © phpBB Group.