Disc from ReadyNAS NV+ (Raid 0)

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
RichardK
Posts: 2
Joined: 25 Feb 2016, 22:24

Disc from ReadyNAS NV+ (Raid 0)

#1 Post by RichardK »

Hi there,

After spending hours waiting, I finally I got result.
2 partitions found, 1 I can list and select files.
The second:
"Support for this filesystem hasn't been been implemented".

Eurh.. Found partition is Linux RAID, it should be supported?
The system is now running a deep search:

Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63
Analyse cylinder 22519/121600: 18%
Linux 0 0 33 254 244 22 4095872
HPFS - NTFS 0 1 1 14592 254 63 234436482
Linux 5 90 22 260 79 11 4095872
HPFS - NTFS 12 223 20 14593 33 32 234231808
Linux RAID 0 0 33 254 246 24 4096000 [md0]
Linux 328 35 28 121605 110 41 1948319744 [c]
Linux 332 23 12 121609 98 25 1948319744 [c]
Linux 336 43 28 121613 118 41 1948319744 [c]
Linux 337 15 63 121614 91 13 1948319744 [c]
Linux 337 211 3 121615 31 16 1948319744 [c]
Linux 339 221 11 121617 41 24 1948319744 [c]
Linux 347 1 39 121624 76 52 1948319744 [c]
Linux 347 66 40 121624 141 53 1948319744 [c]
Linux 355 204 42 121633 24 55 1948319744 [c]
Linux 360 2 27 121637 77 40 1948319744 [c]
Linux 362 175 6 121639 250 19 1948319744 [c]
Linux 363 50 8 121640 125 21 1948319744 [c]
Linux 370 53 4 121647 128 17 1948319744 [c]
Linux 378 191 6 121656 11 19 1948319744 [c]

Any idea what I have to do now?

Regards,
Richard

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Disc from ReadyNAS NV+ (Raid 0)

#2 Post by cgrenier »

A raid0 partition is half a filesystem because the data is splitted in 2 partitions on different disks.
So even if TestDisk can list the content of an ext2/3/4 filesystem, it will not be able to list the content of the Linux RAID.

In your case, there should be probably several partitions named md0, md1, md2.
As you haven't copy the whole testdisk.log file, I don't even know if a partition is missing!

RichardK
Posts: 2
Joined: 25 Feb 2016, 22:24

Re: Disc from ReadyNAS NV+ (Raid 0)

#3 Post by RichardK »

Sorry,

Had some problems getting a "good" logfile, but here it is:


Mon Feb 29 14:49:20 2016
Command line: TestDisk

TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 8 (9200)
Compiler: GCC 4.8, Cygwin 1007.34
Compilation date: 2015-04-18T13:01:55
ext2fs lib: 1.42.8, ntfs lib: 10:0:0, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504, curses lib: ncurses 5.9
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=1000204886016
filewin32_getfilesize(\\.\PhysicalDrive2) GetFileSize err Onjuiste functie.

filewin32_setfilepointer(\\.\PhysicalDrive2) SetFilePointer err Onjuiste functie.

Warning: can't get size for \\.\PhysicalDrive2
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=499581452288
filewin32_getfilesize(\\.\D:) GetFileSize err Onjuiste functie.

filewin32_setfilepointer(\\.\D:) SetFilePointer err Onjuiste functie.

Warning: can't get size for \\.\D:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=0
Warning: can't get size for \\.\E:
Hard disk list
Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512
Drive C: - 499 GB / 465 GiB - CHS 60737 255 63, sector size=512

Partition table type (auto): Intel
Disk /dev/sdb - 1000 GB / 931 GiB
Partition table type: Intel

Analyse Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63
Geometry from i386 MBR: head=247 sector=28

Raid magic value at 0/0/33
Raid apparent size: 4095872 sectors
Raid chunk size: 0 bytes
check_MD 0.90
md0 md 0.90.3 L.Endian Raid 1: devices 0(56,1) 1(22,1)* 2(33,1) 3(34,1)

Raid magic value at 254/246/25
Raid apparent size: 1048448 sectors
Raid chunk size: 4194304 bytes
check_MD 0.90
md1 md 0.90.3 L.Endian Raid 5: devices 0(33,2) 1(56,2) 2(22,2)* 3(34,2)
Current partition structure:
1 P Linux RAID 0 0 33 254 246 24 4096000 [md0]
2 P Linux RAID 254 246 25 320 60 28 1048576 [md1]
No partition is bootable

