Welcome, Guest
You have to register before you can post on our site.



Search Forums

(Advanced Search)

Forum Statistics
» Members: 11,341
» Latest member: alexeytexaxday4054
» Forum threads: 11,872
» Forum posts: 74,127

Full Statistics

Online Users
There are currently 147 online users.
» 0 Member(s) | 142 Guest(s)
Bing, Google, Yandex, Baidu, Applebot

Latest Threads
[resolved] 2.06.03.cdv to...
Forum: N7510
Last Post: hcx
9 hours ago
» Replies: 0
» Views: 16
Official NAS Application ...
Forum: N4520/N4560
Last Post: DeNiro
12-08-2018, 08:18 PM
» Replies: 0
» Views: 111
extra extensions in Apac...
Forum: Third party modules
Last Post: outkastm
12-06-2018, 09:27 PM
» Replies: 7
» Views: 1,262
Is thecus deied?
Forum: Third party modules
Last Post: outkastm
11-26-2018, 07:04 AM
» Replies: 1
» Views: 452
[ Nextcloud ] OwnCloud fo...
Forum: Third party modules
Last Post: outkastm
11-26-2018, 06:47 AM
» Replies: 90
» Views: 28,955
[Radarr] Fork of Sonarr f...
Forum: Third party modules
Last Post: outkastm
11-26-2018, 06:43 AM
» Replies: 9
» Views: 5,738
OS7 Firmware update 3.02....
Forum: N5550
Last Post: Blackbear199
11-18-2018, 08:25 PM
» Replies: 3
» Views: 638
How to connect N5550 to L...
Forum: N5550
Last Post: Coolrat33
11-16-2018, 05:07 AM
» Replies: 14
» Views: 9,758
Redundant file sharing ar...
Forum: N7700PRO v2/N8800PRO v2
Last Post: stygre
11-01-2018, 11:51 PM
» Replies: 2
» Views: 1,163

  Recovering Data from N2310 HDD
Posted by: gratsoy - 06-30-2018, 08:40 AM - Forum: N2310 - Replies (1)

I've successfully recovered data from my single HDD that was inside a failed N2310. The N2310 died after a power outtage and I was unable to restore it.

Two options are available here: 1) Recover on Windows with a PAID program 2) Recover for free with Linux

I used Disk Drill and recovered the entire contents with ease - HOWEVER, I lost all metadata. So I had ~1000 files that would need to be manually renamed and sorted. If you do some research, I believe there are paid programs that can detect the filesystem correctly and keep the metadata YMMV

Using a linux PC, I recovered everything and maintained metadata and folder structures. You can likely do this using a Ubuntu Live CD/USB, but I have a purpose built Linux machine that I used.

From what I've read the N2310 is a powerPC based unit so it's filesystems are kind of goofy and not easily registered by Linux. In Ubuntu I was absolutely not able to mount the drive no matter what I did, but that doesn't prevent you from recovering the data. Instructions are as follows:

