Jump to content

kizer

Moderators
  • Posts

    3,743
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by kizer

  1. This is something I hacked together a while ago. 

     

    Remove spaces does what it sounds like because the second half errors out with spaces. 

     

    The second part creates a folder and moves the file into the folder. its been a long time since I created this and used this so I don't recall if it'll continue to move files since its not in a loop. Hopefully this will at least get you started. 

     

    #!/bin/bash
    #noParity=true
    #arrayStarted=true
    
    #Remove Spaces from files prior to creating folder
    cd /location-of-files
    for f in *\ *; do mv "$f" "${f// /.}"; done
    
    #Create Folder from name and move to final location. File types editable below
    for FILE in `ls /location-of-files | egrep "mkv|mp4|avi|vob|iso|MKV|MP4|AVI|VOB|ISO"`
    do
    DIR=`echo $FILE | rev | cut -f 2- -d '.' | rev`
    mkdir /location-of-files/$DIR
    mv /location-of-files/$FILE /location-of-files/$DIR

     

  2. On 10/20/2022 at 3:23 PM, dopeytree said:

    Possible could get this added via mover tuning but it would be great to have mover settings per share.


    So for example I want my backups share to move to the array as soon as possible but I want my plex downloads to hang around on the cache for 30days... at the moment I have not found a way to do this.

     

    Also we need some kind of simple GUI for mover progress

     

    Easy do like I did. Set up your user share to backup to the array vs SSD. You can't get any more instant than that. ;)

     

  3. Nice Job @SpencerJ. Keep in mind everybody he has been working on this for a while and its always been a touchy subject of performance vs economy. Why can't we have a little bit of both? AM I right? ;)

     

    With my Current build I'm idling at 36watts and keep in mind I'm using the UPS readings from the dashboard. 

     

    Here are a few things I use. 

    • I've always been a fan of oversized coolers and big slow spinning 120mm fans vs the pancake style. Much Quieter, moves more CFM and has to be way more energy efficient. 
    • Also I like the PSU with the fans that never seem to come on unless the PSU starts to warm up. 
    • I always recommend as much medal on my case as possible vs plastic because medal transfers heat way more efficiently than plastic. 
    • I also use the Dynamix Fan Plugin so my Cage fans are always off and only my exhaust fan is pulling in air unless the drives spool up and then the cage fans come on. 
    • I have my Parity drive set to spin down after 30min and my drives at 45min. Your times my vary, but I figure I read way more than I write on a daily basis. 

     

    • Thanks 1
  4. 12 hours ago, kanine said:

    I am having trouble updating from 6.9.2 to this version using the GUI. I get an IO error at around the 60% mark of the download which I believe is due to limited RAM onboard (2Gb). Is there a 'simple' alternate way to install from the download section onto the flash drive?

     

    I vaguely recall mapping the Flash Drive in Windows and then replacing a few files. The flash share would naturally be temporary.

     

    Any chances of you jus slapping some more Ram in your machine? You would benefit from it later as releases come out and give your machine a little more headroom to breathe. 

  5. Did you have any strange symbols in the share name?

     

    This is from the Help drop down:

    The share name can be up to 40 characters, and is case-sensitive with these restrictions:

    - cannot contain a double-quote character (") or the following characters: / \ * < > |

    - cannot be one of the reserved share names: flash, cache, cache2, .., disk1, disk2, ..

    We highly recommend to make your life easier and avoid special characters.

  6. Lol, Nice Job! ;)

     

    What honestly stresses me out is when my phone says it has an update and I click update and it reboots a few times and appears to take forever to come back on. 

    At least with unraid you can go into the USB and look for the previous folder and do a quick restore back to an older version if all else fails. 

     

    Make sure you install the Dynamix File Manager Plugin. Its pretty slick. 

  7. 9 hours ago, BillR said:

    Yep, that's the same thing I tried (see above).  Unfortunately, I need btrfs because I want redundant disks and it didn't seem to help.

     

    Exactly. I was running XFS switched to BTFFS and tried this too. Seemed to help some, but then I messed up my second drive in the pool tinkering around and switched back to single XFS. Switching back to single XFS seems to reduce the writes a lot. 

     

    From my experience its been the docker container 25GB file and its internal logs that seems to be doing most of all the writes. I think anything limetech does will be more or less be a hack a fix than a true solution, but only time will tell. 

  8. 5 hours ago, JonathanM said:

    It's quite easy to understand. From the front door you go up half a flight of stairs to get to one side of the house, and down half a flight to the other. Easy peasy.

     

    Yes its easy to understand, but for some its hard to simply explain it to them so They Understand. 

     

    At first it was so hard for me to grasp in 2009 I just did Disk shares because nothing went where I told it to go. Until I realized my split levels was all messed up and my High Water was messed up. 

     

    But I totally get what your saying with your Joke. Its kinda weird, but I'm glad we all kinda half get it. 

    Get it 1/2 get it. Lol

     

     

  9. Normally Pre-Sales questions are does Unraid do this and does it do that and the community normally chimes in to help as they can. 

     

    I'm not a Dev, but I'm going to guess ZFS will be initially supported with the pools that are not currently in the Array.  That's just a guess of course. 

    They do look at the requests from the request section and roll out requests as they can. I know they have been baking small things in here and there, but only time will tell when it arrives. 

     

    I know this exists, but I don't know much about it at all. 

     

     

  10. 6 hours ago, Jaybau said:

    Might there be a way to output the files that are being acted upon?

    I would prefer lsattr after the expected action to verify the file attribute has changed.

    The output would be useful because the script won't let you know if you made a typo.

     

    My file structure is as follows. 

     

    Media/Movies

    Media/Tv shows

     

    I have a script that I run on the 15th of every month. It runs against my Media share and includes the Movie folder only because I don't change them often. Tv shows I'm constantly changing because of Ripping and Re-ripping. 

     

    Also I added after the script a little Notification to let me know it was done. 

     

    To test it I would goto my Movie folder and attempt to delete or move a file. Its not going anywhere. ;)

     

    #!/bin/bash
    #noParity=true
    #arrayStarted=true
    /mnt/cache/appdata/scripts/no_ransom.sh --lock-files 'yes' --media-shares 'Media' --include-folders 'Movies' --include-extensions '*.*' --debug 'yes'
    
    echo "Sending Notification"
    /usr/local/emhttp/plugins/dynamix/scripts/notify -e "$(date +%D-%H:%I) Movies Locked" -d "$(date +%D-%H:%I) Movies Locked" -i "normal" 
    echo "."
    echo "."
    echo "done"

     

    As you can see from the script path I hid the script on my SSD/Cache /mnt/cache/appdata so its backed up with backup/restore plugin and I use the above script as a call out to the long long bit of code.  The reason I'm mentioning the backup is because I literally just rebuilt my SSD/Cache today because I was stupid and did some tinkering with some cables and my server went hay wire.  lol 

     

     

  11. Well from what JorgeB posted up above ich777 is our resident baking things into drivers which supports a lot of Nvidia cards here. He has nothing to test it with so I'm guessing its going to be a while. 

     

    I'm sure if somebody was willing to work with him maybe he can get it done with some help. 

  12. I'm seeing mass of these in your logs

     

    Oct  1 07:24:22 EmbyServer nginx: 2022/10/01 07:24:22 [error] 4438#4438: MEMSTORE:00: can't create shared message for channel /devices
    Oct  1 07:24:23 EmbyServer nginx: 2022/10/01 07:24:23 [crit] 4438#4438: ngx_slab_alloc() failed: no memory
    Oct  1 07:24:23 EmbyServer nginx: 2022/10/01 07:24:23 [error] 4438#4438: shpool alloc failed
    Oct  1 07:24:23 EmbyServer nginx: 2022/10/01 07:24:23 [error] 4438#4438: nchan: Out of shared memory while allocating message of size 6038. Increase nchan_max_reserved_memory.
    Oct  1 07:24:23 EmbyServer nginx: 2022/10/01 07:24:23 [error] 4438#4438: *3088717 nchan: error publishing message (HTTP status code 500), client: unix:, server: , request: "POST /pub/devices?buffer_length=1 HTTP/1.1", host: "localhost"

×
×
  • Create New...