search_part()
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63

recover_EXT2: s_block_group_nr=0/1, s_mnt_count=8/24, s_blocks_per_group=65528, s_inodes_per_group=64000
recover_EXT2: s_blocksize=16384
recover_EXT2: s_blocks_count 127996
recover_EXT2: part_size 4095872
Linux 0 0 33 254 244 22 4095872
ext3 blocksize=16384 Sparse_SB, 2097 MB / 1999 MiB

Raid magic value at 254/244/23
Raid apparent size: 4095872 sectors
Raid chunk size: 0 bytes
md0 md 0.90.3 L.Endian Raid 1: devices 0(56,1) 1(22,1)* 2(33,1) 3(34,1)
Linux RAID 0 0 33 254 246 24 4096000 [md0]
md 0.90.3 L.Endian Raid 1: devices 0(56,1) 1(22,1)* 2(33,1) 3(34,1), 2097 MB / 2000 MiB

recover_EXT2: s_block_group_nr=0/929, s_mnt_count=50/4294967295, s_blocks_per_group=65528, s_inodes_per_group=32768
recover_EXT2: s_blocksize=16384
recover_EXT2: s_blocks_count 60884992
recover_EXT2: part_size 1948319744
Linux 328 35 28 121605 110 41 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
This partition ends after the disk limits. (start=5271552, size=1948319744, end=1953591295, disk end=1953525168)

recover_EXT2: s_block_group_nr=0/929, s_mnt_count=50/4294967295, s_blocks_per_group=65528, s_inodes_per_group=32768
recover_EXT2: s_blocksize=16384
recover_EXT2: s_blocks_count 60884992
recover_EXT2: part_size 1948319744
Linux 332 23 12 121609 98 25 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
This partition ends after the disk limits. (start=5335040, size=1948319744, end=1953654783, disk end=1953525168)

recover_EXT2: s_block_group_nr=0/929, s_mnt_count=50/4294967295, s_blocks_per_group=65528, s_inodes_per_group=32768
recover_EXT2: s_blocksize=16384
recover_EXT2: s_blocks_count 60884992
recover_EXT2: part_size 1948319744
Linux 336 43 28 121613 118 41 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
This partition ends after the disk limits. (start=5400576, size=1948319744, end=1953720319, disk end=1953525168)

recover_EXT2: s_block_group_nr=0/929, s_mnt_count=50/4294967295, s_blocks_per_group=65528, s_inodes_per_group=32768
recover_EXT2: s_blocksize=16384
recover_EXT2: s_blocks_count 60884992
recover_EXT2: part_size 1948319744
Linux 337 15 63 121614 91 13 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
This partition ends after the disk limits. (start=5414912, size=1948319744, end=1953734655, disk end=1953525168)

recover_EXT2: s_block_group_nr=0/929, s_mnt_count=50/4294967295, s_blocks_per_group=65528, s_inodes_per_group=32768
recover_EXT2: s_blocksize=16384
recover_EXT2: s_blocks_count 60884992
recover_EXT2: part_size 1948319744
Linux 337 211 3 121615 31 16 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
This partition ends after the disk limits. (start=5427200, size=1948319744, end=1953746943, disk end=1953525168)

recover_EXT2: s_block_group_nr=0/929, s_mnt_count=50/4294967295, s_blocks_per_group=65528, s_inodes_per_group=32768
recover_EXT2: s_blocksize=16384
recover_EXT2: s_blocks_count 60884992
recover_EXT2: part_size 1948319744
Linux 339 221 11 121617 41 24 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
This partition ends after the disk limits. (start=5459968, size=1948319744, end=1953779711, disk end=1953525168)

recover_EXT2: s_block_group_nr=0/929, s_mnt_count=50/4294967295, s_blocks_per_group=65528, s_inodes_per_group=32768
recover_EXT2: s_blocksize=16384
recover_EXT2: s_blocks_count 60884992
recover_EXT2: part_size 1948319744
Linux 347 1 39 121624 76 52 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
This partition ends after the disk limits. (start=5574656, size=1948319744, end=1953894399, disk end=1953525168)

