Posts by mnui

    Pyload ignores the specified download directory. Instead of the shown directory via webinterface, the downloaded files are saved unter /var/lib/docker/volumes/.../_data/


    I specified a download directory like this: /srv/dev-disk-by-label-WD6TB/DrivePool/Download


    Does anyone have an idea, what I am doing wrong?

    Setup:
    OMV 3.0.88 as a VM under ESXi 6.5 U1
    HDD via RDM


    hdparm -C /dev/sdb:

    Code
    /dev/sdb:
    SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0b 00 00 00 00 24 00 00 c0 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     drive state is:  standby

    But the drive is still running, spindown via hdparm -y /dev/sdb is not working at all and hdparm -C does show the wrong drive status.


    Spindown was working with ESXi 6 U2 and OMV 3.0.31 and the same host system. Any idea how to fix the spindown issue with ESXi and OMV?


    /etc/init.d/smartd stop on ESXi is already disabled.


    If spindown with OMV and ESXi 6.5 U1 is not working, I would switch to HyperV 2016. Or any other ideas?



    UPDATE:
    Should I configure the RDM drives in ESXi as a SATA or SCSI controller for OMV?

    I tried to upgrade PLEX via webif. The upgrade process failed, as you can see below.



    OMV:~# systemctl status plexmediaserver.service
    ● plexmediaserver.service - Plex Media Server for Linux
    Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled)
    Drop-In: /etc/systemd/system/plexmediaserver.service.d
    └─db_folder.conf
    Active: failed (Result: start-limit) since Do 2016-09-08 09:33:17 CEST; 10s ago



    Sep 08 09:33:12 OMV systemd[1]: Failed to load environment files: No such file or directory
    Sep 08 09:33:12 OMV systemd[1]: plexmediaserver.service failed to run 'start-pre' task: No such file or directory
    Sep 08 09:33:12 OMV systemd[1]: Failed to start Plex Media Server for Linux.
    Sep 08 09:33:12 OMV systemd[1]: Unit plexmediaserver.service entered failed state.
    Sep 08 09:33:17 OMV systemd[1]: plexmediaserver.service start request repeated too quickly, refusing to start.
    Sep 08 09:33:17 OMV systemd[1]: Failed to start Plex Media Server for Linux.
    Sep 08 09:33:17 OMV systemd[1]: Unit plexmediaserver.service entered failed state.


    The solution was to edit the db_folder.conf or to rename the environment file located in /etc/default/


    The file was named plexmediaserver.prev instead of plexmediaserver


    Now everything is working!

    Is anyone experiencing bad performance with unionfilesystems (mergerfs) using SMB?


    I am using snapRAID, unionfilesystems (mergerfs) and smb to access my files via network.


    After a clean setup, I was able to get a constant speed of about 110 MB/s.


    I did not check the performance after every change, but now I only get about 35 MB/s, sometimes 50 MB/s.


    Here is the top output:


    top - 16:07:16 up 22:15, 1 user, load average: 13,66, 10,63, 5,34
    Tasks: 163 total, 1 running, 162 sleeping, 0 stopped, 0 zombie
    %Cpu0 : 2,9 us, 8,2 sy, 0,0 ni, 54,7 id, 28,8 wa, 0,4 hi, 4,9 si, 0,0 st
    %Cpu1 : 2,4 us, 4,4 sy, 0,0 ni, 39,8 id, 53,4 wa, 0,0 hi, 0,0 si, 0,0 st
    %Cpu2 : 9,8 us, 4,7 sy, 0,0 ni, 37,8 id, 47,6 wa, 0,0 hi, 0,0 si, 0,0 st
    %Cpu3 : 1,3 us, 5,4 sy, 0,0 ni, 33,7 id, 59,3 wa, 0,0 hi, 0,3 si, 0,0 st
    %Cpu4 : 8,4 us, 7,0 sy, 0,0 ni, 30,2 id, 54,4 wa, 0,0 hi, 0,0 si, 0,0 st
    %Cpu5 : 2,0 us, 6,8 sy, 0,0 ni, 32,9 id, 58,3 wa, 0,0 hi, 0,0 si, 0,0 st
    %Cpu6 : 11,1 us, 6,4 sy, 0,0 ni, 33,2 id, 49,0 wa, 0,0 hi, 0,3 si, 0,0 st
    %Cpu7 : 7,8 us, 9,8 sy, 0,0 ni, 30,4 id, 52,0 wa, 0,0 hi, 0,0 si, 0,0 st
    KiB Mem: 8197284 total, 7940744 used, 256540 free, 966908 buffers
    KiB Swap: 901116 total, 68568 used, 832548 free. 5380440 cached Mem


    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    11339 root 10 -10 1848168 21992 908 S 26,2 0,3 58:24.41 mergerfs


    As you can see, the cpu has to wait a for I/O access ==> disk?! So I think the problem has to do something with mergerfs/unionfilesystems.


    If mergerfs isn't running anymore, it looks like this:
    top - 16:12:35 up 22:21, 1 user, load average: 0,14, 4,07, 4,03
    Tasks: 160 total, 1 running, 159 sleeping, 0 stopped, 0 zombie
    %Cpu0 : 8,9 us, 0,0 sy, 0,0 ni, 91,1 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
    %Cpu1 : 8,0 us, 0,7 sy, 0,0 ni, 91,4 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
    %Cpu2 : 0,0 us, 0,0 sy, 0,0 ni, 95,6 id, 0,0 wa, 0,0 hi, 4,4 si, 0,0 st
    %Cpu3 : 0,0 us, 0,0 sy, 0,0 ni,100,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
    %Cpu4 : 0,0 us, 0,0 sy, 0,0 ni,100,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
    %Cpu5 : 0,0 us, 0,0 sy, 0,0 ni,100,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
    %Cpu6 : 0,0 us, 0,0 sy, 0,0 ni,100,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
    %Cpu7 : 0,0 us, 0,0 sy, 0,0 ni,100,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
    KiB Mem: 8197284 total, 7927004 used, 270280 free, 967388 buffers
    KiB Swap: 901116 total, 68552 used, 832564 free. 5369676 cached Mem



    Sysinfo:
    Linux 3.16.0-4-amd64
    Host: ESXi 6

    You can also use RDM. That's how it made my drives available to OMV.
    That's the way to keep your files on the corresponding drive.


    It is really simple:


    1. Find the name of the disk:
    ls -l/vmfs/devices/disks


    2. Look for an existing datastore (for example the one, you've installed ESXi on)
    ls -l /vmfs/volumes
    You can also look it up with vSphere Client


    3. Add the RDM to an existing datastore (for example the one, you've installed ESXi on)
    You can physically map the drive with the following command
    vmkfstools -z /vmfs/devices/disks/<DiskName> /vmfs/volumes/<Datastore>/<Folder>/<Disk>.vmdk


    Here are two links to some tutorials for additional information:
    RAW Device Mapping
    HowTo create an RDM Mapping File cia CLI

    I see the union mount point, but the folder is also empty. I did not get what you said regarding the uuid.
    But if I take a look at the filesystems via webui, the drive of the mergerfs DrivePool is mentioned there as false. But it displays the correct amount of disk usage.


    If I create a new folder via Windows on the DrivePool, it also corretly adds the folder on the corresponding drive.
    So probably the solution is to create a DrivePool folder on each drive and move the data to that folder?



    My Solution:
    Adding the DrivePool folder on each drive and moving files manually worked out. Dont forget to set the correct chmod manually.

    Perfect, it's working with mergerfs.
    Samba wasn't working, until I added "defaults,allow_other" to the options at unionfilesystems.


    But the DrivePool appears empty? If I take a look at the filesystems tab with the webinterface it shows the correct amount of space usage.


    I would like to use the DrivePool with some drives, which already have existing data on it.


    Do I have to manually move the files? Or did I setup anything wrong?