Posts by sbocquet

    Personnaly, I've gone with a CLI ZFS install and then added OMV plugin.

    Add the 'contrib' and 'non-free' to the debian packages conf in /etc/apt/sources.list

    apt-get update
    # ln -s /bin/rm /usr/bin/rm
    # apt-get install zfs-dkms

    Then check with:

    # modprobe zfs
    # lsmod | grep zfs

    Reboot (not sure, but that wouldn't hurt to check) ;)

    Install openmediavault-zfs plugin with the GUI.

    Now, create your pool, etc...

    All I could say is that OMV + ZFS works fine.

    There were issues recently with the 4.15 backport kernel (not the OMV fault), and there is a known bug to be solved with the panel of the ZFS plugin (soon I assumed).

    But all in one, OMV 4.x + ZFS plugin is rock solid and a nice combo. Feel free to go with it.

    Thanks Volker for your help,

    Unfortunatly at the moment, it's just on my test server as I haven't begin to correctly dev the plugin.
    I'm just trying to make it work at the moment, and wanted to know if I was doing it the right way or not, since I haven't gone deeper in the Template thing.

    Do you see any 'big' mistake ?


    Hi all !

    I'm trying to tweak the omv graphs and dev a plugin for that after.
    I want to show multiple CPU graphs on the same page, side by side.

    At the moment, I'm stuck with a stupid thing and I cannot find the way it works in IOMV Framework.

    I just created a /var/www/openmediavault/js/omv/workspace/panel/RrdGraph2.js (almost the same as RrdGraph.js but with the HTML code to have 2 CPU core) with that code.

    I'd like to have 2 string var passed to it, with "cpu-0" and "cpu-1" for both core of my CPU.

    So I tried to call it with a modified /var/www/openmediavault/js/omv/module/admin/diagnostic/system/Cpu.js

    That doesn't work. I must missed something but I cannot find what...
    Any help is welcome.


    Maybe the blocks of the disks are not align with the one of the FS...
    Check your disks block size of your hardware, and compare it to the ext4 block size

    You can also try to make some runs with basics tests speed with dd and hdparm :

    see here:…formance-with-dd-command/

    root@home-server:~# dd if=/dev/zero of=/test.bin bs=1G count=1 oflag=direct; rm /test.bin
    1+0 enregistrements lus
    1+0 enregistrements écrits
    1073741824 bytes (1,1 GB, 1,0 GiB) copied, 4,95067 s, 217 MB/s

    The CPU is more than enough as I have a E8400@3,6Ghz and I had no problem with Serviio transcoding.

    The switch is for sure a bottleneck for large file. A Gigabit one should solve that too... so you can run the DLNA server you want IMO.

    OK... just my 2 cts on the problem.

    If I don't touch/click the ZFS panel, my ZFS mntent in config.xml isn't deleted and everything works fine with OMV & ZFS (stats, drop down shared folder, etc...).
    So as long as there's no patch available, just don't touch the ZFS panel in OMV and do your ZFS things with SSH.

    At the moment, that's just a GUI bug and nothing gets hurt on the ZFS background.

    That should be enough for Serviio, as I was running it on my NAS hardware with Windows 2012 Server Essential without a problem.
    What is your intel dual core model?

    Maybe it's a network problem rather than a CPU power one. If you stream some mkv with 7.1 audio channels, that can take some bandwith...

    With minidlna, No.
    It's a "strict" ans simple DLNA server with no transcoding. It just streams files. Your renderer (the TV or other) should have the correct codecs to show the file. Same for the srt files, that not in the DLNA specs. DLNA is a crapy thing, that each manufacturer implement in its way :( Sony was probably the worst one !...

    If you want all that (transcoding on fly + SRT), you will have to install another DLNA server than minidlna, such as Serviio, plex media server, ... but you will need more CPU power to do it.

    Yyou can read the atime, mtime or ctime of any file in a shell script

    # stat Stéphane\ BOCQUET.onedrive.log
    Fichier : Stéphane BOCQUET.onedrive.log
    Taille : 2974 Blocs : 8 Blocs d'E/S : 4096 fichier
    Périphérique : 801h/2049d Inœud : 390206 Liens : 1
    Accès : (0644/-rw-r--r--) UID : ( 1000/sbocquet) GID : ( 100/ users)
    Accès : 2018-04-19 10:14:59.200165671 +0200
    Modif. : 2018-04-20 01:17:37.605787436 +0200
    Changt : 2018-04-20 01:17:37.605787436 +0200
    Créé : -

    If you want the last access datetime of a bunch of file in some directories (recursive), you can do a thing like this:

    # find /StoragePool/Musiques -type f -print0 | sort -z | xargs -r0 stat | grep "Accès : 2018" | sort | tail -n 1
    Accès : 2018-04-05 22:52:46.838294454 +0200