recover_EXT2: s_block_group_nr=0/929, s_mnt_count=50/4294967295, s_blocks_per_group=65528, s_inodes_per_group=32768
recover_EXT2: s_blocksize=16384
recover_EXT2: s_blocks_count 60884992
recover_EXT2: part_size 1948319744
Linux 347 66 40 121624 141 53 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
This partition ends after the disk limits. (start=5578752, size=1948319744, end=1953898495, disk end=1953525168)

recover_EXT2: s_block_group_nr=0/929, s_mnt_count=50/4294967295, s_blocks_per_group=65528, s_inodes_per_group=32768
recover_EXT2: s_blocksize=16384
recover_EXT2: s_blocks_count 60884992
recover_EXT2: part_size 1948319744
Linux 355 204 42 121633 24 55 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
This partition ends after the disk limits. (start=5715968, size=1948319744, end=1954035711, disk end=1953525168)

recover_EXT2: s_block_group_nr=0/929, s_mnt_count=50/4294967295, s_blocks_per_group=65528, s_inodes_per_group=32768
recover_EXT2: s_blocksize=16384
recover_EXT2: s_blocks_count 60884992
recover_EXT2: part_size 1948319744
Linux 360 2 27 121637 77 40 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
This partition ends after the disk limits. (start=5783552, size=1948319744, end=1954103295, disk end=1953525168)

recover_EXT2: s_block_group_nr=0/929, s_mnt_count=50/4294967295, s_blocks_per_group=65528, s_inodes_per_group=32768
recover_EXT2: s_blocksize=16384
recover_EXT2: s_blocks_count 60884992
recover_EXT2: part_size 1948319744
Linux 362 175 6 121639 250 19 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
This partition ends after the disk limits. (start=5826560, size=1948319744, end=1954146303, disk end=1953525168)

recover_EXT2: s_block_group_nr=0/929, s_mnt_count=50/4294967295, s_blocks_per_group=65528, s_inodes_per_group=32768
recover_EXT2: s_blocksize=16384
recover_EXT2: s_blocks_count 60884992
recover_EXT2: part_size 1948319744
Linux 363 50 8 121640 125 21 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
This partition ends after the disk limits. (start=5834752, size=1948319744, end=1954154495, disk end=1953525168)

recover_EXT2: s_block_group_nr=0/929, s_mnt_count=50/4294967295, s_blocks_per_group=65528, s_inodes_per_group=32768
recover_EXT2: s_blocksize=16384
recover_EXT2: s_blocks_count 60884992
recover_EXT2: part_size 1948319744
Linux 370 53 4 121647 128 17 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
This partition ends after the disk limits. (start=5947392, size=1948319744, end=1954267135, disk end=1953525168)

recover_EXT2: s_block_group_nr=0/929, s_mnt_count=50/4294967295, s_blocks_per_group=65528, s_inodes_per_group=32768
recover_EXT2: s_blocksize=16384
recover_EXT2: s_blocks_count 60884992
recover_EXT2: part_size 1948319744
Linux 378 191 6 121656 11 19 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
This partition ends after the disk limits. (start=6084608, size=1948319744, end=1954404351, disk end=1953525168)
file_pread(5,2,buffer,1953525760(121601/90/26)) lseek err Invalid argument
file_pread(5,1,buffer,1953525760(121601/90/26)) lseek err Invalid argument
file_pread(5,1,buffer,1953525759(121601/90/25)) lseek err Invalid argument
file_pread(5,14,buffer,1953525761(121601/90/27)) lseek err Invalid argument
file_pread(5,3,buffer,1953525775(121601/90/41)) lseek err Invalid argument
file_pread(5,3,buffer,1953525822(121601/91/25)) lseek err Invalid argument
file_pread(5,8,buffer,1953525838(121601/91/41)) lseek err Invalid argument
file_pread(5,11,buffer,1953525885(121601/92/25)) lseek err Invalid argument
file_pread(5,2,buffer,1953527807(121601/122/57)) lseek err Invalid argument
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (1000 GB / 931 GiB) seems too small! (< 1000 GB / 931 GiB)
The following partitions can't be recovered:
Linux 328 35 28 121605 110 41 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
Linux 332 23 12 121609 98 25 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
Linux 336 43 28 121613 118 41 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
Linux 337 15 63 121614 91 13 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
Linux 337 211 3 121615 31 16 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
Linux 339 221 11 121617 41 24 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
Linux 347 1 39 121624 76 52 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
Linux 347 66 40 121624 141 53 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
Linux 355 204 42 121633 24 55 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
Linux 360 2 27 121637 77 40 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
Linux 362 175 6 121639 250 19 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
Linux 363 50 8 121640 125 21 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
Linux 370 53 4 121647 128 17 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB
Linux 378 191 6 121656 11 19 1948319744 [c]
ext3 blocksize=16384 Large_file Sparse_SB Recover, 997 GB / 929 GiB

