Posts by wolf8auer

    Suddenly, I cannot login to the Web Control Panel. (At the same time ssh is no problem.)

    Credentials are correct (I am using Lastpass to auto fill the form fields). To be sure I have double checked and tried it manually as well.

    The Login seems to work (no errors) but after a few seconds the Login screen is shown again. It is in a loop.

    FYI: When I intentionally use a wrong password I get the usual red error message


    What I've tried to fix it:

    1)

    omv-firstaid:

    3 Change control panel administrator password

    4 Reset failed login attampts


    2)

    apt-get update && apt-get upgrade


    3)

    sudo reboot


    No success ;(


    What I suspect caused it:

    The last time I was logged into the web panel I was using the "Update Manager".

    I think the "upgrade" did not work. Unfortunately I can't recall the details.

    After that the problem happened.


    When I do this via ssh I get the following:

    Code
    apt-get update && apt-get upgrade
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    This might be a long shot but have you tried to remove all "Authorized Devices"? (Settings > Authorized Devices)


    When I used Plex via OMV Docker Image, I frequently had some Claim server issues. It seem to help to remove the browser from Authorized Devices. Then I had to login again from that browser. If I remember correctly that seemed to work a couple of times.

    First go to "Diensten (Services) > SMB/CIFS"
    Go to the tab "Shares"
    Delete the shared folder. (This will remove it from the SMB service.)


    Next:
    Go to "Gedeelde mappen (Shared Folders)"
    Select your shared folder.
    Click on "Toegangsrechten (Privileges)" button.
    Uncheck all checkmarks.


    Look at the column "Verwijderen (Referenced)".
    It should "Nee (NO)"


    Now you should be able to delete the shared folder.

    I have my hard drives in a FANTEC QB-X8US3 8x3,5" SATA HDD USB3.0 eSATA.
    Connected via USB to a Rock64.
    On the FANTEC I have SYNC mode on so that when the Rock64 is off, the device goes to sleep mode. In sleep mode the fans are off.


    I don't mind running the Rock64 all the time, but I don't want the fans to run when I don't need the drives.


    I am looking for some options...
    What I tested:



    method

    fans off?

    cons

    sudo poweroff the Rock64.

    yes

    starting the Rock64 when I need it takes some time
    unmount all drives
    sudo umount-l /dev/sda1
    stop samba
    [font='Consolas, Courier New, Courier, monospace']sudo servicesmbd stop[/font]

    no

    -
    standby (spindown) drives
    hdparm -Y /dev/sda1

    no

    -



    Topics I would be interested in are:

    • sleep mode on SBCs? with halt -> Could this low power mode trick the FANTEC into sleep mode
    • shut down the USB Interface (and switch it on when needed) (USB-port powering & CEC support)

    Hi Zwei.
    I was wondering if you have managed to make the plugin work.
    I could not make a vpn connection with my Phone via the OpenVPN App.


    What I've done so far:

    • Enabled OpenVPN plugin in OMV, local fixed IP 192.168.0.64

      • General Settings

        • Port 1194
        • Protocol UDP
        • Use compression ON
        • PAM authentification OFF
      • VPN network

        • Address 10.8.0.0
        • Mask 255.255.255.0
        • Gateway eth0
        • Default gateway ON
        • Client to Client OFF


    • Created a user certificate in the plugin and downloaded it.
    • Port forwarding on my router:

      • External Port 1194 to 192.168.0.64 Local Port 1194 Protocol: UDP
    • Installed OpenVPN App on iPhone.
    • Copied the .ovpn file into the Documents folder of the app. (Via iTunes as recommended)

    I can see the profile in the app:
    OpenVPN Profile
    http://mysubdomain.duckdns.org


    However when I try to connect the error occurs:
    There was an error attempting to connect to the selected server

    Schließe Monitor und Tastatur an deinen OMV Server an.


    Dadurch sah ich in meinem Fall die Meldung:
    [ 31.075696] FAT-fs Cmmcblk1p6): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    Give root password for maintainance
    (or press control-D to continue)

    Du kannst dich dann auch einloggen und dir /etc/fstab ansehen.
    Bei mir war ein Eintrag in fstab der Probleme machte. Allerdings hatte das mit UnionFS plugin zu tun...

    Connect to your OMV server via SSH or FTP.
    Since I don't like opening text files with CLI editors like nano, I use an FTP client (Transmit (OSX)) that can open text files with my preferred Editor(s) (Brackets, Sublime Text).
    Transmit FTP Client.png


    1)
    Open the file /etc/openmediavault/config.xml.


    Look at/serach for the tags <mntent> and <sharedfolder>.


    It looks like this:


    Do you see anything there (shared folders or disks) that is not in the OMV Web UI?


    2)
    Open /etc/fstab.
    It looks like this:


    Code
    # >>> [openmediavault]
    /dev/disk/by-label/HD01 /srv/dev-disk-by-label-HD01 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
    /dev/disk/by-label/HD02 /srv/dev-disk-by-label-HD02 ext4
    # <<< [openmediavault]

    Do you see the removed disk? Or any disk that might look strange?

    the slow drive connected via SATA:

    The second disk shows even slower WRITE

    Code
    kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread
    512000 1024 4681 4653 151900 151306
    512000 16384 4676 4686 148618 148507

    I have the Nanopi's SATA HAT
    but I have no external power supply at the moment.
    I might find some lying around somewhere.

    connection is USB 3.


    iozone with a good disk:


    iozone with slow drive 1 (S/N WF3055FH):
    (that test took way more time than the first one with the good disk.)

    My omv setup has 8 Hard Drives (7200 and 5400) with good transfer rates (+90 to +100 MB/s WRITE). (tested with HELIOS LAN Test)
    FYI: All of those Hard Drives where external 3.5" HDD in an enclosure.
    I dislocated those Hard Drives and put them into an 8 bay enclosure.


    However 2 Hard Drives, when put into the same enclosure, have poor transfer rates (10 MB/s).
    (Those drives have also been external ones that I extracted from their case.)
    I switched their places in the enclosure many times to make sure that its the disks and not the SATA connectors of the enclosure that cause the low transfer rate.
    With those 2 drives HELIOS LAN test did't give me any readings but a spinning wheel.
    The 10 MB/s where displayed during the copying of files (via SAMBA share).


    I've copied OMV's SMART extended info from the 2 slow drives and from one of the fast drives (full info is in the attached txt files):


    slow drive 1:


    slow drive 2:

    fast drive:


    If you use it, it will work.
    But you'll only get 10 MB/s file transfer speed.
    That can be frustrating if you have to copy hundreds of GB.


    With GbE you get 60-110 MB/s easily. Provided that you have a GbE LAN (Cables, switch, etc.)

    1),2) Yes the OMV Image is on an SD Card and you boot your computer with it.
    The raspberry pi however is a bad choice because it is too slow.
    You need an SBC with Gigabit Ethernet and USB 3 port. (Rock64, Nanopi M4, etc.)


    3) No, you cannot change the external drives frequently. This messes up things.
    Attach your external drives to your computer running the omv image and stay with the drives.
    You can add and remove drives, but not on the fly so to speak.


    4) No, you don't need a keyboard for the SBC running omv. It can remain a headless server