M
M
Michael2015-08-27 15:22:25
ZFS
Michael, 2015-08-27 15:22:25

How to recover files from zfs?

Hello, a friend had such a nuisance
1. I made FreeNAS where I connected the iSCSI disk
2. I uploaded data there
3. I deleted the partition
4. I made a new partition
......
5. Profit The
question is, how can I restore the data that was on the old partition when provided that no one else did anything with the disc (didn’t write, didn’t read, etc.)
Thank you

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Michael, 2015-09-15
@1099511627776

In general, the situation is as follows
- I took a disk image through dd
- then testdisk went through the file through Deep Search (in some cases it helps and you can do undelete there)
- if it doesn’t help, then from the same PhotoRec author (if files of certain formats) can also bite (in my case it was csv files) so there were no specific file start marks.
- In the end, I got a list of tags that are used in csv-shki and, using these tags, I bit out the data from the raw file through the command:
where MT_no. - the beginning of the necessary information in the file, and \x00 - the zero byte with which I determine the end of the necessary information

P
Pulout, 2016-04-20
@Pulout

Good afternoon comrades!
There is such a task: Restore a file after deletion from the pool in FreeNAS (ZFS)
Initial data: Server of 6 stacks in RAID 10. Total volume is more than 10Tb
The following software was tried:
1) Testdisk
2) R-studio
3) extundelete
4) Foremost
5 ) UFS Explorer Pro
The second found VHD files, but they were all corrupted and not the correct size. Suggest options for data recovery. VHD files are prioritized.
Sincerely, Pulut!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question