Re : QNAP NAS 3TB Seagate Hard Disk - ext4 turned to raw
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
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
-
- Posts: 7
- Joined: 01 May 2017, 06:40
Re : QNAP NAS 3TB Seagate Hard Disk - ext4 turned to raw
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.
*************************************************************************
- cgrenier
- Site Admin
- Posts: 5432
- Joined: 18 Feb 2012, 15:08
- Location: Le Perreux Sur Marne, France
- Contact:
Re: Re : QNAP NAS 3TB Seagate Hard Disk - ext4 turned to raw
Please choose /dev/sdc and use EFI GPT partition table instead of PC Intel as the disk is over 2 TB.
-
- Posts: 7
- Joined: 01 May 2017, 06:40
Re: Re : QNAP NAS 3TB Seagate Hard Disk - ext4 turned to raw
Hi cgrenier, good day,
Thank you so much for your great & prompt support ! And I will follow your advice to try it again then...
BTW, when I run Testdisk under Windows 10, should I have to install & run some ext3/ext4 driver support software as well (e.g., ext2fsd volume manager) ?
Thanks again in advance.
Best Rgds,
Peter Chan.
Thank you so much for your great & prompt support ! And I will follow your advice to try it again then...
BTW, when I run Testdisk under Windows 10, should I have to install & run some ext3/ext4 driver support software as well (e.g., ext2fsd volume manager) ?
Thanks again in advance.
Best Rgds,
Peter Chan.
- cgrenier
- Site Admin
- Posts: 5432
- Joined: 18 Feb 2012, 15:08
- Location: Le Perreux Sur Marne, France
- Contact:
Re: Re : QNAP NAS 3TB Seagate Hard Disk - ext4 turned to raw
TestDisk includes its own ext2/3/4 library (e2fsprogs).
You can use the Advanced menu of TestDiskIf to list and copy your files or install as you suggested a driver for Windows, if you want to access your files from Windows.
You can use the Advanced menu of TestDiskIf to list and copy your files or install as you suggested a driver for Windows, if you want to access your files from Windows.
-
- Posts: 7
- Joined: 01 May 2017, 06:40
Re: Re : QNAP NAS 3TB Seagate Hard Disk - ext4 turned to raw
Hi again, cgrenier,
Thank you again for your prompt support & reply !
Okay, I got what you meant. And, from last night, I followed your advice & tried to analyze the disk but it appeared that "Quick Search" couldn't find my lost partition, then I started to do a "Deeper Search" but seems like it may take a few days to go....
Anyway, finally no matter success or fail, later I will let you know the results.
Thanks + Best Rgds,
Peter.
Thank you again for your prompt support & reply !
Okay, I got what you meant. And, from last night, I followed your advice & tried to analyze the disk but it appeared that "Quick Search" couldn't find my lost partition, then I started to do a "Deeper Search" but seems like it may take a few days to go....
Anyway, finally no matter success or fail, later I will let you know the results.
Thanks + Best Rgds,
Peter.
-
- Posts: 7
- Joined: 01 May 2017, 06:40
URGENT !! Re : QNAP NAS 3TB Seagate Hard Disk - ext4 turned to raw
Hi again cgrenier,
Until this moment, Testdisk is still running "deep search" task(about 54% out of 100%). And, it appeared that the log file keep going bigger & bigger & it "eat up" all my local drive c disk space. However, I don't want to stop & restart the deep search from the very beginning, so are there any way to clear or delete the testdisk log file without stopping deep search task ?
Rgds,
Peter.
Until this moment, Testdisk is still running "deep search" task(about 54% out of 100%). And, it appeared that the log file keep going bigger & bigger & it "eat up" all my local drive c disk space. However, I don't want to stop & restart the deep search from the very beginning, so are there any way to clear or delete the testdisk log file without stopping deep search task ?
Rgds,
Peter.
- cgrenier
- Site Admin
- Posts: 5432
- Joined: 18 Feb 2012, 15:08
- Location: Le Perreux Sur Marne, France
- Contact:
Re: Re : QNAP NAS 3TB Seagate Hard Disk - ext4 turned to raw
Is the deeper search useful ? Didn't you see the partition during Quick Search ?
If there are a lot of read errors, the log file may grow very big.
If there are a lot of read errors, the log file may grow very big.
-
- Posts: 7
- Joined: 01 May 2017, 06:40
Re: Re : QNAP NAS 3TB Seagate Hard Disk - ext4 turned to raw
Hi cgrenier,
Thank you for yr reply.
During quick search, I couldn't see the lost partition with my data folder in it.
After starting deeper search, I saw one read error msg like this :
Read error xxxxx/yyy/zz
** The figures of xxxxx keep changing , but yyy & zz did not change.
Is this a serious problem ?
Please give further advice.
Rgds,
Peter.
Thank you for yr reply.
During quick search, I couldn't see the lost partition with my data folder in it.
After starting deeper search, I saw one read error msg like this :
Read error xxxxx/yyy/zz
** The figures of xxxxx keep changing , but yyy & zz did not change.
Is this a serious problem ?
Please give further advice.
Rgds,
Peter.
- cgrenier
- Site Admin
- Posts: 5432
- Joined: 18 Feb 2012, 15:08
- Location: Le Perreux Sur Marne, France
- Contact:
Re: Re : QNAP NAS 3TB Seagate Hard Disk - ext4 turned to raw
Yes, it's a serious problem. It means there are bad sectors or maybe a damaged head.
If the data is valuable, you should contact a data recovery company.
If the data is valuable, you should contact a data recovery company.
-
- Posts: 7
- Joined: 01 May 2017, 06:40
Re: Re : QNAP NAS 3TB Seagate Hard Disk - ext4 turned to raw
Hi Cgrenier,
In this morning, the deep search finished & I came to the result screen. There are a few screen but I have captured the first & the last screen & attached in the link below for your reference. As you can see in the last screen, it seems like it could find my data folder namely "DataVol13", but there are 2 entries.
So, which one should I select ? And after selection, how to proceed ?
And, do you mean there are a lot of bad sectors ? IF not many, should I continue this recovery task ?
https://www.dropbox.com/s/ijnfi3vnrknhs ... n.jpg?dl=0
https://www.dropbox.com/s/41f9r44unnf3t ... n.jpg?dl=0
Rgds,
Peter.
In this morning, the deep search finished & I came to the result screen. There are a few screen but I have captured the first & the last screen & attached in the link below for your reference. As you can see in the last screen, it seems like it could find my data folder namely "DataVol13", but there are 2 entries.
So, which one should I select ? And after selection, how to proceed ?
And, do you mean there are a lot of bad sectors ? IF not many, should I continue this recovery task ?
https://www.dropbox.com/s/ijnfi3vnrknhs ... n.jpg?dl=0
https://www.dropbox.com/s/41f9r44unnf3t ... n.jpg?dl=0
Rgds,
Peter.