Posts by ermac

    Hello, I just installed a 10gbe nic (Asus xg-c100c) in my own openmediavault build and I'd like to try out those settings in my own build. Which config file are you editing for those settings?

    Hello! I have been using snapraid for a while now but i've decided to dip my toe into using the /usr/local/bin/omv-snapraid-diff script instead, so i have 2 questions:


    1. Snapraid noob question: As i understand it, snapraid.conf is the config file for the snapraid plugin, snapraid-diff.conf is the config file for the omv-snapraid-diff script. So, if i run the omv-snapraid-diff script it will reference the snapraid.conf to know which disks to run on and which files and folders to exclude etc., correct? I don't need to worry about adding like the same exclusions in snapraid.conf into snapraid-diff.conf?


    2. Pre-hash is enabled by default in the Diff Script Settings. I've got about 18TB of data spread over 10 HDD. The first time i ran snapraid sync (on the CLI) it took about 10 hours to complete the sync. To test pre-hash+sync, I started from scratch and completely deleted all the prior content files from all my disks and the parity files from the parity disks too. I ran snapraid sync -hv, and it took about 35 hours or so to complete, of course a lot longer with pre-hash reading the data 2 times plus the actual sync. Now my question, assuming i make no changes to the data stored in my disks, will the next pre-hash+sync take as long? I know if i do a regular sync and there hasn't been any data changes since the last sync, sync will be very short (on my system about a minute or 2). But with the pre-hash+sync (again no data changes since last sync), will it take much longer to complete or will it be just as short?

    Thanks again, at this point, after i finish backing up my stuff, a complete reformat of that drive would be best for me, start clean and fresh, then follow your guide. Fixing permissions is a pain in the butt!

    No problems tekkb, i'm currently copying the contents of MyPersonalArchiv to another drive i made space in, going to take awhile since its +1.8TB.


    I experimented putting the "media share" folder on another disk in OMVserver that had pre-existing shares and then putting the plexmediaserver folder on that disk, and it ran perfectly! Then again, that disk volume had proper permissions set and I'm positive i never setup a root share on that disk since i added it much later then when i first started experimenting with OMV and my original disk. So clearly the problem is with "5d3465f2-52fa-477b-a915-deb30d0942c9".


    I took a look at another thread you contributed too "Plex media server refuses to start OMV 2.0" on the forums that dealt with messed up permissons for a volume at the root level. It looks like i have a very similar problem to user tinh_x7 regarding a share at the root level that was setup a long time ago that messed up permissions for that volume. So, for example i got "root users" for my aquota.group and aquota.user files. I did "chown root:root /media/5d3465f2-52fa-477b-a915-deb30d0942c9" then "chmod g-s /media/5d3465f2-52fa-477b-a915-deb30d0942c9" so now when i do "stat 5d3465f2-52fa-477b-a915-deb30d0942c9" i get the following:


    root@OMVServer:/media# stat 5d3465f2-52fa-477b-a915-deb30d0942c9
    File: `5d3465f2-52fa-477b-a915-deb30d0942c9'
    Size: 4096 Blocks: 8 IO Block: 4096 directory
    Device: 821h/2081d Inode: 2 Links: 10
    Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
    Access: 2015-11-16 18:38:24.223784770 -0500
    Modify: 2015-11-16 18:38:23.447766404 -0500
    Change: 2015-11-16 18:38:23.447766404 -0500


    The Access: section now matches all the other drives in my OMVserver.


    I "cd 5d3465f2-52fa-477b-a915-deb30d0942c9" and do "ls -la" and get this:


    root@OMVServer:/media/5d3465f2-52fa-477b-a915-deb30d0942c9# ls -la
    total 132
    drwxr-xr-x+ 10 root root 4096 Nov 16 18:38 .
    drwxr-xr-x 12 root root 4096 Apr 29 2015 ..
    -rw-------+ 1 root users 8192 Nov 16 18:18 aquota.group
    -rw-------+ 1 root users 7168 Nov 16 18:18 aquota.user
    drwxrws---+ 4 root users 4096 Nov 15 17:07 Development
    drwxrws---+ 15 www-data www-data 4096 Nov 14 13:34 Documents
    drwxrwx---+ 2 root root 16384 Jan 11 2015 lost+found
    drwxrws---+ 9 root users 4096 Jan 12 2015 Mental Expansion Files
    drwxrws---+ 9 ahmad users 36864 Jul 6 00:01 Music
    drwxrws---+ 115 ahmad users 12288 Feb 14 2015 My Comics
    drwxrws---+ 17 ahmad users 4096 May 27 23:17 Pictures
    drwxrws---+ 20 ahmad users 4096 Nov 15 22:03 Software Stuff


    I haven't reinstalled plexmediaserver yet. As you can see, things are a bit messed up in the permissions, no?

    Looks good... permissions look good.


    I see the media share as a special share just for media (movies, tv, music, pictures, other related).


    I would not create folder in the media share that you want more security on or not related.
    Important documents…


    Okay, so I understand for "media share" just put in folders that Plex would use. But its still okay to put in other shared folders like "Documents" or "Backups" on the same level as "media share" as long as I follow your guide, right? But should i still delete all my current existing shares on MyPersonalArchiv, just to be sure?


    Now before i do that, should i be worried that disk "5d3465f2-52fa-477b-a915-deb30d0942c9" (MyPersonalArchiv) where i want plexmediaserver folder to be in, has these permissions "Access: (2770/drwxrws---) Uid: ( 1000/ ahmad) Gid: ( 100/ users)" instead of all the other disks that show "Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)"?


    Tekkbb, you can respond when you can, you've been a great help already!

    Okay, so i followed your "How to make a good Media share for Emby and PlexMediaServer" guide to the letter and voila it works! I'm able to access the plex webgui and the PlexMediaServer service is running as it should be. Now, I did use another hard drive in my OMVServer which had never had any shared files in it at all to do this (it is my Snapraid parity drive) since the disk i wanted to use originally "MyPersonalArchiv" (and would like to ultimately use) already has 1.8TB of info and I didnt want to mess around with it yet. I did "stat plexmediaserver" and "id plex" in the volume and i got this:


    root@OMVServer:/media/dfd512fa-d0c6-4ed7-93dd-221fa9002ddb# stat plexmediaserver
    File: `plexmediaserver'Size: 4096 Blocks: 8 IO Block: 4096 directory
    Device: 811h/2065d Inode: 164888577 Links: 3
    Access: (0755/drwxr-xr-x) Uid: ( 112/ plex) Gid: ( 116/ plex)
    Access: 2015-11-16 15:25:10.395672820 -0500
    Modify: 2015-11-16 15:23:37.729489988 -0500
    Change: 2015-11-16 15:25:10.715680358 -0500
    Birth: -
    root@OMVServer:/media/dfd512fa-d0c6-4ed7-93dd-221fa9002ddb# id plex
    uid=112(plex) gid=116(plex) groups=116(plex)


    So permissions are good right?


    Ok, so ideally i do not want my "media" folder in my parity drive, I'd like it to be on the drive where I want to keep my media in. So, tekkb what should i do? Should i delete EVERY single shared folder in MyPersonalArchiv and start completely clean with just a single "media" shared folder (with music, pictures. etc folders inside)? If this is the volume where i want my plexmediaserver folder in, is it okay to create other shared folders that plex will not use in that volume like "documents" etc. (as long as i follow your guide)?


    Also, I'd like to head off as many potential headaches as I can so i did the following check. I've got 7 separate disks in my OMVserver. In terminal, i did a "stat" on each of them. For access, on 6 out of 7 i get "Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)". However on "5d3465f2-52fa-477b-a915-deb30d0942c9" (MyPersonalArchiv) i get "Access: (2770/drwxrws---) Uid: ( 1000/ ahmad) Gid: ( 100/ users)". Is this a problem?


    I'd like to cover as many bases as I can before I start essentially redoing my OMVserver because we're talking about TB of info that i cannot lose ?(

    Thank you tekkb, now I do have a something to ask you concerning your above response. I originally followed this guide (http://en.jose-crispim.pt/arti…penmediavault.html#p2_3_5) to setup OMV, including all my users, folders, permissions, and shares. This is a little bit different from the guide you recommend, since it does involve ACLs. I've attached pics of all the shared folders which are located on the volume "/media/5d3465f2-52fa-477b-a915-deb30d0942c9" (which i've named MyPersonalArchiv) which i intend to have my plexmediaserver folder in. Correct me if i'm wrong, but are all my shared folders not shared from the root on volume MyPersonalArchiv?


    Now, I will next attempt to follow your specified guide "How to make a good Media share for Emby and PlexMediaServer" step by step and see if it makes a difference.

    Thanks for the response Tekkb! Alas:


    root@OMVServer:/media/5d3465f2-52fa-477b-a915-deb30d0942c9# chown -R plex:plex plexmediaserver
    root@OMVServer:/media/5d3465f2-52fa-477b-a915-deb30d0942c9# /etc/init.d/plexmediaserver start
    Starting Plex Media Server: done
    root@OMVServer:/media/5d3465f2-52fa-477b-a915-deb30d0942c9# /etc/init.d/plexmediaserver status
    It seems that Plex Media Server isn't running (no process found).
    root@OMVServer:/media/5d3465f2-52fa-477b-a915-deb30d0942c9# /etc/init.d/plexmediaserver start
    Starting Plex Media Server: done
    root@OMVServer:/media/5d3465f2-52fa-477b-a915-deb30d0942c9# /etc/init.d/plexmediaserver status
    It seems that Plex Media Server isn't running (no process found).

    Hello, I have attempted to follow the step by step from smokingplatypus on July 1st to properly get PMS going on OMV. However, i get a roadblock on step 13. The PMS web-gui will not load ("webpage is available"). I know tekkb has helped others figure this out in specific circumstances, hopefully he can with mine! I've attached a pic of my system. In services PMS is enabled but Running has a red light. I've attempted "/etc/init.d/plexmediaserver start" which leads to "Starting Plex Media Server: done". But then when i "/etc/init.d/plexmediaserver status" it always states "It seems that Plex Media Server isn't running (no process found)." Also, when i "stat plexmediaserver" and "id plex" this is the result:


    root@OMVServer:/media/5d3465f2-52fa-477b-a915-deb30d0942c9# stat plexmediaserver
    File: `plexmediaserver'
    Size: 4096 Blocks: 8 IO Block: 4096 directory
    Device: 821h/2081d Inode: 77463553 Links: 3
    Access: (2755/drwxr-sr-x) Uid: ( 112/ plex) Gid: (65534/ nogroup)
    Access: 2015-11-15 20:08:42.915487149 -0500
    Modify: 2015-11-15 19:51:14.659423489 -0500
    Change: 2015-11-15 20:08:42.919487239 -0500
    Birth: -
    root@OMVServer:/media/5d3465f2-52fa-477b-a915-deb30d0942c9# id plex
    uid=112(plex) gid=116(plex) groups=116(plex)


    Also:


    root@OMVServer:/media/5d3465f2-52fa-477b-a915-deb30d0942c9# dpkg -l | grep plex
    ii libmpc2:amd64 0.9-4 amd64 multiple precision complex floating-point library
    ii openmediavault-plexmediaserver 1.0.12 all OpenMediaVault Plex Media Server plugin
    ii plexmediaserver 0.9.12.19.1537-f38ac80-debian amd64 Plex Media Server for Linux


    Any help would be appreciated!