« Back to all recent discussions

NAS326 suddenly no longer has access and folders gone.

SuperdafiSuperdafi Posts: 7  Junior Member
edited January 10 in Questions
Good Morning,
a few days ago I couldn't get into the interface. The page starts but login is not accepted. There is no mistake. If I go over it via FTP then all files are gone.
I've already done the rest.

Kind regards, Daniel


#NAS_Jan_2020

Answers

  • MijzelfMijzelf Posts: 1,248  Paragon Member
    Can you get to the interface after the reset? If not, remove the disks, and try again.
  • SuperdafiSuperdafi Posts: 7  Junior Member
    I just did it. The two hard drives removed and a reset performed. I'm coming back into the interface
    Now the message "Volume is down. Please go to Storage Manager for repair." I click OK then I get into the hard disk management. Then see volume in the hard disk array and a red one! (Crashed / Full). But see no way to make a repair.

    Kind regards, Daniel
  • MijzelfMijzelf Posts: 1,248  Paragon Member
    Meanwhile you put the disk(s) back I suppose? Can you enable the ssh server (somewhere in control panel) login over ssh (you can use PuTTY for that) and post the output of

    cat /proc/mounts
    cat /proc/partitions
    df -h
    cat /proc/mdstat

  • SuperdafiSuperdafi Posts: 7  Junior Member
    This issue was with hard drives:

    login as: admin
    [email protected]'s password:


    BusyBox v1.19.4 (2019-09-04 14:02:35 CST) built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    ~ $ cat /proc/mounts
    rootfs / rootfs rw 0 0
    /proc /proc proc rw,relatime 0 0
    /sys /sys sysfs rw,relatime 0 0
    devpts /dev/pts devpts rw,relatime,mode=600 0 0
    ubi4:ubi_rootfs1 /firmware/mnt/nand ubifs ro,relatime 0 0
    /dev/md0 /firmware/mnt/sysdisk ext4 ro,relatime,data=ordered 0 0
    /dev/loop0 /ram_bin ext2 ro,relatime 0 0
    /dev/loop0 /usr ext2 ro,relatime 0 0
    /dev/loop0 /lib/security ext2 ro,relatime 0 0
    /dev/loop0 /lib/modules ext2 ro,relatime 0 0
    /dev/loop0 /lib/locale ext2 ro,relatime 0 0
    /dev/ram0 /tmp/tmpfs tmpfs rw,relatime,size=5120k 0 0
    /dev/ram0 /usr/local/etc tmpfs rw,relatime,size=5120k 0 0
    ubi2:ubi_config /etc/zyxel ubifs rw,relatime 0 0
    configfs /sys/kernel/config configfs rw,relatime 0 0
    ~ $ cat /proc/partitions
    major minor  #blocks  name

       7        0     146432 loop0
      31        0       2048 mtdblock0
      31        1       2048 mtdblock1
      31        2      10240 mtdblock2
      31        3      15360 mtdblock3
      31        4     108544 mtdblock4
      31        5      15360 mtdblock5
      31        6     108544 mtdblock6
       8        0 1953514584 sda
       8        1    1998848 sda1
       8        2    1999872 sda2
       8        3 1949514752 sda3
       8       16 1953514584 sdb
       8       17    1998848 sdb1
       8       18    1999872 sdb2
       8       19 1949514752 sdb3
       9        0    1997760 md0
       9        1    1998784 md1
       9        2 3899029376 md2
     253        0     102400 dm-0
     253        1 3898925056 dm-1
    ~ $ df -h
    Filesystem                Size      Used Available Use% Mounted on
    ubi4:ubi_rootfs1         88.1M     48.2M     35.4M  58% /firmware/mnt/nand
    /dev/md0                  1.8G    145.9M      1.6G   8% /firmware/mnt/sysdisk
    /dev/loop0              138.5M    121.8M     16.7M  88% /ram_bin
    /dev/loop0              138.5M    121.8M     16.7M  88% /usr
    /dev/loop0              138.5M    121.8M     16.7M  88% /lib/security
    /dev/loop0              138.5M    121.8M     16.7M  88% /lib/modules
    /dev/loop0              138.5M    121.8M     16.7M  88% /lib/locale
    /dev/ram0                 5.0M      4.0K      5.0M   0% /tmp/tmpfs
    /dev/ram0                 5.0M      4.0K      5.0M   0% /usr/local/etc
    ubi2:ubi_config           2.2M    132.0K      2.0M   6% /etc/zyxel
    ~ $ cat /proc/mdstat
    Personalities : [linear] [raid0] [raid1] [raid6] [raid5] [raid4]
    md2 : active linear sda3[0] sdb3[1]
          3899029376 blocks super 1.2 64k rounding

    md1 : active raid1 sda2[2] sdb2[1]
          1998784 blocks super 1.2 [2/2] [UU]

    md0 : active raid1 sda1[2] sdb1[1]
          1997760 blocks super 1.2 [2/2] [UU]

    unused devices: <none>
    ~ $

  • SuperdafiSuperdafi Posts: 7  Junior Member
    This edition is without hard drives:

    login as: admin
    [email protected]'s password:


    BusyBox v1.19.4 (2019-09-04 14:02:35 CST) built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    ~ $ cat /proc/mounts
    rootfs / rootfs rw 0 0
    /proc /proc proc rw,relatime 0 0
    /sys /sys sysfs rw,relatime 0 0
    devpts /dev/pts devpts rw,relatime,mode=600 0 0
    ubi4:ubi_rootfs1 /firmware/mnt/nand ubifs ro,relatime 0 0
    none /firmware/mnt/sysdisk ramfs ro,relatime 0 0
    /dev/loop0 /ram_bin ext2 ro,relatime 0 0
    /dev/loop0 /usr ext2 ro,relatime 0 0
    /dev/loop0 /lib/security ext2 ro,relatime 0 0
    /dev/loop0 /lib/modules ext2 ro,relatime 0 0
    /dev/loop0 /lib/locale ext2 ro,relatime 0 0
    /dev/ram0 /tmp/tmpfs tmpfs rw,relatime,size=5120k 0 0
    /dev/ram0 /usr/local/etc tmpfs rw,relatime,size=5120k 0 0
    ubi2:ubi_config /etc/zyxel ubifs rw,relatime 0 0
    configfs /sys/kernel/config configfs rw,relatime 0 0
    ~ $ cat /proc/partitions
    major minor  #blocks  name

       7        0     146432 loop0
      31        0       2048 mtdblock0
      31        1       2048 mtdblock1
      31        2      10240 mtdblock2
      31        3      15360 mtdblock3
      31        4     108544 mtdblock4
      31        5      15360 mtdblock5
      31        6     108544 mtdblock6
    ~ $ df -h
    Filesystem                Size      Used Available Use% Mounted on
    ubi4:ubi_rootfs1         88.1M     48.2M     35.4M  58% /firmware/mnt/nand
    /dev/loop0              138.5M    121.8M     16.7M  88% /ram_bin
    /dev/loop0              138.5M    121.8M     16.7M  88% /usr
    /dev/loop0              138.5M    121.8M     16.7M  88% /lib/security
    /dev/loop0              138.5M    121.8M     16.7M  88% /lib/modules
    /dev/loop0              138.5M    121.8M     16.7M  88% /lib/locale
    /dev/ram0                 5.0M      4.0K      5.0M   0% /tmp/tmpfs
    /dev/ram0                 5.0M      4.0K      5.0M   0% /usr/local/etc
    ubi2:ubi_config           2.2M    136.0K      2.0M   6% /etc/zyxel
    ~ $ cat /proc/mdstat
    Personalities : [linear] [raid0] [raid1] [raid6] [raid5] [raid4]
    unused devices: <none>
    ~ $
    ~ $
    ~ $
    ~ $
    ~ $
    ~ $
    ~ $
    ~ $ BusyBox v1.19.4 (2019-09-04 14:02:35 CST) built-in shell (ash)
    -sh: syntax error: unexpected "("
    ~ $ Enter 'help' for a list of built-in commands.
    -sh: Enter: not found
    ~ $
    ~ $ ~ $ cat /proc/mounts
    ~ $ df -h
    Filesystem                Size      Used Available Use% Mounted on
    ubi4:ubi_rootfs1         88.1M     48.2M     35.4M  58% /firmware/mnt/nand
    /dev/loop0              138.5M    121.8M     16.7M  88% /ram_bin
    /dev/loop0              138.5M    121.8M     16.7M  88% /usr
    /dev/loop0              138.5M    121.8M     16.7M  88% /lib/security
    /dev/loop0              138.5M    121.8M     16.7M  88% /lib/modules
    /dev/loop0              138.5M    121.8M     16.7M  88% /lib/locale
    /dev/ram0                 5.0M      4.0K      5.0M   0% /tmp/tmpfs
    /dev/ram0                 5.0M      4.0K      5.0M   0% /usr/local/etc
    ubi2:ubi_config           2.2M    136.0K      2.0M   6% /etc/zyxel
    ~ $ cat /proc/mdstat
    Personalities : [linear] [raid0] [raid1] [raid6] [raid5] [raid4]
    unused devices: <none>
    -sh: /home/shares: Permission denied
    ~ $ rootfs / rootfs rw 0 0
    -sh: rootfs: not found
    ~ $ /proc /proc proc rw,relatime 0 0
    -sh: /proc: Permission denied
    ~ $ /sys /sys sysfs rw,relatime 0 0
    -sh: /sys: Permission denied
    ~ $ devpts /dev/pts devpts rw,relatime,mode=600 0 0
    -sh: devpts: not found
    ~ $ ubi4:ubi_rootfs1 /firmware/mnt/nand ubifs ro,relatime 0 0
    -sh: ubi4:ubi_rootfs1: not found
    ~ $ none /firmware/mnt/sysdisk ramfs ro,relatime 0 0
    -sh: none: not found
    ~ $ /dev/loop0 /ram_bin ext2 ro,relatime 0 0
    -sh: /dev/loop0: Permission denied
    ~ $ /dev/loop0 /usr ext2 ro,relatime 0 0
    -sh: /dev/loop0: Permission denied
    ~ $ /dev/loop0 /lib/security ext2 ro,relatime 0 0
    -sh: /dev/loop0: Permission denied
    ~ $ /dev/loop0 /lib/modules ext2 ro,relatime 0 0
    -sh: /dev/loop0: Permission denied
    ~ $ /dev/loop0 /lib/locale ext2 ro,relatime 0 0
    -sh: /dev/loop0: Permission denied
    ~ $ /dev/ram0 /tmp/tmpfs tmpfs rw,relatime,size=5120k 0 0
    -sh: /dev/ram0: Permission denied
    ~ $ /dev/ram0 /usr/local/etc tmpfs rw,relatime,size=5120k 0 0
    -sh: /dev/ram0: Permission denied
    ~ $ ubi2:ubi_config /etc/zyxel ubifs rw,relatime 0 0
    -sh: ubi2:ubi_config: not found
    ~ $ configfs /sys/kernel/config configfs rw,relatime 0 0
    -sh: configfs: not found
    ~ $ ~ $ cat /proc/partitions
    -sh: /home/shares: Permission denied
    ~ $ major minor  #blocks  name
    -sh: major: not found
    ~ $
    ~ $    7        0     146432 loop0
    -sh: 7: not found
    ~ $   31        0       2048 mtdblock0
    -sh: 31: not found
    ~ $   31        1       2048 mtdblock1
    -sh: 31: not found
    ~ $   31        2      10240 mtdblock2
    -sh: 31: not found
    ~ $   31        3      15360 mtdblock3
    -sh: 31: not found
    ~ $   31        4     108544 mtdblock4
    -sh: 31: not found
    ~ $   31        5      15360 mtdblock5
    -sh: 31: not found
    ~ $   31        6     108544 mtdblock6
    -sh: 31: not found
    ~ $ ~ $ df -h
    -sh: /home/shares: Permission denied
    ~ $ Filesystem                Size      Used Available Use% Mounted on
    -sh: Filesystem: not found
    ~ $ ubi4:ubi_rootfs1         88.1M     48.2M     35.4M  58% /firmware/mnt/nand
    -sh: ubi4:ubi_rootfs1: not found
    ~ $ /dev/loop0              138.5M    121.8M     16.7M  88% /ram_bin
    -sh: /dev/loop0: Permission denied
    ~ $ /dev/loop0              138.5M    121.8M     16.7M  88% /usr
    -sh: /dev/loop0: Permission denied
    ~ $ /dev/loop0              138.5M    121.8M     16.7M  88% /lib/security
    -sh: /dev/loop0: Permission denied
    ~ $ /dev/loop0              138.5M    121.8M     16.7M  88% /lib/modules
    -sh: /dev/loop0: Permission denied
    ~ $ /dev/loop0              138.5M    121.8M     16.7M  88% /lib/locale
    -sh: /dev/loop0: Permission denied
    ~ $ /dev/ram0                 5.0M      4.0K      5.0M   0% /tmp/tmpfs
    -sh: /dev/ram0: Permission denied
    ~ $ /dev/ram0                 5.0M      4.0K      5.0M   0% /usr/local/etc
    -sh: /dev/ram0: Permission denied
    ~ $ ubi2:ubi_config           2.2M    136.0K      2.0M   6% /etc/zyxel
    -sh: ubi2:ubi_config: not found
    ~ $ ~ $ cat /proc/mdstat
    -sh: /home/shares: Permission denied
    ~ $ Personalities : [linear] [raid0] [raid1] [raid6] [raid5] [raid4]
    -sh: Personalities: not found
    ~ $ unused devices: <none>
    -sh: syntax error: unexpected newline
    ~ $
    ~ $


  • MijzelfMijzelf Posts: 1,248  Paragon Member
    Your data array is assembled
    md2 : active linear sda3[0] sdb3[1]
          3899029376 blocks super 1.2 64k rounding
    but not mounted. So I guess there is some filesystem error. You can try to repair that.

    su
    e2fsck /dev/md2

  • SuperdafiSuperdafi Posts: 7  Junior Member

    BusyBox v1.19.4 (2019-09-04 14:02:35 CST) built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    ~ # e2fsck /dev/md2
    e2fsck 1.42.12 (29-Aug-2014)
    /dev/md2 is in use.
    e2fsck: Cannot continue, aborting.


    ~ #

  • SuperdafiSuperdafi Posts: 7  Junior Member
    How do I get the data on the two hard drives that were running in raid mode? The method of repair doesn't seem to work. I used this NAS326 to reliably back up my data.

  • MijzelfMijzelf Posts: 1,248  Paragon Member
    /dev/md2 is in use.
    Can you check if meanwhile the device is mounted? (cat /proc/mounts). If not find which process is using it.

    lsof | grep /dev/md2

    How do I get the data on the two hard drives that were running in raid mode?
    By assembling, repairing & mounting the array.
    I used this NAS326 to reliably back up my data.
    In that case you made a strange decision for your volume. A linear array is almost the most vulnerable for hardware errors.


  • SuperdafiSuperdafi Posts: 7  Junior Member
    ~ # e2fsck /dev/md2
    e2fsck 1.42.12 (29-Aug-2014)
    /dev/md2 is in use.
    e2fsck: Cannot continue, aborting.


    ~ #

    ~ # lsof | grep /dev/md2
    ~ #


Sign In or Register to comment.