kizer

Moderators
  • Content Count

    3400
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by kizer

  1. Re-installed and no drive spin ups anymore. Success!!!!!

     

    Great job everybody. I did have a little glitch where I re-installed and it seemed to take forever for MyServers on unraid to turn green. Could literally be anything I'm sure, but I was worried I messed something up. After making a cup of coffee and returning it was sitting there green. ;)

     

    I do wish I had of waited for your patch to see if it would of fixed its self like intended, but I'm often impatient. 

    • Like 1
  2. Just now, OmgImAlexis said:

    We think we've found the issue, currently working on a fix. 

     

    I knew you guys would figure it out. ;)

    I figured a little *poke*poke*poke* would help. 

     

    Removed plugin and now my drives are sleeping and refresh isn't spinning them back up. So its very related and thank you for reaching out to me. Well all of us. ;)

    • Like 1
  3. Ah

    5 minutes ago, Squid said:

    Someone else already is

     

     

     

    Ahhhh, Thanks..

    Here I am shutting down all my dockers so I can do some testing. Lol

     

    Thanks for the heads up. 

     

    Can we get a roll back to stop that? I shut off auto Flash backup and used a script to turn it on and off daily, but I can't live with my drives spinning up and down all day for no reason at all. My OCD will drive me crazy. ;)

     

    I suppose I could temporarily uninstall the plugin and re-install it later when its updated. 

     

  4. So I just updated to the newest Plugin and all my drives spin up? Whats up with that?

     

    Jun 10 14:42:32 Tower flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup.php update
    Jun 10 14:42:33 Tower root: No PID found in cache for unraid-api
    Jun 10 14:42:34 Tower root: Loading state paths
    Jun 10 14:42:34 Tower root: Daemonizing process.
    Jun 10 14:42:34 Tower root: Daemonized successfully!
    Jun 10 14:43:19 Tower emhttpd: read SMART /dev/sdb
    Jun 10 14:43:26 Tower emhttpd: read SMART /dev/sdc
    Jun 10 14:43:33 Tower emhttpd: read SMART /dev/sdd
    Jun 10 14:43:41 Tower emhttpd: read SMART /dev/sde
    Jun 10 14:43:49 Tower emhttpd: read SMART /dev/sdf
    Jun 10 14:43:56 Tower emhttpd: read SMART /dev/sdg

     

     

    Ok weird now my drives keep spinning up for no reason. Nobody is even at my house. My drives have been sleeping for hours. I don't want to blame this plugin, but something is going on all of the sudden after I've installed this Update. 

     

     

  5. You can have an Array which is a parity protected grouping of devices. 

     

    You can have pools which are either mirrored devices in either SSD, NVME or HDD, but not protected by a Parity drive. 

    - You can have multiple pools which you are calling arrays up above.

     

    Now if you want to have different folders say 

    -TV

    -Movies

    -Security

     

    Which are known as Shares and each share in the array will have its own security and access settings. 

     

    You can also attach drives such as USB and use a Plugin called Unassigned.Devices so you can connect and disconnect when ever you need, but keep in mind they are not in the protected array. 

     

    What I would seriously do is download a USB Trial copy and simply plug it into your PC. Disconnect all your drives of course and simply play with the interface. 

     

    I have the following in my machine. 

     

    Array

    1 Parity drive

    5 x 4TB drives

    -Tv Shows

    -Movies

    -MP3

     

    SSD Cache Pool for my dockers such as Plex, Handbrake, Filebot and others

    SSD Cache Pool number 2 which I call ssdBackup which is basic backup of my dockers and such. 

  6. Yes in MY experience when ever I've encountered an unclean shut down it has always fired off a Parity Check. 

    Like I said if I know what the problem was I've often just said cancel and haven't felt any repercussions as long as I know I wasn't performing a write. 

  7. I always look at it this way personally. 

     

    Was I writing any data to the array when I shut down my machine? If not then the Difference between the Data Drives and the Parity should be the same and it shouldn't throw up an error when you run it again. 

     

    If your not sure it doesn't hurt to let it go, but often I just cancel and move on. 

  8. More food for thought during your build:

     

    You can view your data on the Unassigned.Devices Plugin, but anything you put in the array will be erased and prepped for unraids use. 

     

    Expansion Card.

    4 Sata Connections + whatever your adding via your expansion card. Make sure its running in IT Mode not Raid mode. 

     

    Sata Drives already allocated:

    - 1 Parity

    - 1 SSD if you plan on running Dockers. You don't have to run SSD if you simply don't care that a drive will be spun up all the time, but Plex and other Dockers run so much better        on an SSD or NVME if you have one. 

    - The rest of your data drives. 

     

    Also if you do Run SSD plug that into the Motherboard directly because most of the time Expansion cards do not support Trim and your SSD's performance will degrade. I know there are some exceptions and different Bios updates for cards, but I don't recall all that info at this current time. 

  9. Totally fair. I was just going to manually rename my chattr file from what it is now and set the new name in the script so it could function and change to whatever I set it to. 

     

    I knew you couldn't be held accountable for every name change simply because you can't read our minds. 

     

    I honestly didn't expect you to enable a name change via command line. I just figured we would plug it in via the script. 

    • Like 1
  10. 3 hours ago, Opawesome said:

    Why not share with everyone ? ;-)

     

    I didn't want to clog up his Support Thread, but anyways this is what I suggested. 

     

    ************************************************************************

     

    One idea I just had. Currently your renaming chattr and changing its permission. Absolutely brilliant, however maybe include a variable so the user could change the rename so everybody has a totally different binary and really screw up bots/script kiddies?

     

    Say default is "rchatt" and everybody that uses it will have that as their default. Anybody who knows unraid and knows how to beat it will just bake that into their code and target unraid looking to rename rchatt to chattr or will simply run Chmod +x on rchatt.

     

    So I'm proposing something like the following

     

    #Edit below to set your Binary name default is rchatt

    Set your Binary name ="rchatt"

     

    It might be one more added thing that might be borderline paranoid, but really getting obscure should really confuse somebody.

    • Like 1
    • Thanks 1
  11. I do see my drives being read at 682k, which is typically Plex looking for Drive changes. I can't look at Plex from work because I know I have it set to periodically check for changes, but I know it looks for changes when the drives are spun up. 

     

    I'll disable that. Heck I'll shut down Plex all together for the heck of it and try it again. 

  12. This is what a Typical log looks like for me. Why it does its thing and then at the end it always does a read Smart is beyond me. I'm guessing thats what is trigger the drive spin up or its reading it after its spun up. I'm not 100% sure. I just know its annoying.

     

    May 25 11:34:26 Tower root: mvlogger: Adding Age
    May 25 11:34:26 Tower root: mvlogger: Age 15
    May 25 11:34:26 Tower root: mvlogger: Skipfiletypes string: find "/mnt/cache/Plex-Photos-Hunters" -depth -mtime +15
    May 25 11:34:26 Tower root: mvlogger: Not in Test mode
    May 25 11:34:26 Tower root: mvlogger: Complete Mover Command: find "/mnt/cache/Plex-Photos-Hunters" -depth -mtime +15
    May 25 11:34:26 Tower root: find: '/mnt/cache/Plex-Photos-Hunters': No such file or directory
    May 25 11:34:26 Tower root: mvlogger: Share Name Only: PlexOptimized
    May 25 11:34:26 Tower root: mvlogger: Cache Pool Name: cache
    May 25 11:34:26 Tower root: mvlogger: cache Threshold Pct:
    May 25 11:34:26 Tower root: mvlogger: OVERALL Threshold: 5
    May 25 11:34:26 Tower root: mvlogger: Share Path: /mnt/cache/PlexOptimized
    May 25 11:34:26 Tower root: mvlogger: Pool Pct Used: 14 %
    May 25 11:34:26 Tower root: mvlogger: DFTPCT LIMIT USED FOR SETTING: 5
    May 25 11:34:26 Tower root: mvlogger: Threshold Used: 5
    May 25 11:34:26 Tower root: mvlogger: Adding Age
    May 25 11:34:26 Tower root: mvlogger: Age 15
    May 25 11:34:26 Tower root: mvlogger: Skipfiletypes string: find "/mnt/cache/PlexOptimized" -depth -mtime +15
    May 25 11:34:26 Tower root: mvlogger: Not in Test mode
    May 25 11:34:26 Tower root: mvlogger: Complete Mover Command: find "/mnt/cache/PlexOptimized" -depth -mtime +15
    May 25 11:34:26 Tower root: mvlogger: Share Name Only: TV
    May 25 11:34:26 Tower root: mvlogger: Cache Pool Name: cache
    May 25 11:34:26 Tower root: mvlogger: cache Threshold Pct:
    May 25 11:34:26 Tower root: mvlogger: OVERALL Threshold: 5
    May 25 11:34:26 Tower root: mvlogger: Share Path: /mnt/cache/TV
    May 25 11:34:26 Tower root: mvlogger: Pool Pct Used: 14 %
    May 25 11:34:26 Tower root: mvlogger: DFTPCT LIMIT USED FOR SETTING: 5
    May 25 11:34:26 Tower root: mvlogger: Threshold Used: 5
    May 25 11:34:26 Tower root: mvlogger: Adding Age
    May 25 11:34:26 Tower root: mvlogger: Age 15
    May 25 11:34:26 Tower root: mvlogger: Skipfiletypes string: find "/mnt/cache/TV" -depth -mtime +15
    May 25 11:34:26 Tower root: mvlogger: Not in Test mode
    May 25 11:34:26 Tower root: mvlogger: Complete Mover Command: find "/mnt/cache/TV" -depth -mtime +15
    May 25 11:34:27 Tower root: mover: finished
    May 25 11:34:27 Tower root: mvlogger: No After Script to Run.
    May 25 11:34:55 Tower emhttpd: read SMART /dev/sdg
    May 25 11:34:55 Tower emhttpd: read SMART /dev/sdd
    May 25 11:34:55 Tower emhttpd: read SMART /dev/sdf
    May 25 11:34:55 Tower emhttpd: read SMART /dev/sdc

     

  13. I don't know if I'm the only one, but I'll ask anyways. 

     

    When this Mover Script runs it spins up every drive that has a potential share that can be moved from the Cache to its place on the array including my Parity Drive. To make due with this anomaly I currently have my mover script set to run Daily at 5:45 which is 15minutes before Plex Docker scans my media looking for changes.

     

    I was considering changing my mover to hourly, but notice it still spins up every drive and for me there is no reason to spin up any drives if nothing is move on an hourly basis. Kinda defeats the purpose of letting my drives spin down if they aren't needed at all. 

     

    I'm trying to figure out if its something I'm doing, setting? Or are others simply not noticing or don't care? If its just what it is I'll keep my daily set to the time it is and be done with it. ;)

  14. For the flash backup I created a User.Script and scheduled it to use the Daily cron settings and then shuts off.

     

    Utility-Backup-Flash

    #!/bin/bash
    
    echo "Start Flash Backup"
    /etc/rc.d/rc.flash_backup start
    
    sleep 10m
    
    echo "Stop Flash Backup"
    /etc/rc.d/rc.flash_backup stop

     

    So basically it starts the Flash Backup and tries to connect. If it connects then fine it connects. If it fails it tries every minute on my machine, but I'm giving it 10minutes of trying then it shuts off. 

     

  15. 17 minutes ago, tmchow said:

    I'm getting same error "Unable to connect to backup.unraid.net:22".  I don't see anythign obviously wrong anywhere in my firewall.

     

    Its appearing more and more to be a system wide problem not a per server problem. Limetech is investigating this. 

  16. 9 hours ago, ljm42 said:

    Hey everyone! We've got one more update of the Unraid.net My Servers plugin for you that resolves the problems from earlier. Please update at your earliest convenience.

     

    As part of this we are cleaning up the branding for this plugin. It is now the "My Servers" plugin, and you sign in with your "Unraid.net account". 

     

     

    If the UPC shows an error message at first, don't worry, it should resolve in less than a minute. If the error persists then you can open a webterminal and type:

    
    unraid-api start

     

     

     

     

    Doh! Sorry about that, I guess you were one of the (un)lucky ones. It should just be a matter of updating the plugin one more time, then signing back in.

     

    Updated and couldn't connect. The realized it defaulted to "NO on allow remote connection"

    Up and running again. 

     

    • Like 1