fariaslcfs wrote:By "clean" you mean empty? So, all previous data is lost, and there is nothing left to solve that?
No, by clean he means healthy. The raid array is fine, unfortunately that says nothing about the contained filesystem. But it doesn't make sense to recreate the array.
fvdw wrote:I think it is not empty, you reported thisso about 1.7 TB used of the 7.3
- Code: Select all
root@fvdw-sta-kirkwood:/ # mdadm -D /dev/md4
/dev/md4:
Version : 1.2
Creation Time : Thu Jan 1 01:15:34 1970
Raid Level : raid5
Array Size : 7805490688 (7443.90 GiB 7992.82 GB)
Used Dev Size : 1951372672 (1860.97 GiB 1998.21 GB)
Raid Devices : 5
Total Devices : 5
Persistence : Superblock is persistent
How could mdadm know about the used space in the contained filesystem? The 'Used Dev Size' is the size of a single member of the 5 disk raid5 array.
PhotoRec indeed doesn't need the filesystem. There are a number of problems, however. It won't give any metadata (filename, path, timestamps) as they are part of the filesystem. Further it cannot see if a file was deleted (for the same reason), and on a fragmented filesystem it can output corrupted files, or fail to restore a fragmented file. It can only find files with a recognizable header or footer. And last but not least, you'll have to have the possibility to assemble the array on the system running PhotoReq, which means you can connect at least 4 disks. Or run PhotoReq on the NAS itself. Or dump the whole 8TB array to a single extern disk.
@fariaslcfs: Did anything happen which made you reset the NAS? If yes, what?