Install the drive, and make sure you have a destination with enough room for the files to be recovered to (I used an external hard drive USB 3.0)
I then opened up the terminal and changed my permissions to root (if you're unfamiliar with linux, be careful cause you can cause some damage while in root)

Quote:sudo -i

Next I installed mdadm and lvm2

Quote:apt-get install mdadm
apt-get install lvm2

Use mdadm to reassemble your raid (if you had a two HDD raid this should also work if both drives are installed), recursive is optional.
Quote:mdadm --assemble --scan --recursive

If you open up the disks appication you should see a few RAID array's. My HDD was 3 TB and I had an array "3.0 TB Raid Array" the device was called /dev/md0. Yours may be called something else but it will be along the lines of /dev/mdX
This is where all the files are. The other arrays are used by the N2310 for operational purposes and won't contain any data you would need to recover.

Next we need to check the block size, it's easiest to try to mount first then check.

Quote:mount /dev/md0 /mountlocation
mount: /mountlocatin: wrong fs type, bad option, bad superblock on /dev/md0, missing code page or helper program, or other error.
dmesg | tail
With mountlocation being a location I created to mount my drive, the message in red is the error you get. After doing the dmesg you'll get a response with a few lines. At the end you will see something along the lines of:
Quote:[449.322010] EXT4-fs (md0)" bad block size 65536
The numers in brackets likely wont be the same, but what we see here is that the block size for this file system is 65536 - again, I think this relates to the powerPC architecture. 65536 will be the same for all N2310s and likely most Linux Thecus rigs.

Next we debug the filesystem to recover our data
open -b 65536 /dev/md0

You'll now be in a window where it will list the folders in this root of md0, I had to hunt and guess here but there was a folder called "data" so I decided to look in there. Hit q to exit the ls

Quote:cd "data"

At this point I could see all the folders I had placed in my NAS - and thus am ready to recover. Hit q to exit the ls

Quote:rdump "folder you want to recover" /location of dump

In my case it looked like this:

Quote:rdump "Movies" /media/username/TOURO

Since I had my external HDD mounted I dumped there, if you do the same you will need to use the similar format, /media/username/name of external HDD.

At this point debugfs will do it's thing and you wont be able to type anything in terminal. The cursor will return when it's done.

If your folders have spaces in their name, I believe you'll need to use a backslash like this:

Quote:rdump "folder\with\spaces /media/username/Touro

I spent way too long trying to figure this out - so I wanted to post a thread to give future users some guidance.

This same method should work for other NAS machines as well - most of these instructions I pulled from a guide on recovering from an LG branded NAS

Print this item

  Accessing N5550 outside network
Posted by: hill67 - 06-20-2018, 12:49 AM - Forum: N5550 - Replies (1)

Does anybody have a step by step guide how to setup the N5550 to be accessed from anywhere in the world?
Thanks in advance!

Print this item

  The File Space Used is too bigger thans File Size
Posted by: jimmia - 06-17-2018, 07:09 PM - Forum: Tutorials - Replies (1)

hi,I have an old thecus N4200 Nas,os5.The diffrence between the file size and the file space used is too serious,see the attached image.This is my Win10 64bits Screenshot,but in Win7 32bits the size is almost same.what happened?

Print this item

  Full featured bios for N2810
Posted by: roel - 06-14-2018, 05:04 PM - Forum: N2810 Series - Replies (1)

Is there a possibility to release a bios update for the N2810 with more bios settings.  In particular the settings for the integrated intel GPU.

Print this item

  High memory usage?
Posted by: ngupta - 05-31-2018, 11:24 PM - Forum: N4100PRO - Replies (1)

I don't know when it started, but the memory usage of my N4100PRO is through the roof (85+% all the time).  I've disabled all network services other than AFP, and all application servers other than SSH, and it doesn't seem to solve the problem.

When I SSH in, I see that there are 6 httpd processes that are using almost 100k of RAM, even though I am not doing anything with the webserver.

I am on what I believe is the latest firmware, 5.03.02.

Any help you can provide is appreciated!

Print this item

Question IMAP Port 993
Posted by: greatpotoo - 05-29-2018, 10:15 PM - Forum: N4200PRO/N4200Eco - Replies (3)

Dear Thecus community,

I have a THECUS N4200 PRO with firmware V5.03.02.8 on which I run PHPXMail

I am able to access ports 25, 143, 465 but for some reason I can't access port 993 for a secure IMAP connection - I tried a number of things but somehow I cannot figure out what is wrong - any help would be appreciated

The router/modem redirects port 993 to the NAS

the NAS however has port 993 listed as closed

Thank you Confused

Print this item

Wink Module: Serviio DLNA Server
Posted by: MGLota - 05-16-2018, 04:31 PM - Forum: Thecus Modules - Replies (1)

I have a Thecus NAS N4100PRO.
Error occurs when installing: ServiioPHP_1.   The error stated…….
Module will install/upgrade ,please do not reload or close admin UI
Module Name: [ Serviio (PHP) ]
Module Version: [ ]
2018/05/16 17:00:26: Module is installing ...
2018/05/16 17:00:26: Module(apache, above version: does not exist.
2018/05/16 17:00:27: Install module fail.
The Thecus apps website (http://www.thecus.com/sp_app_intro.php?APP_ID=261) stated prerequisites were required, these are:
·         ffmpeg_1.2.0.1_x86
·         OracleJRE6-1.03.00
·         PHP53-1.08.02
·         ModBase1-1.04.01
·         Apache
All except the Apache were installed successfullyThe apache install error stated…..
Module will install/upgrade ,please do not reload or close admin UI
2018/05/16 16:35:57: Upload module file fail.
Please give me direction as to what I should do to solve this issue, as I am keen to install Serviio on the NAS. N4100PRO

Print this item

Wink Raid degraded
Posted by: ury - 05-12-2018, 12:56 AM - Forum: N7510 - Replies (1)

Here's my status:
N7510, RAID 5 configuration attached (5 disk + 1 "spare")

  • I've noticed my system is responding very slowly, both connections and file transfer.
  • When I looked in the log and in the RAID Management screen, they specify that the RAID has been "degraded".
  • I don't know what "degraded" means, but from reading around I assume it has something to do with disk errors (?)
  • Also from reading through the forums, I saw suggestions regarding setting the spare disk.  I have done that repeatedly, but it doesn't seem to change anything: after I check the "Spare" checkbox and click "Apply", the next time I enter the Raid Management screen, the "Spare" checkbox is unchecked again.
  • I have upgraded to the latest firmware -
  • I have run S.M.A.R.T. test on all HDs.  All RAID drives passed but the "spare-to-be" drive seems to have errors.
  • I have removed the failed HD.
  • The RAID is still "degraded".
I'm not sure if a "spare" drive is mandatory (it shouldn't be).  How can I fix the currently "degraded" status?


Attached Files Thumbnail(s)
Print this item

  Capacity missing after growing a RAID5 array
Posted by: cbayleynz - 05-09-2018, 07:23 AM - Forum: N5810PRO - Replies (1)

I just grew my RAID5 array by adding 2 disks but the web interface and 'df' are not showing the new capacity.
mdadm and fdisk do show the increased capacity.

What gives ?

N5810PRO:~# df -h /dev/md0
Filesystem      Size  Used Avail Use% Mounted on
/dev/md0        3.6T  2.9T  740G  80% /raiddata/0
N5810PRO:~# fdisk -l /dev/md0
Disk /dev/md0: 7.3 TiB, 7990781673472 bytes, 15606995456 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 65536 bytes / 262144 bytes
N5810PRO:~# mdadm --detail /dev/md0
        Version : 1.2
  Creation Time : Sun May  6 20:38:15 2018
     Raid Level : raid5
     Array Size : 7803497728 (7442.00 GiB 7990.78 GB)
  Used Dev Size : 1950874432 (1860.50 GiB 1997.70 GB)
   Raid Devices : 5
  Total Devices : 5
    Persistence : Superblock is persistent

    Update Time : Wed May  9 10:09:39 2018
          State : clean
 Active Devices : 5
Working Devices : 5
 Failed Devices : 0
  Spare Devices : 0

         Layout : left-symmetric
     Chunk Size : 64K

           Name : N5810PRO:1  (local to host N5810PRO)
           UUID : 58ef4569:6961c37c:f6f69ff2:cc12416a
         Events : 5801

    Number   Major   Minor   RaidDevice State
       0       8        2        0      active sync   /dev/sda2
       1       8       18        1      active sync   /dev/sdb2
       2       8       34        2      active sync   /dev/sdc2
       4       8       66        3      active sync   /dev/sde2
       3       8       50        4      active sync   /dev/sdd2

Print this item