Jump to content

wgstarks

Members
  • Posts

    5,166
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by wgstarks

  1. I just installed this plugin. I think I've got everything set correctly, but when I try to "Build" I get the following error- Jan 18 18:08:24 Brunnhilde bunker: error: no export of file: /mnt/disk1/TM-Mini/HT-Mini.sparsebundle/com.apple.TimeMachine.SnapshotHistory.plist Jan 18 18:08:24 Brunnhilde bunker: exported 3 files from /mnt/disk1 with mask *. Duration: 00:00:00 Jan 18 18:15:59 Brunnhilde kernel: ata2.00: exception Emask 0x10 SAct 0x7fffffff SErr 0x280100 action 0x6 frozen Jan 18 18:15:59 Brunnhilde kernel: ata2.00: irq_stat 0x08000000, interface fatal error
  2. Don't think you can preclear a disk once it's been added to the array.
  3. Tried with both scripts and every combination I could think of. None made any difference. Seems to be working though, so it's really a minor issue.
  4. I think you're talking about the sh script- #!/bin/bash # ========================================================================== # # Program Body # # ========================================================================== # ((!$#)) && echo No Directory supplied! && exit 1 dir="$@" echo $dir echo "Removing .DS_Store files" find "$dir" -name ".DS_Store" -exec rm '{}' \; -print echo "=======================" echo "Removing ._ files" find "$dir" -name "._*" -exec rm '{}' \; -print Should I add the exit after the find at the bottom?
  5. Like this? # DS_Store Cleanup for Media: 40 3 * * 3 /boot/config/plugins/DS_Store-Cleanup/rmdotstore.sh /mnt/user/Media && /usr/local/emhttp/plugins/dynamix/scripts/notify -e "DS_Cleanup" -d "Removing .DS_Store files" -i "normal" -m "Cleaning DS_Store files from Media" && exit 0
  6. Thanks again Squid. Fixed the typo and everything is working. DS Store file was deleted and notifications worked. Still have the error in the log that the "From" address is not one of my addresses. Not sure what's causing that but notifications still work.
  7. 1. A rather long discussion of the current license policy is here, but I believe the restrictions apply to all disks attached to the server. This would include cache, parity, array and any unmounted drives.
  8. It worked when I ran it via telnet. Deleted test files I had saved to the share and sent the proper notifications. The log shows the script is running on time. The only difference I can see is that when I run the script via telnet I have to cd /boot first. Not sure if that changes anything. Edit- I see a typo (DUH). I changed the script per your suggestion but typed in boot/config instead of /boot/config. Fixed now and I'll see what happens.
  9. Didn't work. DS Store files are still not being deleted and I'm still getting errors in the log that the "From" is not one of my email addresses.
  10. I set up a custom script as described here. It works fine when I run it from the command line, but when I run it as a cron job I get this in the log- Jan 11 20:00:01 Brunnhilde crond[1609]: exit status 127 from user root ./config/plugins/DS_Store-Cleanup/rmdotstore.sh /mnt/user/Media && /usr/local/emhttp/plugins/dynamix/scripts/notify -e "DS_Cleanup" -d "Removing .DS_Store files" -i "normal" -m "Cleaning DS_Store files from Media" Jan 11 20:00:01 Brunnhilde sSMTP[20054]: Creating SSL connection to host Jan 11 20:00:02 Brunnhilde sSMTP[20054]: SSL connection using AES128-GCM-SHA256 Jan 11 20:00:03 Brunnhilde sSMTP[20054]: 550 5.7.0 From address is not one of your addresses. The .DS_Store files are not being deleted and I don't get a notification. Not sure why it's failing. I've attached the complete log. brunnhilde-syslog-20160111-2008.zip
  11. Found it- http://lime-technology.com/forum/index.php?topic=44172.msg421807#msg421807
  12. I created a folder in plugins "DS_Store-Cleanup". Inside the folder are 2 text files "rmdotstore.cron" and "rmdotstore.sh". I had read in the forum that I could run any script this way. All I had to do was model it after any of the plugins already on the flash drive. Wish I could find the thread.
  13. I added a folder to /config/plugins/ IF I'm understanding what I'm reading on various threads, I just set it up as a simple plugin.
  14. Probably would for me too if I had any idea what I was doing. I just added it on to the cron script. Worked great. Thanks # DS_Store Cleanup for Media: 20 3 * * 1 ./config/plugins/DS_Store-Cleanup/rmdotstore.sh /mnt/user/Media && /usr/local/emhttp/plugins/dynamix/scripts/notify -e "DS_Cleanup" -d "Removing .DS_Store files" -i "normal" -m "Cleaning DS_Store files from Media" I seem to remember that I need to restart my server for the cron files to load. Is that true?
  15. Tried changing the script to this- #!/bin/bash # ========================================================================== # # Program Body # # ========================================================================== # ((!$#)) && echo No Directory supplied! && /usr/local/emhttp/plugins/dynamix/scripts/notify [-e "DS_Cleanup"] [-s "DS_Cleanup"] [-i "normal"] [-m "Cleaning DS_Store files from Media"] && exit 1 dir="$@" echo $dir echo "Removing .DS_Store files" find "$dir" -name ".DS_Store" -exec rm '{}' \; -print echo "=======================" echo "Removing ._ files" find "$dir" -name "._*" -exec rm '{}' \; -print I don't get an email though. Did I miss something? Also tried running the command from telnet with the same result. I'm guessing there's a syntax problem but I'm a noob at this so pretty much lost here.
  16. I've set up a script to clean .DS_Store files. Got the script from this post #!/bin/bash # ========================================================================== # # Program Body # # ========================================================================== # ((!$#)) && echo No Directory supplied! && exit 1 dir="$@" echo $dir echo "Removing .DS_Store files" find "$dir" -name ".DS_Store" -exec rm '{}' \; -print echo "=======================" echo "Removing ._ files" find "$dir" -name "._*" -exec rm '{}' \; -print I've got it installed in /config/plugins/DS_Store-Cleanup/ and run it with a cron entry- # DS_Store Cleanup for Media: 20 3 * * 1 ./config/plugins/DS_Store-Cleanup/rmdotstore.sh /mnt/user/Media I think it's working??? If I create a test file named .DS_Store it will get deleted when running the command via telnet at least. My problem is that I don't get any notifications. Is there something I can modify to have the system send a notification (preferred) or maybe at least have a log entry?
  17. You should probably try contacting Tom again. I've only had to do this a couple of times, but responses have always been very fast. <1 hour.
  18. I haven't used this docker for a while. Evidently something changed in one of the unRaid updates maybe? When I access the UI I get an error that my array must be started. The array is started. How can I fix this?
  19. Yes, then let it rebuild parity. Thanks. And then I'll have to powerdown to remove the drive from the cage, right? Pretty sure hot swapping isn't supported.
  20. Thanks all for the replies. There's not much data on this drive so I'll probably just move it to another drive in the share with unbalance. Not quite sure how to remove a drive if I'm not going to replace it right away? Should I stop the array and then do a "New Configuration" without this drive?
  21. Ive been getting notifications most of the day. Started some time last night. Not sure what to do about this? 9:18PM 11:24PM 4:55AM 5:46AM 12:03PM 6:01PM 6:01PM 6:04PM 6:04PM I've attached a smart report. brunnhilde-smart-20160105-1919.zip
×
×
  • Create New...