loadme

Members
  • Posts

    164
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed

Recent Profile Visitors

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

loadme's Achievements

Apprentice

Apprentice (3/14)

0

Reputation

  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