Cant access my NAS326

Options
2

All Replies

  • Mijzelf
    Mijzelf Posts: 2,607  Guru Member
    First Anniversary 10 Comments Friend Collector First Answer
    Options
    According to the prompt ( ~# ) the current directory is the home directory of root. Which is not /i-data/sysvol/.
    So execute
    ls /i-data/sysvol/lost+found/
  • MatsG
    MatsG Posts: 14
    Options
    Here is my sequence of commands...

    No result for me



  • Mijzelf
    Mijzelf Posts: 2,607  Guru Member
    First Anniversary 10 Comments Friend Collector First Answer
    Options
    In that case the directory is not lost by a filesystem corruption, and found by filesystemcheck. There is a possibility that filesystemcheck has not been run, yet. So run 'Volume check' in the webinterface, and recheck lost+found after that.
    Have a look at the output of volume check, I don't know if it will succeed.
  • Harri1
    Harri1 Posts: 1
    Options
    I got it, thanks!

    business more information
  • MatsG
    MatsG Posts: 14
    Options
    Now I got stuck...
    Googled and search documents without finding how to do a Volume check
  • Mijzelf
    Mijzelf Posts: 2,607  Guru Member
    First Anniversary 10 Comments Friend Collector First Answer
    Options
    Right. I couldn't find it either. Apparently the function is removed in the NAS series. I'm sure my NSA325 had it.
    The filesystem cannot be repaired while it is mounted, but at least you can check if there are errors:

    su
    e2fsck -nf /dev/md2

    It will spawn a warning that the filesystem is mounted, that is OK. Try to not access the shares while the check is running.


  • MatsG
    MatsG Posts: 14
    Options
    Here is the result of that scan.
  • Mijzelf
    Mijzelf Posts: 2,607  Guru Member
    First Anniversary 10 Comments Friend Collector First Answer
    Options
    According to that result there might be 13 files lost (including directories) with a maximum total size of 68kB. If you think that could be your files, you can follow the directions here to perform a filesystem repair. Unfortunately the forum software has b0rked up my layout, so you'll have to remove the html code between the commands.

    But I doubt that are your files. Could it be you moved them, somehow? If you know a filename which should absolutely be in that lost directory, you can find it with

    find /i-data/sysvol/ | grep -i "filename"


  • MatsG
    MatsG Posts: 14
    Options
    Tried to find some different files with out any luck.

    Is there a command to find a folder, because I am 100% sure of foldernames.
  • Mijzelf
    Mijzelf Posts: 2,607  Guru Member
    First Anniversary 10 Comments Friend Collector First Answer
    Options
    The same command should be able to find foldernames. If you just run
    find /i-data/sysvol/
    it shows all files, with the folder(s) they are contained by, and grep is a tool to filter only the lines containing a certain value.

Consumer Product Help Center