Jump to content

trurl

Moderators
  • Posts

    43,970
  • Joined

  • Last visited

  • Days Won

    137

Everything posted by trurl

  1. I really like my Q25B, but this case is sexy! I have had as many as 7 drives in my Q25B but right now I am just using the 5 hotswaps plus an SSD for cache. 8 hotswaps would really be ideal for a plus license, since it would allow one extra for preclearing or mounting outside the array. I will probably resist this temptation for a while at least since I don't really need the space but I won't be surprised if I go ahead and buy it without justification when it becomes more readily available.
  2. Similar to mine. I had to update BIOS too. All of my bays are full and I have an SSD cache drive so I am also using all SATA ports. I went with a different processor in case I wanted to do some of the more advanced virtualization. You should unbundle your SATA cables. They can interfere with each other (crosstalk) if they are running parallel for long stretches.
  3. Looks like I need this for System Temp to work on my new mobo. Can anyone build it from source?
  4. Dynamix has replaced SimpleFeatures and it has a webserver for unRAID v5.
  5. Sounds like you have SimpleFeatures installed or maybe Dynamix. These are not compatible with the Limetech "new" webGUI, which is the subject of this thread. Go read the Dynamix thread to get stats and health set up.
  6. You do know that folder is in RAM? Anything written there will not survive reboot.
  7. In v5, if you make the folder part of a cache-only share it won't be moved even if it doesn't start with a dot (.)
  8. unRAID has a RAM filesystem where all of its operating system files are kept. When unRAID boots it unpacks all of its operating system files from bzroot and keeps them in RAM. Since bzroot is not altered to reflect any changes to these operating system files, they will all be restored to the original from bzroot when you reboot. This is why anything stored in any of the usual linux operating system folders does not survive a reboot. In general, anything not in /boot (your flash drive) or /mnt (actual disks or shares on those disks) is in RAM. Anything stored in these locations will persist after reboot. This is why some people add code to the go script to alter operating system files every time they reboot. I have code in my go script which alters /etc for example. You can put those packages in /boot/extra and they will be automatically installed on boot. Add the other script to the script in /boot/config/go (like I have just done. Thanks for this)
  9. Not sure I understand your problem. If you want guests to be able to read/write a share make it Public. If you want guests to only be able to read a share make it Secure. If you don't want guests to have any access to a share make it Private. You can also make shares hidden so it can't be seen when you browse. The only way to get to these is to specify the path. Are you anticipating guests accessing your server from: One of your computers using your Windows user? Using one of your computers using a separate Windows user? Using their own computer using their own Windows user? Some other scenario I haven't imagined? Where is a workaround required?
  10. I have used every scenario Tom describes here, including referring to the server by IP to get a different login to my server. I can confirm that it all works just as described for me.
  11. I've been using this for pre-clears since my case is full and I have one sata port left over: eSATA enclosure This particular one even came with an eSATA bracket
  12. Go back to page 73 of this thread for more discussion of these parameters. I was trying to do 3TB. Increased -b parameter is what you need. Did that but did not find anything concerning a -b parameter... Since there does appear to be a relation with these parameters (I conclude this from your reply) I will take my chances and do the preclear without the extra parameters, if only to see if that makes the difference.. Sorry, wrong thread. Try this instead. When I tried it on 3TB with the defaults (no parameters) I ran out of memory. The originally suggested -b 200 parameter was too conservative and caused it to be very slow. -b 256000 was suggested and I stopped mine during post-read and restarted it like this.
  13. Go back to page 73 of this thread for more discussion of these parameters. I was trying to do 3TB. Increased -b parameter is what you need.
  14. The emails are sent to the same address the system notification emails are sent. This can be setup in the simplefeatures email notify plugin. There is also an unMenu package but I don't use that method anymore since I upgraded from 4.7
  15. Working for me. At first I tried to increase the size but I closed the page before it finished and that didn't work so I tried again and waited for it and it works. Thanks
  16. What Joe said. Linux "screen" lets you reconnect if the session dies. Preclearing With Screen There is also a plugin.
  17. Longer answer: Because the OS is running completely in RAM (this includes any "files" in the usual places, such as /etc/sudoers) any changes you make in the running OS is lost when you reboot. To make a change that will survive a reboot, you need to make the system make those changes for you each time it boots. This is usually done in /boot/config/go script file which is run automatically after the system boots.
  18. I ran the new version twice this afternoon and can report that log packaging and cleanup is working as intended. Both times rsync completed without errors so I haven't really tested what happens when it fails but at least it looks like I managed to get all of my filenames cleaned up. After the first run I didn't get an email so I looked at the script again and noticed that there was no email for success (I just love getting notifications from my unRAID) so I put in an email on success before the second run and that worked too. One thing that didn't work was Dropbox. After each run I waited for the log to show up in my Dropbox but it was stuck on the unRAID side. I think Dropbox had probably crashed due to OOM or something. A lot of OOM going around these days as people try to squeeze more apps into their server. I tried to restart Dropbox from the webGUI but that resulted in SAMBA crashing as well and I had to reboot. I didn't bother to capture the syslog. I don't know if the size of the rsync log (about 16MB on each run) had anything to do with this or not since I am not really clear on all this Linux memory management, low memory, swap, etc. I do have a swap file and 4GB RAM. I will investigate further if it continues to be a problem.
  19. OK. I have been playing with this some more today. Ran it a few times while trying to fix the filenames. The first thing I tried was fixing the filenames in my source files. Then I noticed that it seemed to have created some of the bad filenames on my destination so I deleted all of those. The last run it seemed to complete without error. I think at least some of the errors may have been due to trying to do the compare on the NTFS volume rather than the copy from the array. I tweaked the script a little with some copy/paste so I could get an email and a log package on both success and fail. I am running it again to test. I also set my logdir to my Dropbox (thanks for the plugin) so I could access it after I got the email. It is appending the log rather than creating a new one and that was a little confusing at first as I was trying to fix some things I had already fixed because they were coming up in a search of the log. Also, the log is still hanging around in /tmp after completion and it can get large. I deleted it from /tmp and the old logs in my logdir. Might need some more work to get it to quit appending and clean up the old log in /tmp. rsync_backup_to_external.sh.txt
  20. What version of unRAID are you using? 5.0rc8a What is your unRAID locale set to? (issue "locale" from command line) That command gives a bunch of lines but they are all set to "en_US.UTF-8" What is the method/command you're using to mount your Offsite disk to /mnt/user/Backups/Offsite? It has been mounted for several days so I don't have that command line handy anymore but I took it from this wiki page: Mounting an external USB drive having an existing NTFS file system in READ/WRITE mode to transport files from/to unRaid server so it must have been something like: mkdir /mnt/user/Backup/offsite mount -t ntfs-3g -o umask=111,dmask=000 /dev/sdc1 /mnt/user/Backup/offsite Thanks for the new version. The previous one did indeed only do dry-run. I don't entirely understand the code but it looks like the log only gets packaged if rsync is successful. In any case I had to go find it in /tmp instead of $logdir/$logname. Anyway... After staying up way too late beating my head against the wall I have determined that there are only a few files affected by this problem (thanks to the log). There are plenty of other files (my wife has some "world" music in her iTunes) with "foreign" characters that are not affected by this problem. It seems the main thing the problem files all have in common is that they were all downloads and so were originally created on some other system. I have been trying to rename them from Windows but that doesn't seem to work very well. I even tried to retag one of the files in MediaMonkey and that didn't work either. Even though these filenames are displayed "correctly" (whatever that means in this context) in Windows, Windows does not seem to be able to tell unRAID what file it is talking about when it asks unRAID (or SAMBA) to manipulate the file. I am going to try renaming these few files from the unRAID (linux) command line in PuTTY, then I will try the new version of the script. Thanks
  21. I ran your new script with dry-run="" verbose="true" email="true" I go the error email again with the return code this time: Error: rsync exited with non-zero return code (23), please check backup status. The log file did not appear in the place I had specified. I found it instead in /tmp Looking through the logfile I found several files were not copied. It is the same problem I had before. 2012/12/10 21:12:43 [5846] rsync: recv_generator: failed to stat "/mnt/user/Backup/offsite/Rick/Music/Lossy/Steve Hackett/Momentum/12 ~ Bourée.mp3": Invalid or incomplete multibyte or wide character (84) When I try to ls this file in PuTTY it comes out as 12 ~ Bour?e.mp3 Apparently some of the filenames with special characters are copying OK and others are not. When I thought my problem had gone away it was just because I had not chosen the right example to test. Don't know how these got named in the first place. I will see if I can rename them to something that works and try again.
  22. My offsite backup using your script completed. It looks like it successfully did all 830GB in two of my user folders, which is what I intended for it to do. For some reason it sent me the "rsync exited with a non-zero return code" email and I don't see any log file. Here is the "user variables" section in my script. This is the only section I made any changes to. ###################################################################### # DEFINE USER VARIABLES ###################################################################### # set global date var logdate=$(date +%d-%m-%y) # define the source location. must end in slash to work correctly source=/mnt/user/ # define target backup location target=/mnt/user/Backup/offsite # define rsync include file name / location rsyncincludes=/boot/scripts/rsync_include_list # define log dir logdir=/mnt/user/Backup/logs # define log name as composite of static text and logdate variable logname=rsync_offsite_log_$logdate.tgz rsync_include_list is Mary/*** Rick/*** I'm not up to speed yet on bash scripting. /mnt/user/Backup is a share where I put backup images. This is where I did my ntfs-3g mount and also where I pointed my logdir. It is on a separate disk from the user shares in my rsync_include_list. None of these shares are cached. Let me know if you would like me to try anything else. Thanks
  23. That is the ntfs-3g I have always used as well. I just tried this with some of my existing files that had been giving me problems and it worked for me too. It's been a while since I last tried this and I have made a lot of changes but none that I thought should have fixed the problem I used to have. I upgraded unRAID from 4.7 to 5.0rc8a and installed a lot of plugins but it's not obvious that has anything to do with it. The only other change that seems like it might be relevant is I changed the translation in PuTTY to utf-8 from its default of ISO-8859-1. I say this because translating these was exactly what I was coming up with in my research of this problem, but relative to ntfs-3g and rsync, not relative to PuTTY. I thought translation setting in PuTTY would only affect the way things got displayed, not the way they worked. I don't know but it looks like my problem might be solved. I will try a full offsite backup using your script and see what happens. Just started your script and it appears to be working beautifully. My offsite backup will be about 500GB so won't know until later if my problem files get transferred or not. Thanks again.
×
×
  • Create New...