General NAS-Central Forums

Welcome to the NAS community
It is currently Thu Sep 21, 2017 4:00 pm

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Missing Files
PostPosted: Tue May 16, 2017 6:23 pm 
Offline

Joined: Mon Nov 02, 2015 1:54 pm
Posts: 20
Hello all

Few weeks back I have noticed that nas540 have been busy more the usual and by looking in to storage status its been busy with disk resync.
I did not gave it a second though and waited until the next morning. On first glance everything was ok until I opened plex client on my smart TV
and realised that 30% of my episode from fav shows are gone.

Storage status is still saying that disks are ok but now I am very sceptical where I can live with out tv shows I CANT live with lost documents and photos.
I checked forum for disk tools that I could use and installed FFP only to hit a wall with checksum error:
Quote:
Updating package lists...
fetch: rsync -q 'rsync://ffp.inreto.de/ffp/0.7/arm/packages/CHECKSUMS.md5' '/ffp/funpkg/cache/s'
fetch: (cd '/ffp/funpkg/cache/mz'; wget -Nnv 'http://downloads.zyxel.nas-central.org/Users/Mijzelf/FFP-Stick/packages/0.7/arm/CHECKSUMS.md5')
wget: invalid option -- 'N'
BusyBox v1.19.4 (2016-10-05 15:30:26 CST) multi-call binary.

Usage: wget [-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document FILE]
[--header 'header: value'] [-Y|--proxy on/off] [-P DIR]
[--no-check-certificate] [-U|--user-agent AGENT] [-T SEC] URL...

FATAL: mz: No CHECKSUMS.md5
Thanks for using UW Site Loader!

Is this something that can be fixed or maybe you guys have another approach to install testdisk ?
I tried to download file with wget but it still would not install !

Any tips are appreciated


Top
 Profile  
 
 Post subject: Re: Missing Files
PostPosted: Wed May 17, 2017 7:29 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6039
You should login as admin, and then 'su' to root. That will invoke another version of wget.


Top
 Profile  
 
 Post subject: Re: Missing Files
PostPosted: Wed May 17, 2017 9:42 am 
Offline

Joined: Mon Nov 02, 2015 1:54 pm
Posts: 20
I forgot to say that command was running as root.

What actually helped was to completely logoff, restart nas box and then login again.
Testdisk is now installed, thanks Mijzelf

Is there a choice in testdisk that can actually show status of disk in RAID ?


Top
 Profile  
 
 Post subject: Re: Missing Files
PostPosted: Wed May 17, 2017 2:14 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6039
badkernel wrote:
Is there a choice in testdisk that can actually show status of disk in RAID ?

What do you mean?


Top
 Profile  
 
 Post subject: Re: Missing Files
PostPosted: Wed May 17, 2017 6:11 pm 
Offline

Joined: Mon Nov 02, 2015 1:54 pm
Posts: 20
Mijzelf wrote:
badkernel wrote:
Is there a choice in testdisk that can actually show status of disk in RAID ?

What do you mean?


What I ment was is there obvious choice (option aka flag) with testdisk that can show previous errors on RAID?
I mean all 4 disk are fine only files are missing and logs available to me do not mention any kind of foul play.


Top
 Profile  
 
 Post subject: Re: Missing Files
PostPosted: Wed May 17, 2017 9:10 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6039
You can see the raid status with
Code:
cat /proc/mdstat
But a raid problem should not be able to remove a part of the files. The array is up or down, there is nothing in between. (Of course there is also 'degraded', but in that case the filesystem is still intact. Only the redundancy is lost)

You might have had a filesystem error, in which case you might be able to find your files in /i-data/sysvol/lost+found/ , but the most probable cause is that you deleted the files yourself, somehow.


Top
 Profile  
 
 Post subject: Re: Missing Files
PostPosted: Thu May 18, 2017 6:20 am 
Offline

Joined: Mon Nov 02, 2015 1:54 pm
Posts: 20
No issues when running cat /proc/mdstat

It is possible that one could delete stuff unintentionally, but since file missing are random its not likely that deleting was the cause.

Any ideas if logging can be adjusted in such a way that all delete or change actions are logged ?


Top
 Profile  
 
 Post subject: Re: Missing Files
PostPosted: Thu May 18, 2017 3:55 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6039
I don't think the firmware has a way to log that kind of events. But you can write a script using inotifywait in ffp or Entware-ng to do your own logging.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group