Results
Linux 0 0 33 254 244 22 4095872
ext3 blocksize=16384 Sparse_SB, 2097 MB / 1999 MiB
Linux RAID 0 0 33 254 246 24 4096000 [md0]
md 0.90.3 L.Endian Raid 1: devices 0(56,1) 1(22,1)* 2(33,1) 3(34,1), 2097 MB / 2000 MiB


dir_partition inode=2
Linux 0 0 33 254 244 22 4095872
ext3 blocksize=16384 Sparse_SB, 2097 MB / 1999 MiB
Directory /
2 drwxr-xr-x 0 0 16384 25-Feb-2016 02:37 .
2 drwxr-xr-x 0 0 16384 25-Feb-2016 02:37 ..
11 drwx------ 0 0 16384 15-Jul-2002 22:57 lost+found
64001 drwxr-xr-x 0 0 16384 25-Feb-2016 01:24 bin
12 drwxr-xr-x 0 0 16384 10-Oct-2003 20:07 c
13 drwxr-xr-x 0 0 32768 25-Feb-2016 01:35 dev
64064 drwxr-xr-x 1001 1001 16384 25-Feb-2016 01:36 etc
65137 drwxrwsr-x 0 0 16384 25-Feb-2016 00:21 home
65139 drwxr-xr-x 0 0 16384 15-Jul-2002 23:05 initrd
65140 drwxr-xr-x 0 0 16384 25-Feb-2016 00:22 lib
65396 drwxr-xr-x 0 0 16384 8-Feb-2002 23:23 mnt
65397 drwxr-xr-x 1001 1001 16384 25-Feb-2016 00:27 opt
65398 drwxr-xr-x 0 0 16384 8-Feb-2002 23:23 proc
65399 drwxr-xr-x 0 0 16384 16-Jan-2008 16:10 ramfs
65400 drwx------ 0 0 16384 25-Feb-2016 01:22 root
65410 drwxr-xr-x 0 0 16384 25-Feb-2016 00:22 sbin
65539 drwxr-xr-x 0 0 16384 16-Jan-2008 16:10 sys
65540 drwxrwxrwt 0 0 16384 25-Feb-2016 03:53 tmp
65542 drwxr-xr-x 0 0 16384 7-Jun-2005 19:26 USB
65543 drwxr-xr-x 0 0 16384 25-Feb-2016 00:24 usr
1556 drwxr-xr-x 0 0 16384 25-Feb-2016 00:28 var
2266 drwxr-xr-x 1001 1001 16384 30-Jun-2011 20:20 frontview
2928 -rw------- 0 0 1024 25-Feb-2016 00:27 .rnd
2270 lrwxrwxrwx 0 0 9 25-Feb-2016 00:24 backup
2271 lrwxrwxrwx 0 0 8 25-Feb-2016 00:24 media
2991 drwxrwxrwx 0 0 16384 25-Feb-2016 00:31 d
2993 drwxrwxrwx 0 0 16384 25-Feb-2016 00:31 e
3038 lrwxrwxrwx 0 0 9 25-Feb-2016 01:36 Muziek
3010 lrwxrwxrwx 0 0 12 25-Feb-2016 00:36 Angelique
3011 lrwxrwxrwx 0 0 10 25-Feb-2016 00:36 Backups
3006 lrwxrwxrwx 0 0 13 25-Feb-2016 00:36 Embroidery
3007 lrwxrwxrwx 0 0 8 25-Feb-2016 00:36 VDisk

interface_write()

No partition found or selected for recovery
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition

TestDisk exited normally.

First partition I can list it, but the 2nd partition is a no go.

Regards,

Richard

Locked