Re : QNAP NAS 3TB Seagate Hard Disk - ext4 turned to raw
Posted: 01 May 2017, 08:13
Hi Sir,
Recently I have unmounted Seagate 3TB single hard disk volume(i.e., NO RAID) from QNAP NAS, but then later when I remounted the disk into the NAS, I found the filesystem type(ext4) of the data partition turned into RAW(unknown) for some unknown reason. And, I have this same issue happened for 2 different 3TB hard disk, so I believe this is caused by some unknown firmware bug in the QNAP NAS !
Thus, I have tried to run Testdisk 7 under Windows 10, and connect the problem disk to my Win10 PC via a USB/SATA adapter. Then, it appeared that Testdisk could analyze & found my Linux partition with data folder on it, and when I choose "Write" in the last step, it prompted me "OK" but then I still found the filesystem remained as "RAW" ! And, here I enclosed the details of the testdisk log file for your information.
BTW, when I run Testdisk under Windows 10, should I have to install & run some ext4 driver support software as well (e.g., ext2fsd volume manager) ?
Thanks in advance.
Rgds,
Peter Chan.
*******************************************************************************
Sun Apr 30 13:49:13 2017
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)=2000396619264
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=3000592982016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=2000396619264
filewin32_getfilesize(\\.\PhysicalDrive1) GetFileSize err Incorrect function.
filewin32_setfilepointer(\\.\PhysicalDrive1) SetFilePointer err Incorrect function.
Warning: can't get size for \\.\PhysicalDrive1
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=3000592982016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=1982290984960
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=0
Warning: can't get size for \\.\D:
filewin32_getfilesize(\\.\E:) GetFileSize err Incorrect function.
filewin32_setfilepointer(\\.\E:) SetFilePointer err Incorrect function.
Warning: can't get size for \\.\E:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=2990399245312
Hard disk list
Disk /dev/sda - 2000 GB / 1863 GiB - CHS 243201 255 63, sector size=512
Disk /dev/sdc - 3000 GB / 2794 GiB - CHS 364801 255 63, sector size=512
Drive C: - 1982 GB / 1846 GiB - CHS 240999 255 63, sector size=512
Drive F: - 2990 GB / 2785 GiB - CHS 363561 255 63, sector size=512
Partition table type (auto): None
Drive F: - 2990 GB / 2785 GiB
Partition table type: Intel
Analyse Drive F: - 2990 GB / 2785 GiB - CHS 363561 255 63
Geometry from i386 MBR: head=255 sector=63
check_part_i386 failed for partition type 83
Current partition structure:
No ext2, JFS, Reiser, cramfs or XFS marker
1 * Linux 2610 245 4 269960 79 6 4294967295
1 * Linux 2610 245 4 269960 79 6 4294967295
search_part()
Drive F: - 2990 GB / 2785 GiB - CHS 363561 255 63
recover_EXT2: s_block_group_nr=0/22120, s_mnt_count=207/4294967295, s_blocks_per_group=32768, s_inodes_per_group=2048
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 724834304
recover_EXT2: part_size 1503707136
Linux 2610 245 4 363561 191 22 5798674432 [DataVol13]
ext4 blocksize=4096 Large_file Sparse_SB, 2968 GB / 2765 GiB
Search for partition aborted
Results
* Linux 2610 245 4 363561 191 22 5798674432 [DataVol13]
ext4 blocksize=4096 Large_file Sparse_SB, 2968 GB / 2765 GiB
interface_write()
1 * Linux 2610 245 4 363561 191 22 5798674432 [DataVol13]
simulate write!
write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition
Partition table type (auto): None
Drive F: - 2990 GB / 2785 GiB
Partition table type: Intel
Analyse Drive F: - 2990 GB / 2785 GiB - CHS 363561 255 63
Geometry from i386 MBR: head=255 sector=63
check_part_i386 failed for partition type 83
Current partition structure:
No ext2, JFS, Reiser, cramfs or XFS marker
1 * Linux 2610 245 4 269960 79 6 4294967295
1 * Linux 2610 245 4 269960 79 6 4294967295
search_part()
Drive F: - 2990 GB / 2785 GiB - CHS 363561 255 63
recover_EXT2: s_block_group_nr=0/22120, s_mnt_count=207/4294967295, s_blocks_per_group=32768, s_inodes_per_group=2048
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 724834304
recover_EXT2: part_size 1503707136
Linux 2610 245 4 363561 191 22 5798674432 [DataVol13]
ext4 blocksize=4096 Large_file Sparse_SB, 2968 GB / 2765 GiB
Results
* Linux 2610 245 4 363561 191 22 5798674432 [DataVol13]
ext4 blocksize=4096 Large_file Sparse_SB, 2968 GB / 2765 GiB
dir_partition inode=2
* Linux 2610 245 4 363561 191 22 5798674432 [DataVol13]
ext4 blocksize=4096 Large_file Sparse_SB, 2968 GB / 2765 GiB
Directory /
2 drwxrwxrwx 0 0 4096 2-May-2016 22:27 .
2 drwxrwxrwx 0 0 4096 2-May-2016 22:27 ..
11 drwx------ 0 0 16384 2-May-2016 22:26 lost+found
44957697 drwxrwxrwx 0 0 4096 19-Dec-2016 01:58 JAVBT Share13
12 -rw------- 0 0 7168 2-May-2016 22:27 aquota.user
interface_write()
1 * Linux 2610 245 4 363561 191 22 5798674432 [DataVol13]
write!
write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition
You will have to reboot for the change to take effect.
TestDisk exited normally.
*************************************************************************
Recently I have unmounted Seagate 3TB single hard disk volume(i.e., NO RAID) from QNAP NAS, but then later when I remounted the disk into the NAS, I found the filesystem type(ext4) of the data partition turned into RAW(unknown) for some unknown reason. And, I have this same issue happened for 2 different 3TB hard disk, so I believe this is caused by some unknown firmware bug in the QNAP NAS !
Thus, I have tried to run Testdisk 7 under Windows 10, and connect the problem disk to my Win10 PC via a USB/SATA adapter. Then, it appeared that Testdisk could analyze & found my Linux partition with data folder on it, and when I choose "Write" in the last step, it prompted me "OK" but then I still found the filesystem remained as "RAW" ! And, here I enclosed the details of the testdisk log file for your information.
BTW, when I run Testdisk under Windows 10, should I have to install & run some ext4 driver support software as well (e.g., ext2fsd volume manager) ?
Thanks in advance.
Rgds,
Peter Chan.
*******************************************************************************
Sun Apr 30 13:49:13 2017
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)=2000396619264
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=3000592982016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=2000396619264
filewin32_getfilesize(\\.\PhysicalDrive1) GetFileSize err Incorrect function.
filewin32_setfilepointer(\\.\PhysicalDrive1) SetFilePointer err Incorrect function.
Warning: can't get size for \\.\PhysicalDrive1
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=3000592982016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=1982290984960
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=0
Warning: can't get size for \\.\D:
filewin32_getfilesize(\\.\E:) GetFileSize err Incorrect function.
filewin32_setfilepointer(\\.\E:) SetFilePointer err Incorrect function.
Warning: can't get size for \\.\E:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=2990399245312
Hard disk list
Disk /dev/sda - 2000 GB / 1863 GiB - CHS 243201 255 63, sector size=512
Disk /dev/sdc - 3000 GB / 2794 GiB - CHS 364801 255 63, sector size=512
Drive C: - 1982 GB / 1846 GiB - CHS 240999 255 63, sector size=512
Drive F: - 2990 GB / 2785 GiB - CHS 363561 255 63, sector size=512
Partition table type (auto): None
Drive F: - 2990 GB / 2785 GiB
Partition table type: Intel
Analyse Drive F: - 2990 GB / 2785 GiB - CHS 363561 255 63
Geometry from i386 MBR: head=255 sector=63
check_part_i386 failed for partition type 83
Current partition structure:
No ext2, JFS, Reiser, cramfs or XFS marker
1 * Linux 2610 245 4 269960 79 6 4294967295
1 * Linux 2610 245 4 269960 79 6 4294967295
search_part()
Drive F: - 2990 GB / 2785 GiB - CHS 363561 255 63
recover_EXT2: s_block_group_nr=0/22120, s_mnt_count=207/4294967295, s_blocks_per_group=32768, s_inodes_per_group=2048
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 724834304
recover_EXT2: part_size 1503707136
Linux 2610 245 4 363561 191 22 5798674432 [DataVol13]
ext4 blocksize=4096 Large_file Sparse_SB, 2968 GB / 2765 GiB
Search for partition aborted
Results
* Linux 2610 245 4 363561 191 22 5798674432 [DataVol13]
ext4 blocksize=4096 Large_file Sparse_SB, 2968 GB / 2765 GiB
interface_write()
1 * Linux 2610 245 4 363561 191 22 5798674432 [DataVol13]
simulate write!
write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition
Partition table type (auto): None
Drive F: - 2990 GB / 2785 GiB
Partition table type: Intel
Analyse Drive F: - 2990 GB / 2785 GiB - CHS 363561 255 63
Geometry from i386 MBR: head=255 sector=63
check_part_i386 failed for partition type 83
Current partition structure:
No ext2, JFS, Reiser, cramfs or XFS marker
1 * Linux 2610 245 4 269960 79 6 4294967295
1 * Linux 2610 245 4 269960 79 6 4294967295
search_part()
Drive F: - 2990 GB / 2785 GiB - CHS 363561 255 63
recover_EXT2: s_block_group_nr=0/22120, s_mnt_count=207/4294967295, s_blocks_per_group=32768, s_inodes_per_group=2048
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 724834304
recover_EXT2: part_size 1503707136
Linux 2610 245 4 363561 191 22 5798674432 [DataVol13]
ext4 blocksize=4096 Large_file Sparse_SB, 2968 GB / 2765 GiB
Results
* Linux 2610 245 4 363561 191 22 5798674432 [DataVol13]
ext4 blocksize=4096 Large_file Sparse_SB, 2968 GB / 2765 GiB
dir_partition inode=2
* Linux 2610 245 4 363561 191 22 5798674432 [DataVol13]
ext4 blocksize=4096 Large_file Sparse_SB, 2968 GB / 2765 GiB
Directory /
2 drwxrwxrwx 0 0 4096 2-May-2016 22:27 .
2 drwxrwxrwx 0 0 4096 2-May-2016 22:27 ..
11 drwx------ 0 0 16384 2-May-2016 22:26 lost+found
44957697 drwxrwxrwx 0 0 4096 19-Dec-2016 01:58 JAVBT Share13
12 -rw------- 0 0 7168 2-May-2016 22:27 aquota.user
interface_write()
1 * Linux 2610 245 4 363561 191 22 5798674432 [DataVol13]
write!
write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition
You will have to reboot for the change to take effect.
TestDisk exited normally.
*************************************************************************