Influencer

Members
  • Posts

    2067
  • Joined

  • Last visited

Everything posted by Influencer

  1. At the bottom of the Main tab and in the parity check history, I think it would be helpful to show if it was correcting/non-correcting. I can be scatterbrained at times and for instance a month ago I had a few parity errors come up after a power outage. So I ran a correcting parity check. All is well. Tonight, a month later, I just happen to glance and see "Last check completed on xx/xx/xx, finding 518 errors." Look at history, two checks ran within a couple days, both finding 518 errors. Took me a minute to remember running the correcting parity check. After running the correcting check I had neglected to run another check to ensure 0 errors. Long story short, would be nice to see if a check was correcting or not so if something like that happens again its easy to know whether a correcting or non-correcting check should be ran.
  2. I've been away from the community for too long, didn't know that existed!
  3. Went ahead and modified the notify script to suit my needs. Posted about it here
  4. I recently had a need/want to have the system send an email to my wife's email address when her SD cards were finished backing up to the server. I use Unassigned Devices to fire off a script when she inserts the card into the server that backs up the card to a server share. But she wouldn't know when it was done unless I had her email address in the notification settings. She doesn't care to receive the usual system notifications such as parity checks, temp warnings, etc. And I don't care to receive the notifications when her card is done backing up. But unless I interacted with ssmtp directly, I didn't have much choice. So I modified the Notify script to allow a little more flexibility, posting here in case it helps anyone else. Really simple change that doesn't affect current functionality, maybe the update can be included in the next release of unraid? List of changes: Line 22: Updated example usage Line 30: Explanation of option Line 50: Added recipients to function parameters Lines 54-57: If -r flag was used and an email address was provided, use that. If not, use the default email list from the notification settings Line 167: Add 'r' option Lines 186-188: Add case for 'r' option Line 203: pass in list of recipients to generate_email function So if my notification settings are set to send the emails to [email protected], in the backup script when I fire off a notification I pass in '-r "[email protected]"' which now overrides the default email in the notification settings and only sends it to her. Currently of course, you would need to add a line in your go file or if you are using the user scripts plugin you could add it there as well and set it to run at array start. The notify script resides at '/usr/local/emhttp/webGui/scripts/notify' If you had the new notify script saved to /boot/scripts/ you would add this to the go file (or user script) cp /boot/scripts/notify /usr/local/emhttp/webGui/scripts/notify notify
  5. I would like to +1 this and also, in keeping with the same request, make the types of notifications more granular as well. What I'm thinking is I'd like for unraid to be able to notify different users of events that may be of interest to them. For instance, my wife backs up her memory cards to the server after each photo shoot. I currently use Unassigned Devices to automate the backing up process for her. But my server doesn't have a speaker so I can't have it beep for her to know its done. Plus it can take some time to back up the photo's so she isn't always near the server to hear it. So currently I have the email notifications setup and the script sends out a notification, which works. The issue here, which is more of a minor annoyance, is any email listed in the notifications will receive that email. I would like for only her to receive the email. I think this could also be expanded for other things. Another example could be if the server is recording a tv show, you could setup a post recording script that sends a notification/email to interested parties that something was just recorded. So two ways I was thinking this could work: 1) Adding custom events with their own recipient lists, the main email notification settings could keep the recipients list that is there which could act as a default if no recipients were added for the custom events. This would require a few changes to how the notify script works, I believe mainly just checking if the event has its own recipients and using that instead of default. 2) Modify the notify script to add a recipients argument that when present overrides the default list. Could also add a flag that lets it ignore the dashboard notifications as well. Either of these would open up the capability of the built-in notification system to be used by other applications and scripts that users may run.
  6. I tried to search through previous requests and didn't find anything similar. Also not sure if this is an issue most other users run across or if its a special use-case scenario. When the amount of docker containers start to add up it creates a long page of containers. I was wondering if it was possible to add pagination to the containers page to keep things tidy and reduce the visual clutter.
  7. Updating to PS 4.0 now, if that doesn't work I'll make the changes and see where that leaves me. Thanks for the help, I've got zero powershell experience so your saving me a lot of googling, lol. I know I could script something on the linux side but I don't want to mess with installing the needed packages to get that info. Mainly all of the dependencies for ffmpeg!
  8. Not sure, lol. I'll check tonight when I get home. I did end up getting it to run but it ran for hours and it never finished fetching the files, I think I got it stuck in an endless loop. Edit: just dialed in and checked. I'm on 2.0, I'll update and try again tonight.
  9. Getting an error that the parameter -Directory cannot be found? Ok, changed that to recurse which seemed to work. Now getting the attached errors.
  10. Thanks, looks like thats exactly what I need!
  11. I have a mixture of DVD movies and Blu-Ray movies on my server, I think I have most of them sorted but to save from checking every movie does anyone have a script they use to list all media files in a directory with the file name, extension and video/audio codecs? I initially searched for anything that wasn't mkv and went through those, but I've ran across a few MKV's that I ripped a long time ago (when I only had ONE storage drive!) that in order to save space I ripped with lower quality audio losing 5.1 to stereo.
  12. Alright, I removed the *.tmp and /tmp exclusions from the config until I can find what update stopped them from working correctly. In the meantime if you delete anything from the temp directory or a temp file you will need to remove them from the BIN manually. Not a huge deal as I suspect many people don't create/delete temp files often. Just delete /boot/config/plugins/vfs_recycle/config/smb-extra.conf, redownload the plugin and install. Should be good to go. Now the fact that the config pages no longer show up I'll still need to look at. I suspect the file path has changed.
  13. Just tested and I'm seeing the same results as you. I'll look into it and see what changed.
  14. If i were you I would go with the best cpu in your price range. You don't have to use the processing power but it's good to have if you do need it down the road. Yes you can always upgrade later but then that will cost you more and unless you have extra compatible hardware or buy more you will have a cpu collecting dust. Take me for example, I was in the same boat, a few media pcs with one being the storage computer that held all of my harddrives. I built my first unraid server and went low budget because I didn't need all of the back end processing power, my htpcs could handle the formats natively. But it wasn't long before I wanted to do more with the server and needed more power so I ended up upgrading my processor and now I have a barely used lower end processor sitting in my underwear drawer in the packaging my newer faster processor came in. If think you will go past the number of sata ports the mb has I would make sure your pick has atleast one pcie 4x slot or higher. Right now I'm back in the same boat as before, I have a perfectly good motherboard but now I've expanded past the number of ports I have and I don't have room for another expansion card. So now I'm looking for a new motherboard. Basically my advice is thid: before you make your purchase think long and hard about what you want out of the server. Will 6 harddrives be enough for you? With the growing capacities it may very well be enough. Are you going to stick with the media pcs or are you possibly going to replace them with more apple tv devices or rokus. If so more processing power will be needed. I used htpcs exclusively until I built the server. Then I bought a roku to check it out. Now there is one in every room. Again, think about what you will want in a year or two and build accordingly. A little bit extra now can save you in the long run.
  15. I think I'll move to the beta to try things out. I knew of the corruption bug and the beta9 fix. I'll probably switch over this week after running some checksums to ensure integrity. I know the bug was fixed but a little precaution is never a bad thing. Good to be back! Still not tons of free time but I want to stay active in the community.
  16. I was very active here up until about a year ago when life decided to take away all of my free time. That being said unraid v5 has been running rock solid, so much to the point it was all but forgotten minus the daily or every couple of days check in to see drive status. Now I see v6 is being heavily developed with some interesting features being added. I would consider myself an experienced user and I like to be on the bleeding edge of technology so I'm interested in giving v6 a go. Other than 64bit, what other features should push me to use v6 over v5? Is it "stable" enough, keeping in mind it's a beta, to run on my production server? I, like many others, ran v5 in beta with little or no issue. As far as I have read, my experience with v6 beta would be largely the same. Opinions?
  17. I think that would be a good option. Outside of the parity calculations it would not be affected by something like weebos reiserfs fluke (which is something I'd like to test, put 3 drives in and build parity, then try to mount parity as reiserfs and see if it succeeds). Tom, what do you think? Is it doable and a viable option?
  18. Due to unraids clear and format the first partition is the whole drive (with the exception of the cache disk). And you are right, the drive must have a valid partition to be rebuilt, and that data exists on the MBR which is NOT calculated by parity. But the filesystem info resides on the start of the disk and it is included in a parity calculation.
  19. Perhaps limiting the parity slot to being precleared or some other type of signature. It's too easy to make this mistake. yet it might also be difficult to detect that the wrong disk is mounted. On unRAID 5, I ran the following and was surprised to see my parity disk identified as ReiserFS system. /dev/sdd is my parity disk. There must be someother way to tell. Is there some MBR data that can be used? root@unRAID:# blkid -p -u filesystem /dev/sd* /dev/sda: PTTYPE="dos" /dev/sda1: LABEL="UNRAID" UUID="9016-4EF8" VERSION="FAT32" TYPE="vfat" USAGE="filesystem" /dev/sdb: PTTYPE="gpt" /dev/sdb1: UUID="d1375649-cdd8-4b64-b8b9-282d9d27f768" VERSION="3.6" TYPE="reiserfs" USAGE="filesystem" /dev/sdc: PTTYPE="gpt" /dev/sdc1: UUID="bd1bdef0-9333-418a-b2bb-e7ddc3ce8e87" VERSION="3.6" TYPE="reiserfs" USAGE="filesystem" /dev/sdd: PTTYPE="gpt" /dev/sdd1: UUID="33450ce6-9d52-47c8-9dc0-05ca8e8a4aab" VERSION="3.6" TYPE="reiserfs" USAGE="filesystem" /dev/sde: PTTYPE="gpt" /dev/sde1: UUID="5f69845f-c3b9-4d26-97c2-ca3ad0633344" VERSION="3.6" TYPE="reiserfs" USAGE="filesystem" Correct me if I'm wrong, but the parity drive being identified as reiserfs is a condition that will happen anytime there is an odd number of data drives. The sectors of the disk that hold the filesystem information would be the same so with "even" parity it would always work out that parity will reflect a reiserfs filesystem. Lets say: Reiserfs filesystems first bits are :1 0 1 1 0 1 Each drive will have the same thing so given 3 data drives parity calc will look like: Disk1 - 1 0 1 1 0 1 Disk2 - 1 0 1 1 0 1 Disk3 - 1 0 1 1 0 1 Parity - 1 0 1 1 0 1 Equals- 4 0 4 4 0 4 (all even) May be obvious to everyone else but figured I'd explain it just in case. There is no such thing. There will always be a fool that can get around any protection. Best you can do is make it so the fool has to work at it to screw it up. No, there is no such thing. But I'd like to think I'm no fool and the current setup got me so anything would be better than what we've got. Granted new config isn't exactly the most common operation it does leave the door open for potentially devastating data loss. We all know unraid isn't a replacement for backups. That being said, we all use unraid and its parity protection to help avoid data loss. The parity drive selection being with the data drives works against that.
  20. This is not unique to V6. I did this many years ago in the 4.2 days I think. I made a similar suggestion. http://lime-technology.com/forum/index.php?topic=1485.msg9976#msg9976 I'm not saying it's only related to v6, but seeing as v5 is final and v6 is being worked on now, I figured it was the most appropriate place to put the suggestion. Anything to help discern the parity from data would be an improvement while working on a good fool proof solution.
  21. I don't think you'd call it a feature request or a defect, but it is a design flaw. I was removing a data drive that wasn't in use yet but has a issue with the disk so it can't be formatted. Pretty simple operation, stop array, remove & unassign the problem disk, set new config, re-assign data drives, start array. Parity will rebuild but not a big deal. Well not paying 100% attention I put a completely full 2TB disk in the parity drive slot and started the array. As soon as I hit start I realized what I did. I had started the array back up from my cell phone so I couldn't stop the array quickly so I just cut power to the server. Total time parity sync ran? Maybe 2-3 seconds. Data drive shows up unformatted, took about 2 days of pins and needles but I recovered everything and am back in operation. TL;DR? Put the Parity drive slot with its own header or separate from the data drives. Or do something that very obviously differentiates it from the data drives. I searched the forum to see if others had ran into a similar problem and was amazed that it is actually a semi-common mistake. Haven't booted or tested V6 yet so if this change has been made disregard this topic, but if it hasn't please do so.
  22. Anything written to /mnt/user/XXXXX will be written initially to the cache drive if the cache drive is enabled for that share, files will only be written directly to disk if you specify the disk directly like /mnt/disk1/XXXXX
  23. If it wasn't for a move, my uptime would have been a little over a year now assuming nothing else would have happened that the shutdown stopped. Haven't had a power outage in a few years that I can remember.
  24. Sounds like the mover is moving the files to the array. Do you have the share as cache only? The reason you can still access couchpotato via your phone is it uses the API that is still running and loaded into memory, when you access the webpage it doesn't work because it tries to reference a file it expects to be on your cache drive but no longer is.