loadme

Members
  • Posts

    164
  • Joined

  • Last visited

Everything posted by loadme

  1. thanks I will do so. And are there lately any official announcements if such a feature will follow or not?
  2. Hey guys, following up on this 18 month old feature request for having native hot spare support http://lime-technology.com/forum/index.php?topic=14254.0 I wanted to ask you if its already possible, to setup a disc as hot spare when you only have a single free disc slot meant for a cache drive and all other slots are already used by unraid. Since I found quite a lot helpful how-tos in this forum, maybe I oversaw one for hot spare functionality? The search didnt bring up anything useful for me. any hint is highly appreciated. cheers!
  3. you mentioned in your main post, that there have been rumors about this feature a while ago. any updates?
  4. THANKS! at first I tried to backup the flash drive and windows wasnt able to copy "secrets.tdb" everything else worked. I never thought of good old chkdsk, but after your hint.. I ran it on the flash drive, it found out that a sector of secrets.tdb was broken and cut it of. cause of the damaged file was probably an unclean shutdown, because the system hang up when shutting it down and after a minute I pressed the power button for 5sec Lets see if this was enough to get it back up running. again many thanks!
  5. Hey folks, I added another disk to my unraid server and out of the sudden, the network shares (SMB) are not working. Within the webGUI everything seems to work fine. I can also access disk data and share data via the webGUI After looking at the doc, I found a lot of entries, looking like this one: Dec 28 10:54:45 server logger: cp: cannot create regular file `/boot/config/secrets.tdb': Read-only file system So I guess the usb flash drive is set to read only. I checked the usb flash drive and couldnt find any mechanical switch. Also I didnt change anything besides adding another SATA drive. does unraid needs write rights to the flash to set up the smb shares after a fresh boot? that would explain why they are no longer available. the whole server is not available to the network another strange log entry: Dec 28 10:54:42 server kernel: write_file: error 30 opening /boot/config/super.dat Dec 28 10:54:42 server kernel: md: could not write superblock from /boot/config/super.dat Do you guys have any idea on what I could check next?
  6. hey guys, thanks for the tips i followed your links and was able to install the ntfs driver benni, just a quick feedback. when using "installplg" on your drive_mount.plg file, it tells me that my certificate for github is invalid from the rest of the telnet output i think, it worked anyways. still, it would be good if you could write down a quick manual. i finally found your plugin in the settings panel in simpleFeatures. really helpful but it informs me, that creating a share from it is not yet available? also, if you find the time, maybe provide an example input for the paths ("mount directory" and "SMB share") for people like me and regarding the device detection: the ntfs raid5 is already detected by unraid after booting up thanks so far!
  7. I was on rc5 and tested a lot. Most of it is summarized and written down above Of course I need to use the VPN connection to access the media share remotely which is why I am currently back on unraid 4.7
  8. hey there, given the different file systems from windows/linux, is it possible to navigate to the contents of a disk, that is initialized by unraid but not yet assigned to an array? i was thinking about how to migrate data from a raid controller with a raid-5 raid on it. this controller and its raid5 are already recognized by unraid and i hoped, that there is an easy way to use midnight commander to copy its data onto the unRAID disks (trying to avoid to swap/outsource the data into the network) regards, loadme
  9. The sleep plugin isn't working properly. It was reported many pages of posts ago, easy to overlook. I had to put the sleep script activation back in my go file for now. could you share your sleep script with us? Mine just wont work at all and I am to much noobie, to debug it on my own. I would appriciate your help. Cheers
  10. thanks for the suggestions. Again, it is caused by unraid 5.0 rc8a, since I didnt changed anything else in the environment. Also, removing the VPN connection would disconnect the two networks. It worked just fine with 4.7 and now that I moved back from 5.0 to 4.7, it works just fine again. So what ever it is, it is caused by unraid 5.0-rc8a
  11. You haven't specified what settings you are using within the script itself, chances are the conditions are not met to start the sleep condition. I would advice to use the sleep plugin which comes with SimpleFeatures. It allows easy configuration of the conditions when sleep needs to kick in. Yes probably. I would love to use simple features again (here the s3 sleep script worked perfectly!), but I cant use unraid 5.0 rc8a for other reasons (http://lime-technology.com/forum/index.php?topic=23669.0) My sleep script looks like this (and its taken 1:1 from the forum post, with a small change in the ticks timeout i think-> for testing) #!/bin/bash # constants yes="yes" no="no" DATE=$(date) # [CONFIGURATION] # before going to sleep intrnlTimeoutTicks=1 # ticks after HDD spindown before checking for external activity extrnlTimeoutTicks=1 # ticks of no external activity before sleep; only after spindown+internal countdown # control of internal timeout checkHDDs=$yes # check if all HDDs are parked before counting down towards sleep noCountdownHours="" # only countdown towards sleep outside these hours # example: <noCountdownHours="07 08 19 20"> # always countdown: <noCountdownHours=""> # control of external timeout checkTCP=$no # check for TCP activity pingIPs="$no" # do not sleep if <$pingsIPs> are pingable # example: <pingIPs="192.168.1.4 192.168.1.5"> # no ping-check: <pingIPs=""> # after waking up from sleep doDhcpRenewal=$no # <$no> for servers w/static IP address forceGb=$yes # might not be needed; probably always safe # [/CONFIGURATION] # implementation stuff ticklengthSecs=60 # probe hardware + count down every minute/60secs, aka a tick noTCP='0.00' # what constitutes absence of TCP activity flash=/dev/`ls -l /dev/disk/by-label| grep UNRAID | cut -d"/" -f3 | cut -c 1-3` # automatic id of flash drive check_hour() { echo $(date +%H) } check_HDD_activity() { 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 } check_TCP_activity() { if [ "$checkTCP" = $yes ] then TCP=$(bwm-ng -o csv -c 1 -d 0 -T avg | grep eth0 | cut -d";" -f5) else TCP="$noTCP" fi echo "$TCP" } check_IP_status() { mp_online=$no # initialize to "no" until we learn otherwise # ping each of the media servers to determine if online if [ ! "$checkIPs" = $no ]; then for i in "$pingIPs" do # ping the media server; if it answers, it is online out=`ping -q -c 1 $i 2>/dev/null` rec_count=`echo "$out" | grep received | cut -d " " -f4` if [ "$rec_count" -eq 1 ] then mp_online=$yes # if one is online, we do not need to ping # any others, break out of the "for" loop. break; fi done fi echo $mp_online } pre_sleep_activity() { echo "$DATE - Stopping services and sleeping" # Stop SMB /etc/rc.d/rc.samba stop # Stop NFS /etc/rc.d/rc.nfsd stop # Stop AFP /etc/rc.d/rc.atalk stop # Stop AVAHI /etc/rc.d/rc.avahidaemon stop /etc/rc.d/rc.avahidnsconfd stop # Syncing Filesystems sync } post_sleep_activity() { echo "$DATE - Starting services and waking" # Force NIC to use gigabit networking if [ "$forceGb" = $yes ] then ethtool -s eth0 speed 1000 fi # Force a DHCP renewal (shouldn't be used for static-ip boxes) if [ "$doDhcpRenewal" = $yes ] then /sbin/dhcpcd -n fi # Start SMB /etc/rc.d/rc.samba start # Start NFS /etc/rc.d/rc.nfsd start # Start AFP /etc/rc.d/rc.atalk start # Start AVAHI /etc/rc.d/rc.avahidaemon start /etc/rc.d/rc.avahidnsconfd start beep -f660 -l 100ms -D 100ms beep -f660 -l 100ms -D 140ms beep -f660 -l 120ms -D 150ms beep -f510 -l 100ms -D 100ms beep -f660 -l 120ms -D 160ms beep -f770 -l 100ms -D 575ms beep -f380 -l 150ms -D 575ms } # main intrnlCountdown=$intrnlTimeoutTicks extrnlCountdown=$extrnlTimeoutTicks while [ 1 ] do # do not countdown during certain hours hour=`check_hour` hourMatch=$(echo "$noCountdownHours" | grep "$hour" | wc -l) if [ $hourMatch -eq 0 ] then # count number of HDDs that are not parked HDDact=`check_HDD_activity` if [ "$HDDact" -eq 0 ] then # tick-tock for time since last spindown if [ $intrnlCountdown -gt 0 ] then intrnlCountdown=$[$intrnlCountdown-1] fi else # reset countdown, following HDD activity intrnlCountdown=$intrnlTimeoutTicks extrnlCountdown=$extrnlTimeoutTicks echo "$DATE - Hard Drives active, resetting counter" | logger fi if [ $intrnlCountdown -le 0 ] then # check for persistent external activity TCPact=`check_TCP_activity` IPping=`check_IP_status` if [ "$TCPact" = $noTCP -a "$IPping" = $no ] then if [ $extrnlCountdown -le 0 ] then # Do pre-sleep activities pre_sleep_activity sleep 5 # Go to sleep echo -n mem >/sys/power/state # Do post-sleep activities post_sleep_activity sleep 5 intrnlCountdown=$intrnlTimeoutTicks extrnlCountdown=$extrnlTimeoutTicks else # tick-tock for persistent external activity if [ $extrnlCountdown -gt 0 ] then extrnlCountdown=$[$extrnlCountdown-1] fi fi else # reset countdown, following external activity extrnlCountdown=$extrnlTimeoutTicks fi fi fi # Wait a tick sleep $ticklengthSecs done It never goes to sleep automatically. I have to fire the sleep script from the unMenu scripts page manually
  12. sounds fairly similar, to what I experienced. Although locally it worked, but remote access on the unraid server showed this behavior with unraid 5.0 rc8a (and worked fine under 4.7) http://lime-technology.com/forum/index.php?topic=23669.0
  13. did you read my posts above? :-) Unraid 4.7 worked in every way as I expected it to do Unraid 5 works perfect, if I just want to copy files from unraid (LAN 1) to a remote computer (LAN 2) but if I open bigger unraid 5 files (videos) remotley from LAN 2, it takes 30-50 seconds before it even starts (unraid 4.7 did this instantly). And directly afterwards it starts to stumble. I already monitored the bandwith and while unraid 4.7 sends in full possible bandwith (~0.8 MB/sec), unraid 5.0 rc8a sends 0.5MB/s for a second, than idles for a couple of seconds and then repeats to send a bit. I really hope limetech can help here. Even if it wasnt on the radar yet and is considered a bug report, thats fine. I just need confirmation that you are aware of it. If there is any more need for testing, I would be glad to help cheers
  14. unraid itself is untouched. I only "paired" the fritzboxes on both sides (http://www.fritzbox.eu/en/products/FRITZBox_Fon_WLAN_7390/index.php), so now both networks are directly connected by a permanent VPN connection and the fritzboxes take care of the data transfer. within this network you can access the remote devices from every machine by using their local ip adresses but as said above, everything else works except opening files on the unraid server (i.e. opening video clips with VLC )from remote VPN connected devices. unraid4.7 on the other hand doesnt have this limitation. everything works just fine.
  15. This blocks me and probably others from using unraid 5.0 via VPN. please forgive me the push, I am really eager to figure this one out.
  16. Hey there. regarding speeding_ants sleep script http://lime-technology.com/forum/index.php?topic=13063.msg123929#msg123929 i placed it under /boot/sleep/s3.sh in /boot/config/go I added the line: nohup /boot/sleep/s3.sh & everything as described in the topic. I also slightly changed the tick timeouts for testing purpose: intrnlTimeoutTicks=1 extrnlTimeoutTicks=1 afterwards I rebooted the server but it never goes to sleep automatically. how can i check, if its even running? s3 worked fine under unraid 5.0-rc8a (simpleFeatures) and also the unMenu default "sleep" script instantly puts the server to s3. #ethtool eth0 also brings up WAKE-ON: g
  17. I found an easy way of dealing with this issue. go to your flash drive (boot) edit the file boot/packages/mail-ssmtp-unmenu-package.conf on line 21 or so.. you will find your password settings. it needs to look like below: PACKAGE_VARIABLE Mail Password||vAUTH_PASS=YOUR_PASSWORD||... paste it there. save the file. check "install on reboot" for the mail package in unmenu and reboot your server. it worked well with my & special character and hopefully with $ and "" as well cheers
  18. i just add my experience as the same thing happened to me as well. my password starts with an $ and i got the same error. on the unmenu settings page for the mail client i entered my passwort, i.e. $1mypassword11, and it was saved as mypassword11 then i changed my gmail password only to get this done. i removed all $ and only added a & as a special character. when i now save the password, the & is replaced by ||vAUTH_PASS=|| is there some way to escape special characters here?
  19. After using the "put server to s3 sleep" script thats build in with unMenu, the server went down, automatically woke up and its log showed tons of cmds and errors like this: Nov 17 12:20:34 Tower kernel: sh R running 0 3685 3306 0x00000000 Nov 17 12:20:34 Tower kernel: c136221b c136221b 00000000 f6cbbe28 f6c8def0 00000000 00000000 f6cbbe54 Nov 17 12:20:34 Tower kernel: c1005820 00000000 c136221b f6cbbe78 c101ee81 c134b316 00000000 00000e65 Nov 17 12:20:34 Tower kernel: 00000cea 00000000 f6c8def0 f6c8def0 f6cbbe8c c101eec7 000007d0 00000064 Nov 17 12:20:34 Tower kernel: Call Trace: (Errors) Nov 17 12:20:34 Tower kernel: [<c1005820>] ? show_stack+0x13/0x17 (Errors) Nov 17 12:20:34 Tower kernel: [<c101ee81>] ? sched_show_task+0x8e/0x98 (Errors) Nov 17 12:20:34 Tower kernel: [<c101eec7>] ? show_state_filter+0x3c/0x71 (Errors) Nov 17 12:20:34 Tower kernel: [<c10439d8>] ? try_to_freeze_tasks+0x158/0x21b (Errors) Nov 17 12:20:34 Tower kernel: [<c1043ab3>] ? freeze_processes+0x18/0x79 (Errors) Nov 17 12:20:34 Tower kernel: [<c1043d09>] ? enter_state+0x7c/0xd9 (Errors) Nov 17 12:20:34 Tower kernel: [<c1043d7f>] ? pm_suspend+0x19/0x1f (Errors) Nov 17 12:20:34 Tower kernel: [<c114c134>] ? acpi_suspend+0x3c/0x58 (Errors) Nov 17 12:20:34 Tower kernel: [<c114c7e8>] ? acpi_system_write_sleep+0x54/0x66 (Errors) Nov 17 12:20:34 Tower kernel: [<c114c794>] ? acpi_system_write_sleep+0x0/0x66 (Errors) Nov 17 12:20:34 Tower kernel: [<c1099fdc>] ? proc_reg_write+0x56/0x6a (Errors) Nov 17 12:20:34 Tower kernel: [<c1099f86>] ? proc_reg_write+0x0/0x6a (Errors) Nov 17 12:20:34 Tower kernel: [<c106cac4>] ? vfs_write+0x8c/0x116 (Errors) Nov 17 12:20:34 Tower kernel: [<c106cfcf>] ? sys_write+0x3b/0x60 (Errors) Nov 17 12:20:34 Tower kernel: [<c1002935>] ? syscall_call+0x7/0xb (Errors) is this something to worry? or should i ignore them?
  20. switched back to 4.7 today and VPN file access works well again.. it really has something to do with the 5.0 any idea?
  21. I manually spin all discs up for the access tests. Also I didnt change the settings from 4.7 to 5.0 and never used anything different than default values for this. Hopefully someone can enlighten me here.