wsume99

Members
  • Posts

    531
  • Joined

  • Last visited

Everything posted by wsume99

  1. I actually just got this up and running on my server. You can use rsync to do this. It is already part of unraid unraid. You'll need to install rsync server on your windows machines - just Google cwrsync and you'll find instructions on how to install it on your windows machines. You can then write a script that runs on the unraid server on a defined schedule (aka cron job) to wake your windows machines (using etherwake) and then backup the files from the windows machines onto your server. It works great and it's not that difficult to get up and running.
  2. I'm not going to be much help here but I think it either means that you are missing the package or module required to interface with the pwm control chip that is on your board OR that your board lacks the proper hardware to allow the OS to control the fan speed.
  3. I believe that the behavior you are describing is a result of installing the powerdown package in unMenu and is not a native part of unraid.
  4. Thanks again for all your help cyrnel. I think I finally have it working the way I want it. I've done some more experimenting and what I've come to understand is that you cannot have a space in the path when defining a module. For example I tried this module and rysnc command combination just for kicks: [test1] path = /cygdrive/c/Users/John/"Saved Games" read only = true transfer logging = yes rsync -avP --delete --chmod=Fo-X 192.168.1.152::test1 /mnt/user/photobackups/"Saved Games"/ This did not work. I got the same "chdir failed" error I had gotten previously and if you look back at the dir listing for c:/Users/John/ you'll see that a Saved Games directory does exist. However if I use this module and rsync command combination it works (just simply taking cyrnel's advice and driving up the tree so that I do not have any spaces in the module path). [test1] path = /cygdrive/c/Users/John read only = true transfer logging = yes rsync -avP --delete --chmod=Fo-X 192.168.1.152::test1/"Saved Games" /mnt/user/photobackups/ That code works. It created a Saved Games directory in /mnt/user/photobackups/ and copied all the flies from c:/Users/John/Saved Games/ and places it in /mnt/user/photobackups/Saved Games/. I think I may finally understand this.
  5. Ah Ha - I guess I should have listened better when you warned me about libraries but I didn't think that was the problem because I could see the My Pictures folder in windows explorer. I guess the lesson I should learn here is not to trust what windows explorer says. C:\Users\John>dir Directory of C:\Users\John 07/14/2011 03:18 AM <DIR> . 07/14/2011 03:18 AM <DIR> .. 10/10/2010 01:27 PM <DIR> .idlerc 04/12/2011 10:04 PM <DIR> Contacts 09/04/2011 10:55 PM <DIR> Desktop 07/16/2011 02:32 PM <DIR> Documents 08/19/2011 09:05 PM <DIR> Downloads 04/12/2011 10:04 PM <DIR> Favorites 04/12/2011 10:04 PM <DIR> Links 02/23/2011 07:43 PM <DIR> Logitech 04/12/2011 10:04 PM <DIR> Music 09/01/2011 11:00 PM <DIR> Pictures 04/12/2011 10:04 PM <DIR> Saved Games 04/12/2011 10:04 PM <DIR> Searches 03/14/2010 05:58 PM 0 Sti_Trace.log 04/12/2011 10:04 PM <DIR> Videos 09/12/2010 04:51 PM 99 wakeup.bat 2 File(s) 99 bytes 15 Dir(s) 13,327,364,096 bytes free So according to the dir listing there is no My Pictures folder. The proper path should be c:/Users/John/Pictures/. So the rsyncd.conf file should have a module named test1 with this path: path = /cygdrive/c/Users/John/Pictures/ and the rsync command would be: rsync -avP --delete --chmod=Fo-X 192.168.1.152::test1 /mnt/user/photobackups/"whatever I want to call it but I need quotes if there are spaces"/
  6. The problem appears to be the spaces in the path for the module I defined in the rsyncd.conf file on the windows machine. I have the following: uid = 0 gid = 0 use chroot = false strict modes = false hosts allow = 192.168.1.150 log file = rsyncd.log # Module definitions # Remember cygwin naming conventions : c:\work becomes /cygwin/c/work # [test] path = /cygdrive/c/Users/John/"My Pictures"/ read only = true transfer logging = yes Again the problem is the fact that there are spaces in the path. The folder c:\Users\John\My Pictures\ does exist on the machine. I've read quite a few posts with similar issues but haven't seen a solid solution yet.
  7. I don't know about the fan controller that yannis mentioned but I do know that there are some pwm fans that you can stop from spinning. Not all pwm fans will stop when commanded to zero. I know the Delta fan that I have will and the Cooler Master fan I have won't.
  8. Now I'm having trouble with the spaces in the path /mnt/user/photobackups/My Pictures/. I had this issue before but I just eliminated the spaces from my test directories. That is not really a solution because I don't want to have to rename all my existing directories. I've tried all of the variations below and it still won't work? root@Tower:/etc/cron.hourly# rsync -avP --delete --chmod=Fo-X 192.168.1.152::tes t1 /mnt/user/photobackups/My Pictures/ Unexpected local arg: /mnt/user/photobackups/My If arg is a remote file/dir, prefix it with a colon (. rsync error: syntax or usage error (code 1) at main.c(1207) [receiver=3.0.2] root@Tower:/etc/cron.hourly# rsync -avP --delete --chmod=Fo-X 192.168.1.152::tes t1 "/mnt/user/photobackups/My Pictures/" @ERROR: chdir failed rsync error: error starting client-server protocol (code 5) at main.c(1495) [rec eiver=3.0.2] root@Tower:/etc/cron.hourly# rsync -avP --delete --chmod=Fo-X 192.168.1.152::tes t1 '/mnt/user/photobackups/My Pictures/' @ERROR: chdir failed rsync error: error starting client-server protocol (code 5) at main.c(1495) [rec eiver=3.0.2] root@Tower:/etc/cron.hourly# rsync -avP --delete --chmod=Fo-X 192.168.1.152::tes t1 /mnt/user/photobackups/My\ Pictures/ @ERROR: chdir failed rsync error: error starting client-server protocol (code 5) at main.c(1495) [rec eiver=3.0.2] root@Tower:/etc/cron.hourly# rsync -avP --delete --chmod=Fo-X 192.168.1.152::tes t1 /mnt/user/photobackups/My"\" Pictures/ I think I will look into the -b and --backup-dir options. I like the thought of having older versions of files for maybe a month or so. But first thing for me is to get the automation working the way I need it to, then I can play with the options. I never imagined that I would need to do so much experimenting with test files - silly me. EDIT: I'm such a noob. All the options I tried did work - well at least the space in the path wasn't the problem. The first error was a result of the space in the path but the rest of them were a problem with the test1 module I've created. I'm not sure what's wrong with it yet but I'll have to look into it. Also, I found that /mnt/user/photobackups/"My Pictures"/ syntax works as well.
  9. I added the --chmod=Fo-X option to the command and now the .exe files are visible in windows explorer. Thanks so much. I'm actually beginning to like the CLI. I have another question. I assume that only one rsync instance can be running at a time between the client and the server. Is this correct? For example, if I wanted to backup c:/users/Ziggy/Downloads/ and c:/users/Ziggy/My Pictures/ I would have to write a single script like this: #!/bin/bash rsync -avP --delete --chmod=Fo-X 192.168.1.152::test /mnt/user/photobackups/Downloads/ rsync -avP --delete --chmod=Fo-X 192.168.1.152::test1 /mnt/user/photobackups/My Pictures/ Where rsyncd.conf defines test as /cygdrive/c/Users/Ziggy/Downloads/ and test1 as /cygdrive/c/Users/Ziggy/My Pictures/. I could then place the script into /etc/cron.daily/ and it should execute a backup once a day of the two folders, first test and then test1. Is that correct?
  10. The command I used was rsync -avP --delete 192.168.1.152::test /mnt/user/photobackup I've been running more tests and I've determined that the files are there but for whatever reason I cannot see them in windows explorer. I can see all the files if I use the file browser in unmenu.
  11. Is that just a personal preference or is there reason using cwrsync as a client on the windows pc is superior? It was rsyncd.conf. I added the uid & gid = 0 to the file and it worked. I used rsync -avP --delete and it worked fine, except it did not copy any of the files that were in the source folder that had a .exe extension. I was thinking that it would be an exact duplicate of the source but it wasn't. I guess I'll need to start experimenting with the options. Thank you for all your assistance.
  12. Well now when I setup a scheduled task in Deltacopy it does not execute so I've decided to abandon that method and use cwrsync. My plan is to create a script that will wake my windows pc and then run a rsync job on the server. I'll load the script as a cron job so it'll run regularly. Does this make sense? I found this post where WeeboTech posted a compiled version of ether-wake. I copied the file onto my flash drive and I can now wake my windows machine over the LAN. I also installed cwrsync server onto my windows machine. I then modified the rsync.conf file on the windows machine and added a "test" module. Here are the contents of the rsync.conf file: use chroot = false strict modes = false hosts allow = * log file = rsyncd.log # Module definitions # Remember cygwin naming conventions : c:\work becomes /cygwin/c/work # [test] path = /cygdrive/c/Users/John/Downloads read only = true transfer logging = yes As a test I tried to run rsync from the server and copy the contents of c:/Users/John/Downloads to the photobackups share on the server. Here is the command I used: rsync -v -rlt -z --chmod=a=rw,Da+x --delete 192.168.1.152::test /mnt/user/photobackups/ I received the following response: root@Tower:~# rsync -v -rlt -z --chmod=a=rw,Da+x --delete 192.168.1.152::test /m nt/user/photobackups/ @ERROR: invalid uid nobody rsync error: error starting client-server protocol (code 5) at main.c(1495) [rec eiver=3.0.2] I also tried this command thinking I needed to have a user account identified on the windows pc: rsync -v -rlt -z --chmod=a=rw,Da+x --delete [email protected]::test /mnt/user/photobackups/ But I got the same error as before. What am I doing wrong here?
  13. Ok. I'll check that out. I assume there is a way to make the script wake up the client PC if it is in sleep mode (S3). Sounds like it's time to do some more reading.
  14. If you know of a better way to backup files from a windows machine to the server then I'm all ears. I just want to automate the process of backing up my photos to the server. I was using only the "Display Run Command" option. I tried the "Run Now" method and it worked with my test file. I knew I was doing something really dumb. Now let's see if it'll work as a scheduled task. Thanks a lot for the help!
  15. I'm only copying a single file right now to make sure everything works properly. I did try copying over the directory I actually plan on backing up and I got the same result. /mnt/user/photobackups is completely empty. I manually created a Documents folder in /mnt/user/photobackups just to see if that made a difference and it did not. Here are the contents of /var/log/rsync.log (192.168.1.151 is the IP address of the client PC I'm copying from): 2011/09/01 22:34:21 [1578] name lookup failed for 192.168.1.151: Name or service not known 2011/09/01 22:34:21 [1578] connect from UNKNOWN (192.168.1.151) 2011/09/01 22:34:21 [1578] module-list request from UNKNOWN (192.168.1.151) 2011/09/01 22:35:11 [1580] name lookup failed for 192.168.1.151: Name or service not known 2011/09/01 22:35:11 [1580] connect from UNKNOWN (192.168.1.151) 2011/09/01 22:35:11 [1580] module-list request from UNKNOWN (192.168.1.151) 2011/09/01 22:35:13 [1581] name lookup failed for 192.168.1.151: Name or service not known 2011/09/01 22:35:13 [1581] connect from UNKNOWN (192.168.1.151) 2011/09/01 22:35:13 [1581] module-list request from UNKNOWN (192.168.1.151) 2011/09/01 22:47:56 [1883] name lookup failed for 192.168.1.151: Name or service not known 2011/09/01 22:47:56 [1883] connect from UNKNOWN (192.168.1.151) 2011/09/01 22:47:56 [1883] module-list request from UNKNOWN (192.168.1.151) 2011/09/02 16:58:47 [20828] name lookup failed for 192.168.1.151: Name or service not known 2011/09/02 16:58:47 [20828] connect from UNKNOWN (192.168.1.151) 2011/09/02 16:58:47 [20828] module-list request from UNKNOWN (192.168.1.151) 2011/09/02 16:59:08 [20893] name lookup failed for 192.168.1.151: Name or service not known 2011/09/02 16:59:08 [20893] connect from UNKNOWN (192.168.1.151) 2011/09/02 16:59:08 [20893] module-list request from UNKNOWN (192.168.1.151) 2011/09/02 17:39:55 [25142] name lookup failed for 192.168.1.151: Name or service not known 2011/09/02 17:39:55 [25142] connect from UNKNOWN (192.168.1.151) 2011/09/02 17:39:55 [25142] module-list request from UNKNOWN (192.168.1.151) 2011/09/02 17:39:57 [25143] name lookup failed for 192.168.1.151: Name or service not known 2011/09/02 17:39:57 [25143] connect from UNKNOWN (192.168.1.151) 2011/09/02 17:39:57 [25143] module-list request from UNKNOWN (192.168.1.151) Based on the timestamps I believe that all these messages are generated when I'm creating the profile in Deltacopy. When I actually run the profile nothing is documented in the log file. Instead I get the message in the Deltacopy window that I attached in my previous post that says it completed successfully.
  16. Well I've searched all over the unraid forums and the web and I can't seem to find any answer. Hopefully someone will help me out?
  17. I've followed all the instruction in the infamous Tibbar & WeeboTech rsync thread. I am running deltacopy client on my windows 7 desktop and I'm trying to backup photos from that machine onto my unraid server. Here is my /boot/custom/etc/rsyncd.conf file uid = root gid = root use chroot = no max connections = 4 pid file = /var/run/rsyncd.pid timeout = 600 log file = /var/log/rsyncd.log [photobackups] path = /mnt/user/photobackups comment = photobackups read only = FALSE list = yes And the contents of /boot/custom/etc/rc.d/S20-init.rsyncd #!/bin/bash if ! grep ^rsync /etc/inetd.conf > /dev/null ; then cat <<-EOF >> /etc/inetd.conf rsync stream tcp nowait root /usr/sbin/tcpd /usr/bin/rsync --daemon EOF read PID < /var/run/inetd.pid kill -1 ${PID} fi I setup a new profile named temp to test out the system and here is the response I get Executing: rsync.exe -v -rlt -z --chmod=a=rw,Da+x --delete "/cygdrive/C/Users/John/Documents/motherboard_manual_ga-ma790gp-ud4h_e.pdf" "192.168.1.150::photobackups/Documents/motherboard_manual_ga-ma790gp-ud4h_e.pdf" Profile 'temp' executed in 2 milliseconds. It ran successfully. The only problem is that there are no files in my photobackups share. I'm guessing that I don't have the path to my share setup correctly but it looks right to me. I've also attached a screenshot of the deltacopy profile I created. Any ideas? Thanks in advance.
  18. If you are looking for a serious 120mm fan I'd suggest you take a look at a Delta PWM fan. I have one in my server and just let me say that it can move a HUGE amount of air at full speed. The biggest reason I got the fan is because I can command the fan to zero speed with my fan speed script and it will actually stop turning. This seems funny but not all PWM fans will stop when commanded to zero speed. So since my server is in the basement the fan is off most of the time and only kicks in when my one of my drives temp rises above 33C.
  19. I had the same idea a while ago when I setup HDD temp based fan control but I think the problem that most users are going to have is finding enough fan controllers on their MB to control the different groups. I have a Supermicro C2SEE MB and there a quite a few 4-pin pwm fan headers but I believe they are all attached to the same controller. I think there are options for additional fan controllers but I didn't like the idea of adding additional hardware to the system.
  20. Holy crap, I had no idea there were so many UPS manufacturers!
  21. You can expand your array with ANY drive you wish. You won't see any practical difference between using a WD20EARS drive or the 5K3000, or the equivalent Seagate or Samsung models. That is one of the many benefits of using unRAID.
  22. If you want to avoid having a USB flash drive sticking out of the box you can purchase an adapter that converts a USB header on the MB to a type A USB connector. Here is an example ... Koutech USB 2.0 Header-Pin to Dual Type-A adapter Model IO-UU220
  23. I'd try the PCI NIC. Adding more RAM isn't going to fix the problem, it might delay the onset of the issue but eventually you'll run out of space. The analogy here is a leaking roof. If your roof was leaking would you fix the roof (fix the NIC) or would you just put a bigger bucket in the house to catch the water (add more RAM)?
  24. Exactly, it was a pricing mistake, so why not just say that instead of providing a bogus claim that the item is out of stock. When I placed my order I assumed that there was less than a 0.1% chance that they'd actually fulfill the order. I'm not complaining because they didn't sell it to me, I'm complaining because they weren't truthful about why they didn't ship the item.
  25. Just because the drives are brand new does not mean they are good drives. I have had several brand new drives that I had to send back for replacement. One of the drives would not even complete the preclear operation because it was generating so many errors. Take a look at this thread: Preclear.sh results - Questions about your results? Post them here. If you read through all 71 pages you'll see that there are lots of users who get new drives that turn out to be bad or at least they are highly suspect.