-
Posts
10620 -
Joined
-
Days Won
51
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Posts posted by CHBMB
-
-
Hi,
My UnRAID server has now progressed from being a novelty to an absolute necessity. Should my house burn down it would be among the items I'd be rushing to save!
Hence I have decided I need an offsite backup.
My plan is to have a complete clone of my server.
For example each disk in the array is an identical image in each server.
That way even if I lose 2 disks in one array, and can't rebuild the data I only have to copy the files from my offsite backup.
All new data to be copied to the server will be contained on the cache disk so I can remove that and manually copy the files to my offsite backup.
Can anyone help with getting this going? Ideally I'd like not to use windows as I've found copying large amounts of data through windows sometimes is a little unreliable.
Thanks
Neil
-
Recently bought 3 Samsung F4s, all updated with the new firmware.
First two precleared and the only attribute that was changed was the temperature.
The third disk had Raw Read Error Rate, Hardware ECC Recovered and Multizone Error Rate all changed from 252 to 100 and UDMA CRC Error Count changed from 200 to 100.
Should I be concerned?
I should probably add, I've now got a niggling doubt that I didn't update the firmware on this drive but will before putting it to use.
Logs of preclear for that drive attached below.
preclear_start__S2H7JD2B227368_2011-05-26.txt
-
Thanks Raj,
Haven't added them to an array yet, just stuck them in some spare slots on my server and run preclear, so haven't yet selected the MBR 4K option. Good to know I'm on the right path though.
Neil
-
Just got hold of a couple of these drives, have updated the firmware and am planning to use them in a new server build for my off site back ups.
I think I know the answer but I am right to Preclear with the -A switch aren't I? Am planning on using 5.0b6a which I have been using for a while without problems on my other server.
Also would it be correct to use the MBR 4k aligned option?
Cheers
Neil
Cheers
Neil
-
I've received it already and it looks pretty good, but it will be a while until I get the rest of the bits so can't give a better critique yet!
-
Building a second UnRAID server for off site backup purposes. Couldn't find another coolermaster centurion 590 but found this, haven't seen one before nor heard it mentioned, so ordered one.
Had a quick look, still not got all the stuff for my build but first impressions are it's a great case for the money.
http://www.sharkoon.com/?q=en/node/1858
http://www.ebuyer.com/product/262923
-
Will that script prevent new files written to the array from being affected?
Cheers for the suggestion, will give it a go
Neil
-
Have a small problem with my file permissions when I'm copying files to my UnRAID array. Currently using 4.7
It results in the new files not being seen by Sickbeard and my HTPC.
I have got round it by using the script here
http://lime-technology.com/forum/index.php?topic=10064.0
but was wondering if there was a way to enable all files to have the permissions set as default.
There was a button on one of the 5.xb releases that did this but would love not to have to intervene at all.
After a bit of reading think this may involve a smb-extra.conf file but as a linux newb I have very little idea of what to put in there.
Can anyone give me any help please
Thanks
Neil
-
I believe the username and password are stored in plain text in the config.ini file. Makes it pretty easy to just open the file and figure out the issue.
Peter
Thanks Peter,
That worked a treat, weirdly it seems to have taken a username and password I use for a website login, wondering if it's a firefox issue?
-
Yeah already upgraded it. Can't access it anymore to update it again.
-
Small problem here, installed Sickbeard (Am working up to the others) all working well but now am getting prompted for a username and password when I try to login to http://server:8081
Get this error report
401 Unauthorized You are not authorized to access that resource In addition, the custom error page failed: ValueError: invalid literal for int() with base 10: '401 Unauthorized' Traceback (most recent call last): File "/mnt/cache/_sickbeard/cherrypy/_cprequest.py", line 657, in respond self.hooks.run('before_handler') File "/mnt/cache/_sickbeard/cherrypy/_cprequest.py", line 99, in run hook() File "/mnt/cache/_sickbeard/cherrypy/_cprequest.py", line 59, in __call__ return self.callback(**self.kwargs) File "/mnt/cache/_sickbeard/cherrypy/lib/auth_basic.py", line 86, in basic_auth raise cherrypy.HTTPError(401, "You are not authorized to access that resource") HTTPError: (401, 'You are not authorized to access that resource')
Anybody got any ideas? Have updated Sickbeard via the link in the application and it has been running fine.
I'm a linux newb so not really sure where to go from here. Has done it before so I just started from scratch to resolve it. Don't really want to have to do that again.
Thanks
Neil
-
I've got a
SiL3132
http://www.maplin.co.uk/pci-express-dual-esata-dual-internal-sata-ports-221494
with a SIL3726 Port Multiplier connected to it.
http://www.addonics.com/products/host_controller/ad5sapm.asp
Coupled with the six SATA ports on my Motherboard gives me 12 sata drives.
1 from the SiL3132 and 5 from the PM.
Working fine for me.
-
Same ol story. Updated to 4.7, samsung drive reports too small. Went back to 4.6 and am going to wait until the expensive program I bought can fix the problem. I am tired of patching program errors. Did I buy into a hobby program or a professional program? I am glad the program works good as is and I guess I will not update.
Post a fix subject title in the forum that THE program can fix this problem and I will try again.
Thanks
Try WHS, I've got a copy you can have for 1/2 price! Complete with all manner of problems and workarounds, but with a lovely looking interface, of course the support is nowhere near as good as here and the updates are few and far between, but the new version (Vail) removes the most useful features and thereby removing the bugs.
Honestly I can't fault the support here and the frequent updates and fantastic user community. Hands up those of us that have had a BSOD with a MS product, do you start accusing Mr Gates of producing a "Hobby program" I don't see how Tom can be held responsible for a problem created by a hardware manufacturer who forces functionality and alters a drive characteristics whether you want it to or not.
-
I agree, it would be a bad idea, especially for a beginner, especially since it has only been out for a few days. 4.7 is a MUCH better version for your production use at this time.As I am beginner to unraid it is unwise to use beta 4 on my production server?
Most of us doing the testing have 5.0b4 on a second server, one used for testing.
I'm using 5.0b4 on my sole setup, BUT do have all my data backed up, so if it all went horribly wrong I can just recopy 6TB of data to a fresh array.
Having said that it seems to work fine and as long as you're careful I think it's ok, oddly I'd never in a million years dream of using MS beta software in the same fashion.
I'm still having a problem with permissions though in this version, the new script works fine, but if I create a directory in my cache drive although it will show up in my shares I cannot access it from two of my PCs. Rerunning the permissions script fixes the issue though. It may be the way I'm using the cache drive though and I'm not sure if I've tried copying directly to the user share which would in effect just do what I'm doing anyway automatically.
I'm loving the new 5.0 UnRAID though, truly wonderful. Just got to get as sleep script working, install the final version of 5.0 when it's released and then leave well alone.
Neil
Still having some problems with permissions, create folders on the server, copy data to it via a cache drive and then can only access it on my main PC, not my laptops or HTPC.
I don't have any security settings on any shares at all. Basically wide open full access to anyone on my home network.
-
do you have bwm-ng installed?
What happens when you run the script in the foreground using the -xv option of the shell?
Invoke it in a telnet window as
sh -xv s3.sh
and watch as variables are evaluated.
The method to go to sleep in 5.0b4 is DIFFERENT than in earlier versions of unRAID. If the s2ram is using the wrong method, the server will not go to sleep
Joe L.
Yep, got bwm-ng installed
Used sh -xv s3.sh and watched carefully, everything was working up until the point it was supposed to go to sleep and it stated that libx86-1.1-i486-1.tgz wasn't installed. So added the line
installpkg /boot/packages/libx86-1.1-i486-1.tgz
to my go file and hey presto, seems to be working now.
Thanks Joe. Never would have done it without your help.
Neil
-
Hate to say this, but NO version of unRAID officially supports S3 sleep. It is apparently on the future feature list here in some form, but there are SO many different buggy implementations in various BIOS I doubt if it will ever be consistent.
See here: http://download.lime-technology.com/develop/infusions/aw_todo/task.php?id=18
The description is listed for 5.? (not even 5.1):
Power management features:
- "official" support of S2 standby. In the past this has been unreliable because of bios issues in many motherboards. Probably a lot more stable now.
The method to put a server to sleep in the linux kernel used in 4.6 is different than in the 4.7 version. The button in unMENU will no longer work and I've not had any opportunity to update it to detect the difference and use the correct command since there have been so many issues and changes I've needed to deal with in the 4.7 and 5.0-beta releases.
I've personally never gotten S3 sleep to wake up successfully on the C2SEE Motherboard that lime-tech uses. It is not important to me to spend a lot of time on since my server is up 24/7 anyway. (It will go to sleep, but never wake up)
Good luck, but with different motherboards needing different techniques to restore video and network connectivity after waking, it will on be a trial-and-error basis. Do not hold your breath waiting for lime-tech.
It is not that 5.0beta2/3/4/? do not support S3 sleep... none "officially" do.
Joe L.
Thanks Joe,
I understand that it's not officially supported, my problem is that I've got s3 working fine, just have a problem with the script I originally posted so it never goes into s3 sleep. My server is only used for streaming so makes perfect sense for it to be asleep for large portions of the day/week.
Still hoping someone could be kind enough to look at my script and advise!
-
I agree, it would be a bad idea, especially for a beginner, especially since it has only been out for a few days. 4.7 is a MUCH better version for your production use at this time.As I am beginner to unraid it is unwise to use beta 4 on my production server?
Most of us doing the testing have 5.0b4 on a second server, one used for testing.
I'm using 5.0b4 on my sole setup, BUT do have all my data backed up, so if it all went horribly wrong I can just recopy 6TB of data to a fresh array.
Having said that it seems to work fine and as long as you're careful I think it's ok, oddly I'd never in a million years dream of using MS beta software in the same fashion.
I'm still having a problem with permissions though in this version, the new script works fine, but if I create a directory in my cache drive although it will show up in my shares I cannot access it from two of my PCs. Rerunning the permissions script fixes the issue though. It may be the way I'm using the cache drive though and I'm not sure if I've tried copying directly to the user share which would in effect just do what I'm doing anyway automatically.
I'm loving the new 5.0 UnRAID though, truly wonderful. Just got to get as sleep script working, install the final version of 5.0 when it's released and then leave well alone.
Neil
-
Has anyone approached you with a solution yet? I'm interested in this as well, because I have a strong desire to work on putting my server to sleep at night.
Montr has kindly given some input and another angle for me to try, but due to work pressures haven't yet given it a go. There is plenty of information on the forum and I've done my best to digest it as much as possible but just need some help with this last bit.
I can recommend having a good read of http://lime-technology.com/forum/index.php?topic=3657.0
It certainly helps, as you can read in my first post there are essentially three different commands to get your server to go to sleep depending on what version of UnRAID you're using and whether your MB works with each one. I have had to use the s2ram method, which does work beautifully for me, however the other two methods were somewhat unreliable on my hardware causing my box to hang when resuming requiring a dirty reboot and recheck of parity afterwards.
-
First, I am new to Linux. I did not try to understand your change to original S3.sh.
Here is how I use my server. The server is only use for backup and restore. The server is always asleep except that I have a task on a PC (Win 7 64b) at 1:59 AM everyday to wake up the server using WOL. At 2:00 AM, another task start the backup.
If I need to use the server at other time, I have on my PC a icon that I click to send a WOL to the server. When the server is running and after the disk spin down, the server is sending a ping every minutes to the PC. If the PC is responding, the server is not allow to enter sleep.
I included my S3.sh as an example
Thank you, when I have a little more time I will try your script, like the functions available in the one I already have but I think it may be useful to try a different approach and see if that works.
-
Ooops didn't attach the s3.sh file as it wasn't allowed, now renamed it s3sh.txt and it's below
EDIT: Now using 5.0b4
-
Hi everyone,
New UnRAID user here. Came from using WHS but became frustrated and fed up of my HD movies stuttering over my homeplug network so migrated to an UnRAID pro setup.
Still have my WHS array so my data is safe so for that reason I am using the 5.0b3 release.
Have to say I'm very very impressed. With the help of the forums here and the wiki so far I've got UnRAID up and running, installed unMENU, apcupsd, AirVideo to stream stuff to my iPhone, Bandwidth Monitor NG, iStat, UnRAID status alert sent hourly via e-mail and monthly parity check, pci utils, SMART tools and Clean Powerdown.
Never thought I'd get that far as I'm a linux newbie!
Now I'm having problems with S3 sleep, Can't get it working at all with the default
echo -n mem >/sys/power/state
command. No problems, went down the S2Ram route instead.
Can telnet into my UnRAID server and use the command
/boot/custom/bin/s2ram -f
Which works beautifully and responds faultlessly to WOL from any of my other PCs or my iPhone.
However I'm trying to use the S3.sh script that has been posted in the forums here and this is where I'm stuck.
I have a number of PCs on my network but actually the only one I'm really interested in is my HTPC and don't want my server to go to sleep if it's either on or preferably if it's streaming. Most of the HTPC use is for Live TV which is all driven locally via MediaPortal and For The Record.
The IP address of my UnRAID box is 192.168.1.1 and my HTPC is 192.168.1.3, I have DHCP enabled on my Router (WNDR3700) but all my PCs are on reserved IP addresses therefore essentially static.
The script is residing in the boot\custom\bin\ folder and is called s3.sh and s2ram is in the same directory. I have installed libx86-1.1.10i486 and my go file includes the line
/boot/custom/bin/s3.sh & #| at now + 1 minute
I've attached my s3.sh file and would be most grateful if anyone who is a little more experienced at Linux than me could take a look and tell me why it's not working. (I have edited it in EditPad Lite using the Unix LF format) I have left the configuration going for over 24 hours now but my UnRAID box has a severe case of insomnia.
Thanks for any help and I've also included my syslog as well (although I have just rebooted my server after turning DHCP off in my UnRAID configuration.
ATB and Thanks to the UnRAID Team for such a superb piece of software.
Neil
-
If you have installed the s2-ram , then you need to change the script
Replace echo -n 3 > /proc/acpi/sleep or echo -n mem >/sys/power/state with /boot/custom/bin/s2ram -f -p -m
You perhaps need to change the folder to where you have installed the s2-ram
More info here -> http://lime-technology.com/forum/index.php?topic=3657.msg50365#msg50365
And add the below line to your go file, but remember to change your path to the script
/boot/custom/bin/s3_notHrHdTcpIp.sh & #| at now + 1 minute
Thanks Peter,
One thing that confuses me is that if I probe the HDDs then do I need to alter the lines
if [ $checkHDDs = $yes ] then # probe the flash drive at your peril HDDs=$((for d in $(ls /dev/[hs]d? | grep -v "$flash"); do hdparm -C $d | grep active ; done) | wc -l) else HDDs=0 fi echo $HDDs
If so how do I get round the problem of the drives being allocated different sd values each time I reboot?
-
Yes, it has been replaced.
To go to sleep, the following worked on my server
echo -n mem >/sys/power/state
Of course, I've never been able to wake it up, but I've always been able to put it to sleep.
I can confirm that S3 is working on my server with the command Joe stated above,tested 2 times.
//Peter
I want to say that my suspend an waking have been working great during the last week, using this script s3_notHrHdTcpIp.sh
I can't get sleep working with the new comand but then again I couldn't get it working with the old one. Finally discovered s2ram and installed it and all is working perfectly.
Just need to get a script together now to automate it all.
Peter is there a chance you could upload yours so I could have a look please, I'd really appreciate it if you gave me some directions on how to use it too.
EDIT: Just seen your post above!!! Ignore me, sorry!
ATB
Neil
PS. Am I the only one finding the interface with 5.0b3, especially when using unMENU, a lot more responsive.
-
Try the following command, it will take a while to finish.
/usr/local/sbin/newperms
It should also be noted that there's still a slight issue if it's invoked directly on a share or file with a space in the name. The fix is to place double-quotes "" around $1 on line 11 as such:
if [ -e "$1" ] ; then
Worked great for me too, had some share problems with some of my PCs but not others, this has sorted it all out.
EDIT: Created a new folder in my Movies share with my Windows 7 desktop, but was unable to access it on any of the other PCs on my network. Rerunning usr/local/sbin/newperms fixed the issue. Very much looking forward to the next beta release and eventually the stable version 5,
Backup to duplicate offsite UnRAID server.
in General Support (V5 and Older)
Posted
I'm not planning on doing anything remotely. Currently they are both attached to the same network hub in my house and that's how I plan to do the initial backup. After that I will do it manually by taking my cache drive to the offsite backup server (Will be at my parents house) and manually copying the data across there.
Does that make things a little easier?
Thanks for the reply.