NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Electronic's avatar
Electronic
Aspirant
Jan 22, 2017

ReadyNAS Duo - cannot delete file(s), user & group is some random number! Help sought please.

Hello

 

ReadyNAS Duo [X-RAID], Firmware: RAIDiator 4.1.15 [1.00a043]
Memory: 256 MB [2.5-3-3-7]

IPv4 address:: 192.168.1.10

Volume C: Online, X-RAID, 2 disks, 35% of 1853 GB used

(out of warranty by years!)

 

I have been using rsync to incrementally back up my shares to an external HDD, once a week for the last several months. This week I saw errors, telling me that 

 

"error encountered copying data from source path  ==> /USB_HDD_2/ due to unknown reason.  Please see log".
"cp: cannot overwrite directory '/USB_HDD_2/./pending/datasheets' with non-directory

When I look for the source directory I see a what is reported to be a broken symlink, dated 1/10/2063, which is 500MB in size whereas it should be a couple of MB at the most. 

The owner of the file (or the symlink, or whatever it thinks it is pointing at) is "-13157849 - user #-13157849" instead of nobody nogroup.

 

There are three errors in total, and where there used to be a directory there is now a file of ther same name, either saying the filetype is ? or a FIFO.  The apparent filesize is huge (upto 2.8GB in one case) whereas the original dirs were small (<<10MB each). The timestamp is some future date, decades away from now.

 

using my linux OS I have used SSH to investigate and I am unable to delete these "files" or find out what they are pointing at or how they now appear to be very large.  I have tried to set all the files to nobody/nogroup as per some of the other help topics here, but the random number owner/group persists.

 

1) How do I find out the actual size on disk of these errored file references?

 

2) How do I delete them?

 

3) How did this happen, whatever "this" is?

 

I am fully happy to use SSH or not and I am ready to try to follow instructions, bearing in mind I am a linux user rather than programmer/script expert.  I have downloaded all logs and with guidance I can look through them (don't know where to begin, though) and paste results here/try tests/show results.

 

Please can someone give me some guidance?

 

Thanks for any assistance you can profer.

 

5 Replies

Replies have been turned off for this discussion
  • Having now used SSH as root, I can see the errant "files" thus:

     

    # ls

    p--------- 1 3269427937 2742842355 1669228785 Sep 8 2034 finalversions

     

    #ls

    ls: cannot access 'eBay auctions': Input/output error
    ?????????? ? ? ? ? ? eBay auctions

     

    #ls

    ls: cannot access 'Licenses': Input/output error
    total 1795980
    ?????????? ? ? ? ? ? Licenses

     

    Ecen though I'm root, I can't delete them. It means that rsync comes up with errors every week because it can't copy these problems, which it sees as files.

     

    Can anyone suggest how I delete them or at least chmod or chuse them to be accessible to root please?

     

     

    • StephenB's avatar
      StephenB
      Guru - Experienced User

      These are on the USB drive?

       

      Input/Output error doesn't sound like a permissions issue to me.  You might need to reformat the drive.  It might be worth running vendor diags (seatools for seagate, lifeguard for western digital).

      • Electronic's avatar
        Electronic
        Aspirant

        Hello

         

        These errors are on the NASbox (sorry, I now realise that I wasn't clear).  I have checked the SMART data on both NAS hard drives (which are  Seagate ST2000VN000-1H3164 [1862 GB]) and see no change in their state ... they still appear to be healthy.

         

        I realise that one solution would be to format the NAS HDDs and then use my USB backup copy to reinstate that data. It seems a drastic approach to take seeing as it *appears* that there are merely three files to remove in order to be back to where I was.  I'd like to experiment with getting rid of the files first but being root on my own NASbox doesn't seem to help me.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More