nsta

Members
  • Posts

    71
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

nsta's Achievements

Rookie

Rookie (2/14)

0

Reputation

  1. Making Perfect sense, and helps to know it has to be lower case aswell...... THANKS
  2. FIXED )) Thanks to all for their HELP....i dont know which part fixed it, but here were my steps: *Removed movies folder off disk3 (which shouldnt have been there) *used all lowercase format for all my exclusions in the webgui *Disabled user shares and restarted *re-enabled shares after reboot and didn't touch the share settings (left them as they were) Tested and now everything i copy to my "Movies" share will go to the appropriate disk )) THANKS TO ALL
  3. So deleting the user shares within the Unraid console is ok aswell?
  4. Just to make sure....if i disable user shares.....will that remove the contents on that share aswell???....
  5. PROBLEM - IT didnt work!!! I deleted the movies folder off disk3, and rebooted my unraid box.....transferred file over to my movies share......and it re created a movies folder on Disk3 (data share), and started copying to it accordingly!!! What should i try next???
  6. Cheers ill give that a shot tonight, i hope it works.... And i think i do remember creating a TEMPORARY "movies" folder on the root of DISK3 which explains all of this!.... Just to make sure, it's only if the folder is on the ROOT of the User share, that it will disregard the exclusions?? i.e in my case: i had a movies share on the root of Disk1 and Disk2 (which is how it should be)....and i had a temporary movies folder on the root of Disk3, which is why it started copying files accross to it and disregarded my exclusions??? ....if say i had this structure: Disk3/data/movies...would it still have adverse affects (even though its not in the root of the user share) Thanks ....hope this was all it is
  7. My Unraid is 4.4.2 Hey All - Unraid has been running perfect recently....until now ....here is my current unraid setup: 1 500GB disk parity 2 x 500GB disks for my "movies" share - Disk1 and Disk2 set as included disks and Disk3 set to exclude 1 x 500GB disk for my "data" share - I have set Disk3 as included, and Disk1 and 2 as Excluded disks.... here's the problem....the high water mark for my Movies share (disk 1 and 2) reached 50%...i transfer a file onto my user share, and to my suprise the files moved accross to Disk3 which is set as a excluded disk on the share!!!.... What am i doing wrong, i have attached my user share setup if you can see anything wrong!....i need to sort this asap. Also, since the file has been moved to my excluded disk, is there any reason why i cannot transfer it over to the movie share manually?....it wont harm anything will it? Thanks http://f.imagehost.org/view/0033/untitled_16
  8. Awesome - Thanks!, will give it a go today.....is there any harm in having use both /user and disk settings, if the disks are on a user share anyway.....NAS advised for him it was slightly faster having it set to disk, so i thought why not.... Regards
  9. Does this script look right, if i were to add disk 1,2,and 3 to the script...and remove user??? #!/bin/bash if [ ${DEBUG:=0} -gt 0 ] then set -x -v fi P=${0##*/} # basename of program R=${0%%$P} # dirname of program P=${P%.*} # strip off after last . character cache_loop() { echo "$$" > /var/run/${P}.pid trap "rm -f /var/run/${P}.pid" EXIT HUP INT QUIT TERM logger -is -t${P} "Starting" while [ -f /var/run/${P}.pid ] do ls -R /mnt/disk1 >/dev/null 2>&1 do ls -R /mnt/disk2 >/dev/null 2>&1 do ls -R /mnt/disk3 >/dev/null 2>&1 sleep 10 done logger -is -t${P} "Terminating" } if [ -f /var/run/${P}.pid ] then echo "$0: already running? pidfile: /var/run/${P}.pid" ps -fp $(</var/run/cache_user.pid) exit fi cache_loop > /var/log/${P}.log 2>&1 & JPID=$! logger -is -t${P} "Spawned (Pid=$JPID)" # ps -fp "$JPID" disown "$JPID"
  10. Thanks - So much help here in these forums its awesome:) Im going to give it a try tonight... Few quick q's: 1) Before i have the script running, id like to do some quick tests, before and after....is there an easy way to do this (via command line)? 2) I have disk 1 and 2 that spans between one user share (movies), and i have disk3 thats solely used for data, which i transfer directly to (dont use user shares for disk3).....do i need to add another command to enable the ls-r hack for the disk3? 3) would there be a reason to kill PID....Thanks:)
  11. Hey Weebotech, your information is very useful....id like to try this myself, and see what sort of real-world improvements i get.... Could you confirm im doing everything correctly step by step....im still real linux/command line iliterate! 1) First create a "cache.sh" script, and have the following contained within it: #!/bin/bash if [ ${DEBUG:=0} -gt 0 ] then set -x -v fi P=${0##*/} # basename of program R=${0%%$P} # dirname of program P=${P%.*} # strip off after last . character cache_loop() { echo "$$" > /var/run/${P}.pid trap "rm -f /var/run/${P}.pid" EXIT HUP INT QUIT TERM logger -is -t${P} "Starting" while [ -f /var/run/${P}.pid ] do ls -R /mnt/user >/dev/null 2>&1 sleep 10 done logger -is -t${P} "Terminating" } if [ -f /var/run/${P}.pid ] then echo "$0: already running? pidfile: /var/run/${P}.pid" ps -fp $(</var/run/cache_user.pid) exit fi cache_loop > /var/log/${P}.log 2>&1 & JPID=$! logger -is -t${P} "Spawned (Pid=$JPID)" # ps -fp "$JPID" disown "$JPID" 3) I then place this script in /boot, i'm assuming the cached_user.pid is created automatically?.....and do i have to rename "user" in the line below, to the name of my user share (ie Movies) or not? do ls -R /mnt/user >/dev/null 2>&1 4) I then add this to my go script: /boot/cache.sh Thanks in advise?
  12. Cheers - Does it look all good?....is there any way to know if it really is working or not, if currently im not really having an issue...i got 2gb ram so dont know if itll suffice...
  13. sorry im really new to Linux...but i hope i got this right... Do i copy the contents below to a .txt file and save it as cachedaemon.sh in /boot/scripts/ then call on the script with: nohup nice /boot/scripts/cachedaemon.sh & ...... I noticed yours is for User Shares.....if i wanted it for a specific disk would i use: #!/bin/sh i=1 while [ 1 ] do ls -R /mnt/hda >/dev/null 2>&1 # Modify sleep time (in seconds) as needed below sleep 10 #let i=i+1 # echo $i; done OR #!/bin/sh i=1 while [ 1 ] do ls -R /mnt/Disk3 >/dev/null 2>&1 # Modify sleep time (in seconds) as needed below sleep 10 #let i=i+1 # echo $i; done Regards,
  14. Just going by what JimWhite said....does this look about right? Ok, so i obviously i must have to create some sort of custom script to let Unraid know to run my Ls-R.sh script?....is this correct?, How do i create this?....and from what he's said i guiess i should add this line to this custom script: echo "*/1 * * * * /boot/bin/ls-r.sh >/dev/null 2>&1" >> /var/spool/cron/crontab.5000 ..... I then need to create an ls-r.sh script with my contents as follows: ls -R /mnt/user >/dev/null 2>&1 sleep 30 ls -R /mnt/user >/dev/null 2>&1 .....does this mean it will not spin up the drives so often when browsing the contents of my User Shares?.....i have one drive i dont use as a user share, and browse directly off the disk....would this mean i'd use this command also: ls -R /mnt/hda >/dev/null 2>&1 sleep 30 ls -R /mnt/hda >/dev/null 2>&1 "hda" is the disk im referring to, which is Disk3 in my unraid system.... Help much appreciated..
  15. i say 1-3 titles, because i may be watching one, and my son another, and partner another....all network...i wish i had time to watch 3 titles in a day on my own!...