Mounting not possible on Zyxel NAS542

  • Hello,


    I was very happy when I found somebody who build Debian with OMV for the Zyxel NAS542 running from USB or SD card, because the original firmware is a mess.
    http://www.zyxelforum.de/debia…oder-sd-karte-t11232.html


    The system is very experimental, but it works, if you finally have the drives mounted. And that is the problem:


    In the WebGUI section filesystems (hope I'm translating correct from a German OMV) I always get "communication failure", what means timeout as I already understood. The only chance is to put only one (of four) drive into the NAS at a time. Then filesystems shows the partitions of the drive and it is possible to mount. When I repeat this procedure for all 4 drives I have a running system ;)


    But I often had to reinstall the system for some experiments. And always doing this procedure is very annoying.


    So I would like to know a way to mount the drives without WebGUI. I already tried to edit fstab directly, but could nothing get mounted.


    Then I tried to edit the OMV config.xml. I copied the <mntent> sections from a working system and then did a [i]omv-mkconf fstab. The mounts are then shown in fstab, but this also didn't work. I see the folders in /media, but they are empty.


    Which files have to be edited, to get the drives mounted?


    Thank you all!

    • Offizieller Beitrag


    Then I tried to edit the OMV config.xml. I copied the <mntent> sections from a working system and then did a [i]omv-mkconf fstab. The mounts are then shown in fstab, but this also didn't work. I see the folders in /media, but they are empty.


    Which files have to be edited, to get the drives mounted?


    Thank you all!

    you need to actually make the mountpoint folders, then finally reboot, or run mount -a

  • Hello subzero,


    Of course I tried a reboot, but it did not help.


    So you think the procedure is correct and should work?


    I will try it again with a fresh system. Perhaps something else was wrong last time ...


    I'll be back ;)

  • Edit: Please read next post first!



    Hi,


    just tested with a fresh system - no success!


    This is my output of blkid:


    sda, sdb, sdd and sde are the harddrives, sdc is the sd card with the root system.


    It is strange that for the hdds only UUIDs are shown but no labels or something. Also the UUIDs for sda1 / sdb1 / sdd1 / sde1 and for sda2 / sdb2 / sdd2 / sde2 are the same!


    The data partitions are sdx3, I think. Mounting those partitions directly over UUID gives:



    Code
    sudo mount -a
    
    
    mount: wrong fs type, bad option, bad superblock on /dev/sda3,
           missing codepage or helper program, or other error


    So the file systems are not found. Seems like some kind of driver problem?!


    Also very strange is that the UUIDs are different in a working system (other Debian image). Normally, UUIDs of partitions would not change, even with another Debian, right? :S
    This Debian image seems to have a problem reading the hdds in general ...


    Any suggestions?

  • Shame on me! Seems I have booted the wrong kernel. Re-flashed the kernel and now it seems to work ...


    The test with editing the config.xml directly is still open. I will tell you the result. Thanks!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!