Beiträge von El Muchacho

    hi folkz ...


    ... my network speed to/from my samba-shares slowed down from about constant 100MB/s to 60 - 75 MB/s


    Nothing changed on hardware-side (It's still an N40L with OMV 2.1)
    Only the OMV-updates were installed from time to time ...


    Strange:


    @home my iperf-performance went down from max. 887 MBit/s to 648MBit/s
    @work it's still up on 884 MBit/s ... but transfer slowed down


    all "samba-tuning" informations I've found made no difference ...

    hi folkz ...


    ... like descirbed in title i've some questions about the autoshutdown-plugin:


    1. IP-RANGE

    Zitat

    Define a range of IPs which should be scanned, via XXX.XXX.XXX.xxx last triple of IP address in a list.
    The following scheme is mandatoryv..v+m,w,x..x+n,y+o..y,z
    - define an ip range : start..end -> the two dots are mandatory
    - define a single ip : ip
    - all list entries are seperated by comma ','
    Please make sure to leave 1 and 255 out of the list!


    it works with 10,50,51,52,53
    it works with 10..55
    it doensn't work with 10,50..55


    where's the fault?
    I've deifned a single IP, I've defined an IP-range and I've separated them with comma ...


    2. SOCKETS
    This list can't be empty?


    3. HDD-IO
    What is the prefered way to control the actual HDD-IO rate?
    f.e. while a tv-recording is running ...


    hopefully awaiting some helpful answers ;)


    regards


    Rico

    nope @ryecoaaron ... no update from 1.x
    I was on 2.x before the last update.


    and @elproducto:
    the above steps worked for me...
    maybe it will be enough to change the "create policy" in aufs to re-create the correct settings and switch back to current one after it's running.
    or a change to another "Type" (f.e. mergerfs) will fix it too.


    btw ... i've tried mergerfs right now ...
    lan speed dropped down from ~ 100MB/s to 10MB/s (writing) and from 100MB/s to ~75MB/s reading ...
    i'm back to aufs ;)

    strange behaviour after more than one year running OMV ...
    After a reboot I couldn't reach my smb-shares and also mysql didn't start.
    Server was shown and share was visible in explorer.


    So i searched the log.

    Code
    root@mynas:~# cat /var/log/syslog | grep aufs
    Jan 28 10:12:03 mynas kernel: [    9.755305] aufs: module is from the staging directory, the quality is unknown, you have been warned.
    Jan 28 10:12:03 mynas kernel: [    9.757667] aufs 3.2.x-debian
    Jan 28 10:12:03 mynas kernel: [    9.758128] aufs au_opts_parse:1133:mount[1457]: unknown option create=


    and

    Code
    root@mynas:~# cat /var/log/syslog.1 | grep mysql
    Jan 28 10:12:04 mynas /etc/init.d/mysql[2533]: ERROR: The partition with /media/463c78ae-810c-4650-9dd2-58b35b0042b4/mysql/ is too full!


    /media/463c78ae-810c-4650-9dd2-58b35b0042b4 was the path, where to mount the aufs pool
    and it was empty


    snapraid is running fine and also /media/pool is ok
    only problem: aufs can't mount it to the path, if i'm right ...


    I was able to solve this using this way:
    - re-installing aufs-plugin
    - creating new pool
    - creating the corresponding media-folder manually with the new fstab-entry
    - reboot
    - removing/commenting old aufs-entries from /etc/openmediavault/config.xml
    - editing the shares (switching to the new pool)
    - apply settings


    Maybe there was an easier way to fix this?
    I can't find where to edit the aufs-create-options...
    If i had found them, it could have been much easier ;)


    regards


    Rico

    since last update to 2.1.25 yesterday i've got problems to shutdown/reboot the system.
    the system is unable to umount /tmp ... "device is busy"


    but fuser -m /tmp shows three services
    3 x twonky
    1 x mysql


    all of them are closed while shutdown.
    also by manually stopping them before initiating a shutdown manually this error occurs.


    system hangs complete
    only way is hard power off


    found no working solution for this problem


    hopefully anyone has an helpful idea


    regards


    Rico

    Ich frag mal auf "germanisch" ;)
    Ich habe aktuell ein snapRAID mit 2 x 2TB und 1 x 2TB parity.
    Das ganze habe ich via AUFS zu einem pool "storage" zusammengefasst.
    Dann habe ich eine Freigegebenen Ordner erstellt, der mir den gesamten Pool zur Verfügung stellt.
    Diesen habe ich dann via Samba freigegeben.


    Optisch sieht alles gut aus. Funktionieren tut's auch ;)
    Aber war das so der richtige Weg?


    Und dann habe ich doch noch einige Fragen:
    1. Wozu dient eigentlich der Button "Laufwerkspool"?
    Wird damit ein Pool erzeugt, der weder aufs noch mhddfs verwendet?
    In meinem Fall (aufs) ist der doch überflüssig, oder sehe ich da was falsch?


    2. In den Einstellungen gibt es die Option "Automatische Sicherung"
    Diesen Setze ich auf "1". Darf ich daraus dann schließen, dass ein automatischer SYNC durchgeführt wird, sobald mehr als 1GB Daten auf OMV kopiert wurden?
    Quasi als Ergänzung zu dem Cron-Script.


    3. Wenn eine der beiden Daten HDDs defekt ist (wird z.B. nicht einmal mehr im BIOS erkannt), wie ist dann die korrekte Vorgehensweise zum Wechsel der HDD?


    Ich vermute derzeit diese Vorgehensweise

    • defekte HD entfernen
    • neue HDD mit identischer Bezeichnung einbinden
    • mit ext4 formatieren
    • in der snapRAID-Config das Laufwerk wechseln
    • "Festlegen" verwenden

    Bitte um Korrektur, wenn ich da falsch liege ...


    greetz


    Der Rico

    inserted omv-snapraid-diff ...
    and tested it manually ...
    result:

    Code
    root@mynas:/usr/local/bin# ./omv-snapraid-diff
    postdrop: warning: unable to look up public/pickup: No such file or directory


    found myself ... ;) folder /var/mail/root missing ...

    @davidh2k
    Danke für die schnelle info ...
    Habe mir das auch so gedacht und erhofft ;)
    Man könnte das script ja evtl. auch über die rc.local beim booten starten und den entsprechenden status bei einer Änderung in ein file schreiben, dass dann von autoshutdown abgefragt werden kann.


    @Solo0815

    Zitat

    Hab mir mal kurz das script angeschaut. Es sind einige Dinge doppelt.


    Jep ... hatte aber auch noch keine Gelegenheit, mir das näher zu Gemüte zu führen.

    Zitat

    Ich schau mal, ob ich am WE was zusammenbekomme ...


    Das wäre superbe ;)
    Zumal ich frühestens irgendwann next week dazu komme, mir das selber nochmal anzusehen.

    twonky is installed ...
    got my version from here (direct link to 7.1.2-special here)
    but still not running correctly ...


    the lib is located in libgcc1, which is installed ... but only x64, i think (folder /i386-linux-gnu is missing in /libs)
    after installing the i386 version via

    Code
    apt-get install libgcc1:i386


    twonky runs like a charm ;)


    web-ui --> http://your-twonky-ip:9000

    got problems installing twonky on OMV 1.x
    ia32-libs references ia32-libs-i386 which are not installable ...


    so twonky can't get installed on OMV 1.x ?!

    Zitat

    Once OMV is based on Jessie, we will look into this further.


    I agree ...

    Zitat

    why do you need mariadb over mysql?


    not needed ... some people talk about better performance between MariaDB and KODI ... I only wanna give MariaDB a try ;)

    moinmoin ...
    ... bislang hatte ich autoshutdown auf meinem OMV aktiv.
    Allerdings fuhr OMV auch immer stumpf runter, wenn gerade eine Aufnahme bei TVHeadend lief.


    Das Problem konnte ich dadurch lösen, dass ich autoshutdown wieder deaktivert habe und stattdessen dieses Script vom TVHeadEnd Board eingebunden habe.
    Das Script überwacht die status.xml von TVHeadEnd auf bevorstehende recordings und subscriptions, so dass während einer LiveTV-Sitzung oder einer Aufnahme nicht heruntergefahren wird.
    Ebenso stellt das Script einen Timer in der RTC Clock, um OMV wieder aufzuwecken, bevor eine Aufnahme ansteht.


    Klappt einwandfrei.


    Nur irgendwie hätte ich das ganze gerne in der Autoshutdown-Section mit integriert.
    Der Tip mit der Datei-Überwachung ist ja nicht schlecht, nur kann ich TVHeadend nicht beibiegen, dass er irgendwo einen Status-File anlegt, der aktualisiert wird, sobald sich etwas ändert (neue LiveTV Sitzung, neue Aufnahme geplant ...)


    Ich könnte nur mittels

    Code
    wget http://127.0.0.1:9981/status.xml

    die Datei runterladen, überprüfen und wieder löschen.
    Aber wo bringe ich autoshutdown das bei?


    Hier mal eine status.xml von TVHeadEnd


    Drei Modi müssten überprüft werden:
    1. wenn "<subscriptions>1", dann nicht herunterfahren (laufende Aufnahme oder LiveTV)
    2. wenn "<subscriptions>0" und "<recording> nicht vorhanden, dann herunterfahren (keine laufende Aufnahme oder LiveTV und keine Aufnahme geplant)
    3. wenn "<subscriptions>0" und "<recording> vorhanden, dann RTC timer setzen und herunterfahren (keine laufende Aufnahme oder LiveTV aber Aufnahme geplant)


    Kann man irgendwie bei einem geplanten shutdown noch ein script starten, das weitere Dinge überprüft?
    Oder kann ich ein Script bei "SHUTDOWNCOMMAND" ein script hinterlegen?

    @ryecoaaron

    Zitat

    I just need to change the dependencies of the plugin to not install mysql if mariadb is installed.


    nice ... this will be helpfull.
    So I only need to install MariaDB before activating the PlugIn ?!


    but would also be nice to install MariaDB instead of MySQL, when none of then is installed.
    Think, I'm not alone with my wish for a separate MariaDB PlugIn.