<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>My Book World Edition (blue rings) (new threads)</title>
		<link>http://mybookworld.wikidot.com/forum/c-14332/my-book-world-edition-blue-rings</link>
		<description>Threads in the forum category &quot;My Book World Edition (blue rings)&quot; - A place to discuss and share ideas for modifying the MBWE existing Linux installation. Post here if you don&#039;t know where to post.</description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-201797</guid>
				<title>Help Downgrading Firmware</title>
				<link>http://mybookworld.wikidot.com/forum/t-201797/help-downgrading-firmware</link>
				<description>Upgraded firmware, now Mac user has priviledge problems...</description>
				<pubDate>Fri, 04 Dec 2009 06:36:11 +0000</pubDate>
				<wikidot:authorName>pauldays</wikidot:authorName>				<wikidot:authorUserId>411675</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Can someone make me a link so I can access from my web browser to validate a downgrade of my firmware. My Mybook world (1TB) was fine with 01.01.18, after 2.00.18, when copying files, I get "not enough permissions" error. I'm using it as a shared drive for my Macbook, and I believe the new firmware has wiped the NTFS</p> <p>Thanks,</p> <p>Paul</p> <p><span class="wiki-email">moc.oohay|1syadluap#moc.oohay|1syadluap</span></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-201697</guid>
				<title>How to copy and verify CRC for large amount of files between MBWE and an NTFS external USB drive?</title>
				<link>http://mybookworld.wikidot.com/forum/t-201697/how-to-copy-and-verify-crc-for-large-amount-of-files-between-mbwe-and-an-ntfs-external-usb-drive</link>
				<description>How to copy and verify CRC for large amount of files between MBWE and an NTFS external USB drive?</description>
				<pubDate>Thu, 03 Dec 2009 18:27:08 +0000</pubDate>
				<wikidot:authorName>wxppro</wikidot:authorName>				<wikidot:authorUserId>300728</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi there,</p> <p>I cannot seem to find instructions on how to do this effectively. I would appreciate it very much if someone can give me a helping hand.</p> <p>I have a MBWE II (Blue Ring) 1.5TB, configured in RAID 1, so the capacity is 750GB. I have a large amount of files on it including both small and large sized ones. The largest file size is 25GB. I need to copy all of them to an external USB hard drive (1.5TB, formatted in NTFS).</p> <p>I tried to do this using a Windows 7 PC with a backup software called ViceVersa. It has CRC verification function. What I found is that quite a few times the software reports CRC error (only for large files at GB size). The reason is either network is not found or incorrect function. The USB hard drive is a new drive and I know it is fine.</p> <p>I was wondering whether there are some other ways for me to copy and verify a large amount of files? Is it possible to copy via the built-in USB interface on MBWE? And sometime later, I need to copy from the USB hard drive back to MBWE. Is there a linux command does copy and verify easily?</p> <p>Thanks in advance.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-200876</guid>
				<title>network conflict with 2 mbwe</title>
				<link>http://mybookworld.wikidot.com/forum/t-200876/network-conflict-with-2-mbwe</link>
				<description>have 2 units both upgraded from 500gb to 1.5tb. used mybook clone to do it. perfect and works. trouble is cannot have them both on together</description>
				<pubDate>Mon, 30 Nov 2009 20:32:21 +0000</pubDate>
				<wikidot:authorName>morpheus75</wikidot:authorName>				<wikidot:authorUserId>402477</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>hi<br /> i have 2 mbwe 500gb and i upgraded both to 1.5tb drives using mybook clone. problem is i messed up one unit so used the 500gb drive from the second unit to upgrade the drives in both units. individually i they work perfectly and i was able to give them individual names and ip addresses. proble is when both are on the network at the same time, both appear and are accessible but when i start playing a movie file it works for about 30 secs then freezes, then it goes in fast forward mode for about 30 seconds before playing again. it will play for abut another 30 secs before loosing network connection.<br /> i cannot figure out what is wrong and was thinking along the lines that maybe there is an identifier on the hdd itself which has been cloned onto both drives? i am assuming that the mac address is hard-coded into the circuitry so therefore will not be affected by the clone? any help is greatly appreciated please.<br /> thanks for your help.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-200837</guid>
				<title>MyBook WE and WD TV Live HD Media player?</title>
				<link>http://mybookworld.wikidot.com/forum/t-200837/mybook-we-and-wd-tv-live-hd-media-player</link>
				<description>How to get media files from MyBook WE?</description>
				<pubDate>Mon, 30 Nov 2009 17:21:54 +0000</pubDate>
				<wikidot:authorName>Freshman</wikidot:authorName>				<wikidot:authorUserId>42501</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>I've bought WD TV Live Media Player few days ago:<br /> <a href="http://www.westerndigital.com/en/products/Products.asp?DriveID=735">http://www.westerndigital.com/en/products/Products.asp?DriveID=735</a></p> <p>Like with WD MyBook few years ago I have certain software problem with new WD toy.<br /> But this is for another discussion.</p> <p>Question is: is it possible to connect such a media player to MyBook? Do I need some<br /> media servers to be running on it?</p> <p>Br,<br /> Vitali</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-200596</guid>
				<title>resize data partition</title>
				<link>http://mybookworld.wikidot.com/forum/t-200596/resize-data-partition</link>
				<description>Trying to resize the data partition but MBWE bricks...</description>
				<pubDate>Sun, 29 Nov 2009 13:19:42 +0000</pubDate>
				<wikidot:authorName>Stefferd</wikidot:authorName>				<wikidot:authorUserId>409168</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi folks</p> <p>At first thanks to all of you to contribute to this wiki, i had a MBWE two disk version and someone gave it to me without disks, thanks to this wiki it's alive again.<br /> But not totally alive, since I created a problem on it.</p> <p>Some background info: It's a two disk MBWE for which I bought two disks of 1&nbsp;TB.<br /> I did the recovery procedure, but I wanted to make sure that the device wasn't dead before I bought the disks, so i reinstalled on a single 160GB disk to test if it was still working. And it was, after the procedure it booted with a 160GB data partition.<br /> So I bought the two 1TB disks and installed the first one in the working system, making it rebuild. That also worked. Then I took the 160&nbsp;GB disk out and installed the second 1TB disk. Still all seems to work.<br /> In the hope that firmware 2.0.0.18 adds a resize capability to the interface I upgraded to this firmware, but nope - no resize option…</p> <p>So i have tried to take one disk out again, working on a single one. The theory behind it is that if I manage to make the first disk get the full size of the partition, i will completely empty the second disk and make it rebuild.</p> <p>I fixed a pc with Ubuntu 9.10 Desktop, and apt-getted MDADM, inserted the disk in it, deleted the fouth partition, remade it with cfdisk and put it into "fd - raid autodetect " mode, formatted it with</p> <div class="code"> <pre> <code>mkfs.ext3 - m 0 /dev/sdb4</code> </pre></div> <p>When I put the disk back in, the MBWE bricks, doesn't even get into boot mode anymore. the drive rumbles a bit when initialising, but stops and just clicks now and then with a fixed interval.</p> <p>Now I probably will have to do something with mdadm, but i am not an mdadm-hero</p> <p>Is somebody willing to help me with what I have to do to make the MBWE work again withe the one disk, so I can put the second disk in again and let it rebuild? I allready searched the forum for "resize disk" and some more search terms, but I don't seem to find a solution.</p> <p>Thanks in advance,</p> <p>Stefferd</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-200250</guid>
				<title>Replace WD MBWEII (Blue Ring) 1TB (2x500GB) with 2x1.5TB Non-Raid</title>
				<link>http://mybookworld.wikidot.com/forum/t-200250/replace-wd-mbweii-blue-ring-1tb-2x500gb-with-2x1-5tb-non-raid</link>
				<description></description>
				<pubDate>Fri, 27 Nov 2009 18:44:15 +0000</pubDate>
				<wikidot:authorName>MyLastWord</wikidot:authorName>				<wikidot:authorUserId>406782</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I am planning to put aside 2 functional working WD500GB (Raid-0) in WD MBWEII and replace them with 2x1.5TB or even 2x2TB WD drives.<br /> I don't want to put them in Raid-0 (non-Raid) or in Raid-1 (reduce capacity) nor as I understand correctly, can't be in linear-Raid (&gt;2TB) because of limitation of the processor in MBWEII bluering being 32bit processor. So I am willing to use them as 2 independent drives with 2 PUBLIC shares. The questions are:</p> <p>1) This is possible right?<br /> 2) Do need all 4 partions to be created and restored on each drive?</p> <p>I have been reading up on most subjects regarding Backup Image, Restore procedure and Install Clean HDD, but seem to be lost &amp; confused most of the time. Seem that some have try this by mistake by procedure cut&amp;paste below and exactly is what I want. This would work right?</p> <p>Thank you for reading….</p> <p><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">- cut &amp; paste -</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>—-<br /> In order to be able to use my 2 disks, i modified my file /etc/fstab to mount the /dev/sdb4 in /shares/internal2 which i created especially for (and created a PUBLIC2 inside to reconize the shared disk easily).</p> <p>and i modified the samba /var/oxsemi/shares.inc configuration file adding :</p> <p>[PUBLIC]<br /> path=/shares/internal/PUBLIC<br /> force user=www-data<br /> valid users=www-data ANGEL<br /> write list=www-data ANGEL<br /> guest ok=Yes<br /> [PUBLIC2]<br /> path=/shares/internal2/PUBLIC2<br /> force user=www-data<br /> valid users=www-data ANGEL<br /> write list=www-data ANGEL<br /> guest ok=Yes</p> <p><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">- end cust &amp; paste -</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>—</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-200198</guid>
				<title>Alternative spindown and temperature script</title>
				<link>http://mybookworld.wikidot.com/forum/t-200198/alternative-spindown-and-temperature-script</link>
				<description></description>
				<pubDate>Fri, 27 Nov 2009 14:30:57 +0000</pubDate>
				<wikidot:authorName>sacamante</wikidot:authorName>				<wikidot:authorUserId>82549</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I recetly had a disk failure, so I had to replace one of the disks. I put a new seagate 500GB disk, and the MyBook gets quieter. So I decided to remove also the other and mount the 2 Seagate. However, a side effect of not using WD disks is that the check temperature command with smartctl wakes up the disks (so smart_spindown is always waking up). I also saw that the temp monitor program output was always 0ºC. I do not know if this is normal or the original WD temp monitor works only with WD disks. So, I needed a custom script for temperature monitor.</p> <p>After working with the existing ones for smart_spindown and temperature monitor, I finally wrote my own one based on them. It is called smart_control, and it includes:<br /> - spindown<br /> - temperature/fan control<br /> - change blue ring leds<br /> - monitor RAID1 status</p> <p>For using it, you need to mount the ramdisk in /mnt/ramdisk, as explained in other posts, and locate there all files which can wake up the disks from standby (logs, locks, …).</p> <p>You need also to disable the wdc temperature and leds programs in /etc/init.d (I do it in the start script of my smart_control script, so wdc programs are run the first time to do some initialisation, and then I stop them and start mine automatically).</p> <p>This version has not been tested much, and some temperature thresholds may not be correct (only tested with my Seagate disks and in winter). Therefore, I recommend to use this script only to people with solid knowledge of MyBook hacking, because it may still have some bug which could cause temperature problems, for example.</p> <p>Maybe it is useful for some people not fully satisfied with the WD tools and the existing custom scripts. If anyone make fixes or improvements, it would be great to make them available for all…</p> <p>Here is the main script /etc/init.d/smart_control.sh</p> <div class="code"> <pre> <code>#!/bin/bash # # smart_control # # Script to manage the NAS temperature and disk spin-down # # Development partially reusing smart_spindown # ################################################################### # # Configuration # # Disk(s) to monitor. # If you have only one disk, leave DISK2 empty DISK1=sda DISK2=sdb # Temperature thresholds (celsius) TEMP_50=40 TEMP_100=45 TEMP_RANGE=1 TEMP_ALARM=50 # Time to keep fan working after disk spin down (in seconds) KEEP_FAN=300 # Spin down timer in seconds SPINDOWN_TIME=7200 # Loop frequency (time to wait in seconds) WAIT_TIME=60 # Output levels. Level 2 is verbose, level 1 is normal output. # Enable all levels you would like to see. OUTLEVEL1=true OUTLEVEL2=false # Decide which output to use. Useful if run in daemon mode # echo or logger # output1 is logged to normal, output2 to debug syslog # Is PID of this shell logged? OUTPUT1="/etc/init.d/echolog /mnt/ramdisk/smart_control.log" OUTPUT2="/etc/init.d/echolog /mnt/ramdisk/smart_control.log" ######################################################################### # # Functions # # Fan speed functions function set_fan_speed { $OUTLEVEL2 &amp;&amp; ${OUTPUT2} " Set fan to $1" echo $1 &gt; /sys/devices/platform/wdc-fan/speed CURRENT_FAN_SPEED=$1 } function fan_speed { cat /sys/devices/platform/wdc-fan/speed } # Leds functions LEDS_DIR=/sys/class/leds function set_leds { $OUTLEVEL2 &amp;&amp; ${OUTPUT2} " Set leds to status $1" if [ "$1" = "standby" ]; then echo 0 &gt; $LEDS_DIR/wdc-leds:activity/brightness echo 0 &gt; $LEDS_DIR/wdc-leds:power/brightness fi if [ "$1" = "active" ]; then echo 255 &gt; $LEDS_DIR/wdc-leds:activity/brightness echo 255 &gt; $LEDS_DIR/wdc-leds:power/brightness fi if [ "$1" = "temp_alarm" ]; then echo 255 &gt; $LEDS_DIR/wdc-leds:over-temp/brightness fi if [ "$1" = "no_temp_alarm" ]; then if [ $(cat $LEDS_DIR/wdc-leds:over-temp/brightness) -ne 0 ]; then echo 0 &gt; $LEDS_DIR/wdc-leds:over-temp/brightness fi fi if [ "$1" = "raid_nominal" ]; then if [ $(cat $LEDS_DIR/wdc-leds:degraded/brightness) -ne 0 -o $(cat $LEDS_DIR/wdc-leds:rebuilding/brightness) -ne 0 ]; then echo 0 &gt; $LEDS_DIR/wdc-leds:degraded/brightness echo 0 &gt; $LEDS_DIR/wdc-leds:rebuilding/brightness fi fi if [ "$1" = "raid_fail" ]; then echo 255 &gt; $LEDS_DIR/wdc-leds:degraded/brightness echo 0 &gt; $LEDS_DIR/wdc-leds:rebuilding/brightness fi if [ "$1" = "raid_build" ]; then echo 0 &gt; $LEDS_DIR/wdc-leds:degraded/brightness echo 255 &gt; $LEDS_DIR/wdc-leds:rebuilding/brightness fi } # Temperature functions function current_max_temp { # Get temps TEMPERATURE_DISK1=$(smartctl -d ata -A ${DEVNAME1}|grep Tempera|cut -c 88-90) if [ "$DISK2" ] ; then TEMPERATURE_DISK2=$(smartctl -d ata -A ${DEVNAME2}|grep Tempera|cut -c 88-90) else TEMPERATURE_DISK2=0 fi # Return the max if [ $TEMPERATURE_DISK1 -ge $TEMPERATURE_DISK2 ]; then echo $TEMPERATURE_DISK1 else echo $TEMPERATURE_DISK2 fi } function required_fan_speed { if [ $1 -ge $TEMP_100 ]; then echo "100" return fi if [ $1 -le $(($TEMP_50 - $TEMP_RANGE)) ]; then echo "0" return fi if [ $CURRENT_FAN_SPEED -eq 0 ]; then if [ $1 -ge $TEMP_50 ]; then echo "50" else echo "0" fi return fi if [ $CURRENT_FAN_SPEED -eq 100 ]; then if [ $1 -le $(($TEMP_100 - $TEMP_RANGE)) ]; then echo "50" else echo "100" fi return fi echo "50" return } # Check if there has been any activity in the disks since last check function check_disk_activity { STAT_DISK1=$(cat /sys/block/$DISK1/stat |awk '{ print $1; }') if [ "$DISK2" ]; then STAT_DISK2=$(cat /sys/block/$DISK2/stat |awk '{ print $1; }') else STAT_DISK2=0 fi echo "$STAT_DISK1 $STAT_DISK2" return } # Function to check array status function check_array { MDSTAT_FILE=/proc/mdstat MDSTAT_FILTER=$(cat $MDSTAT_FILE | grep -A 2 "^$1 :" ) RAID_ACTIVE=$(echo $MDSTAT_FILTER | grep -c "active raid1") TWO_DISKS=$(echo $MDSTAT_FILTER | grep -c "\[2/2\]") IN_RECOVERY=$(echo $MDSTAT_FILTER | grep -c "recovery") if [ $RAID_ACTIVE -eq 1 -a $TWO_DISKS -eq 1 -a $IN_RECOVERY -eq 0 ]; then echo "nominal" return fi if [ $RAID_ACTIVE -eq 1 -a $IN_RECOVERY -eq 1 ]; then echo "build" return fi echo "fail" return } # # Initialise # # Device name(s) for the disk(s). DEVNAME1=/dev/$DISK1 [ "$DISK2" ] &amp;&amp; DEVNAME2=/dev/$DISK2 [ -z "$DISK2" ] &amp;&amp; DEVNAME2= # Make sure the stuff we use is in the cache. true false sleep 1 # Log the end of script execution trap "$OUTPUT1 'Exiting.'" EXIT # Initial message $OUTLEVEL1 &amp;&amp; ${OUTPUT1} "---------------------------------------------" $OUTLEVEL1 &amp;&amp; ${OUTPUT1} "---------------------------------------------" $OUTLEVEL1 &amp;&amp; ${OUTPUT1} "SMART CONTROL started" if [ "$DISK2" ] ; then $OUTLEVEL1 &amp;&amp; ${OUTPUT1} "Smart control for disks $DISK1 and $DISK2." ; else $OUTLEVEL1 &amp;&amp; ${OUTPUT1} "Smart control for disk $DISK1." ; fi ; # Initalise internal variables DISK_STATUS=unknown QUIET_LOOPCOUNT=0 STANDBY_LOOPCOUNT=0 CURRENT_FAN_SPEED=$(fan_speed) LAST_DISK_ACTIVITY="0 0" ARRAY_STATUS="nominal" # # Main loop # while [[ /sbin/true ]]; do $OUTLEVEL2 &amp;&amp; ${OUTPUT2} " ---" $OUTLEVEL2 &amp;&amp; ${OUTPUT2} " Loop Standby: $STANDBY_LOOPCOUNT / Quiet: $QUIET_LOOPCOUNT" # Actions which depend on the status hdparm -C $DEVNAME1 $DEVNAME2 | grep active &gt;/dev/null if [ "$?" == "0" ] ; then # There are active disks $OUTLEVEL2 &amp;&amp; ${OUTPUT2} " Active status" # Check if there is a status transition to reconfigure if [ "$DISK_STATUS" != "active" ]; then $OUTLEVEL1 &amp;&amp; ${OUTPUT1} "Disks went to active" DISK_STATUS=active QUIET_LOOPCOUNT=0 LAST_DISK_ACTIVITY="0 0" set_leds active fi # Check temperature and set fan speed / alarm led CURRENT_TEMP=$(current_max_temp) $OUTLEVEL2 &amp;&amp; ${OUTPUT2} " Current max disk temperature: $CURRENT_TEMP" NEEDED_FAN_SPEED=$(required_fan_speed $CURRENT_TEMP) $OUTLEVEL2 &amp;&amp; ${OUTPUT2} " Current fan speed: $CURRENT_FAN_SPEED / Required: $NEEDED_FAN_SPEED" if [ $CURRENT_FAN_SPEED != $NEEDED_FAN_SPEED ]; then $OUTLEVEL2 &amp;&amp; ${OUTPUT2} " Set fan speed to $NEEDED_FAN_SPEED" set_fan_speed $NEEDED_FAN_SPEED else $OUTLEVEL2 &amp;&amp; ${OUTPUT2} " No need to change fan speed" fi if [ $CURRENT_TEMP -gt $TEMP_ALARM ]; then $OUTLEVEL1 &amp;&amp; ${OUTPUT1} "Temperature alarm detected!" set_leds temp_alarm else $OUTLEVEL2 &amp;&amp; ${OUTPUT2} " No temperature alarm" set_leds no_temp_alarm fi # Check disk activity DISK_ACTIVITY=$(check_disk_activity) $OUTLEVEL2 &amp;&amp; ${OUTPUT2} " Current disk activity: $DISK_ACTIVITY , prev: $LAST_DISK_ACTIVITY" if [ "$DISK_ACTIVITY" = "$LAST_DISK_ACTIVITY" ]; then # No activity QUIET_LOOPCOUNT=$(($QUIET_LOOPCOUNT+1)) $OUTLEVEL2 &amp;&amp; ${OUTPUT2} " No disk activity" else # Activity detected QUIET_LOOPCOUNT=0 $OUTLEVEL2 &amp;&amp; ${OUTPUT2} " Disk activity detected" fi LAST_DISK_ACTIVITY=$DISK_ACTIVITY # Check if needed to spin down the disk QUIET_TIME=$(($QUIET_LOOPCOUNT*$WAIT_TIME)) $OUTLEVEL2 &amp;&amp; ${OUTPUT2} " $QUIET_TIME seconds of quiet" if [ $QUIET_TIME -ge $SPINDOWN_TIME ]; then $OUTLEVEL1 &amp;&amp; ${OUTPUT1} "Go to spin down after $QUIET_TIME seconds of quiet" true false sleep 1 # echo 1 &gt; /proc/sys/vm/block_dump sync set_leds standby hdparm -q -y $DEVNAME1 $DEVNAME2 DISK_STATUS="standby" STANDBY_LOOPCOUNT=0 sleep 5 fi # Count loops in active STANDBY_LOOPCOUNT=0 else # Disks are in standby $OUTLEVEL2 &amp;&amp; ${OUTPUT2} " Standby status" # Check for status transition to reconfigure if [ "$DISK_STATUS" != "standby" ]; then $OUTLEVEL1 &amp;&amp; ${OUTPUT1} "Disks went to standby" DISK_STATUS=standby STANDBY_LOOPCOUNT=0 set_leds standby fi # Stop the fan if [ $(($WAIT_TIME*$STANDBY_LOOPCOUNT)) -gt $KEEP_FAN ]; then if [ $(fan_speed) -gt 0 ]; then $OUTLEVEL1 &amp;&amp; ${OUTPUT1} "Stop fan in standby status" set_fan_speed 0 else $OUTLEVEL2 &amp;&amp; ${OUTPUT2} " Fan already stopped" fi else $OUTLEVEL2 &amp;&amp; ${OUTPUT2} " Waiting to stop fan" fi # Count loops in standby STANDBY_LOOPCOUNT=$(($STANDBY_LOOPCOUNT+1)) QUIET_LOOPCOUNT=$(($QUIET_LOOPCOUNT+1)) fi # Actions which are done in any status # Check the RAID health if [ "$DISK2" ]; then NEW_ARRAY_STATUS="$(check_array md1) $(check_array md2) $(check_array md3) $(check_array md4)" $OUTLEVEL2 &amp;&amp; ${OUTPUT2} " Arrays status: $NEW_ARRAY_STATUS" if [ "$NEW_ARRAY_STATUS" = "nominal nominal nominal nominal" ]; then if [ "$ARRAY_STATUS" = "nominal" ]; then $OUTLEVEL2 &amp;&amp; ${OUTPUT2} " RAID status nominal" else $OUTLEVEL1 &amp;&amp; ${OUTPUT1} "RAID 1 problem recovered, now nominal" ARRAY_STATUS="nominal" fi set_leds raid_nominal else if [ $(echo $NEW_ARRAY_STATUS | grep -c build) -gt 0 ]; then if [ "$ARRAY_STATUS" = "build" ]; then $OUTLEVEL2 &amp;&amp; ${OUTPUT2} " RAID status rebuilding" else $OUTLEVEL1 &amp;&amp; ${OUTPUT1} "RAID 1 problem rebuilding" ARRAY_STATUS="build" fi set_leds raid_build else if [ "$ARRAY_STATUS" = "fail" ]; then $OUTLEVEL2 &amp;&amp; ${OUTPUT2} " RAID failure" else $OUTLEVEL1 &amp;&amp; ${OUTPUT1} "RAID 1 problem detected" ARRAY_STATUS="fail" fi set_leds raid_fail fi fi fi # Wait for the next iteration $OUTLEVEL2 &amp;&amp; ${OUTPUT2} " Sleeping for $WAIT_TIME secods ..." sleep $WAIT_TIME done</code> </pre></div> <p>A small support script: /etc/init.d/echolog (which can probably be removed, handling it inside smart_control.sh)</p> <div class="code"> <pre> <code>fecha=`date +%Y%m%d-%H%M%S` echo "[$fecha] $2" &gt;&gt; $1 2&gt;&amp;1</code> </pre></div> <p>Here it is the /etc/init.d/S50smart_control</p> <div class="code"> <pre> <code>#! /bin/sh # # smart_control startup/stop script SVCNAME=smart_control SMART_SCRIPT=/etc/init.d/smart_control.sh SMART_LOG=/mnt/ramdisk/smart_control.log SMART_PID=/var/run/$(basename ${SMART_SCRIPT}).pid checkconfig() { if [ ! -r $SMART_SCRIPT ] ; then echo "Control script not found at $SMART_SCRIPT" return 1 fi } start() { checkconfig || return 1 echo "Stopping WDC services" /etc/init.d/S15wdc-fuel-gauge stop /etc/init.d/S15wdc-heat-monitor stop # echo "Setting configuration" #echo 0 &gt; /proc/sys/vm/dirty_expire_centisecs #echo 0 &gt; /proc/sys/vm/dirty_writeback_centisecs #echo 95 &gt; /proc/sys/vm/dirty_ratio #echo 10 &gt; /proc/sys/vm/dirty_background_ratio #echo 5 &gt; /proc/sys/vm/laptop_mode #echo 40 &gt; /proc/sys/vm/swappiness echo "Starting ${SVCNAME}" start-stop-daemon --start --background --quiet \ --pidfile ${SMART_PID} --make-pidfile \ --exec ${SMART_SCRIPT} } stop() { echo "Stopping ${SVCNAME}" # "echo" before start-stop-deamon, # so we get the error code of s-s-d as exit code #echo 3000 &gt; /proc/sys/vm/dirty_expire_centisecs #echo 500 &gt; /proc/sys/vm/dirty_writeback_centisecs #echo 40 &gt; /proc/sys/vm/dirty_ratio #echo 10 &gt; /proc/sys/vm/dirty_background_ratio #echo 0 &gt; /proc/sys/vm/laptop_mode #echo 60 &gt; /proc/sys/vm/swappiness start-stop-daemon --stop --quiet --pidfile ${SMART_PID} echo "Starting WCD services..." /etc/init.d/S15wdc-fuel-gauge start /etc/init.d/S15wdc-heat-monitor start } case "$1" in start) start ;; stop) stop ;; restart) stop start ;; *) echo $"Usage: $0 {start|stop|restart}" exit 1 ;; esac exit $?</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-199832</guid>
				<title>need assistance</title>
				<link>http://mybookworld.wikidot.com/forum/t-199832/need-assistance</link>
				<description></description>
				<pubDate>Wed, 25 Nov 2009 16:05:33 +0000</pubDate>
				<wikidot:authorName>stjki</wikidot:authorName>				<wikidot:authorUserId>407654</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I dunno if any one can help me I have a MYBOOKWORLD firmware 2.00.1x running a single drive 1TB.</p> <p>I was trying to get webdav working when I mistakenly tried to delete a file that was mis named I erease most of the files in the /usr/www/lib dir. If anyone has the same drive will you be able to copy those files for me and upload them. Or if anyone has an alternate route to resolving this problem. I am still able to run samba and ssh into the drive.</p> <p>thank you.</p> <p>Stjki.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-199771</guid>
				<title>Wifi on mybook</title>
				<link>http://mybookworld.wikidot.com/forum/t-199771/wifi-on-mybook</link>
				<description>Run wifi on mybook</description>
				<pubDate>Wed, 25 Nov 2009 10:49:50 +0000</pubDate>
				<wikidot:authorName>krymii1</wikidot:authorName>				<wikidot:authorUserId>407539</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hello i want to run wifi via usb modem sagem xg-760n but i need driver zd1211b or ndiswrapper on mybook. I try compile ndiswarpper but i got this message as below. Is know anybody another way to run this?</p> <p>make -C driver<br /> make[1]: Entering directory ‘/root/ndiswrapper-1.55/driver’</p> <p>*** WARNING: This kernel lacks wireless extensions.<br /> Wireless drivers will not work properly.</p> <p>make -C /root/build M=/root/ndiswrapper-1.55/driver<br /> make[2]: arm-linux-gnu-gcc: Command not found<br /> make[2]: Entering directory ‘/root/build’</p> <p>WARNING: Symbol version dump /root/build/Module.symvers<br /> is missing; modules will have no dependencies and modversions.</p> <p>LD /root/ndiswrapper-1.55/driver/built-in.o<br /> /bin/sh: arm-linux-gnu-ar: command not found<br /> make[3]: <strong>* [/root/ndiswrapper-1.55/driver/built-in.o] Error 127<br /> make[2]: *</strong> [_module_/root/ndiswrapper-1.55/driver] Error 2<br /> make[2]: Leaving directory ‘/root/build’<br /> make[1]: <strong>* [modules] Error 2<br /> make[1]: Leaving directory ‘/root/ndiswrapper-1.55/driver’<br /> make: *</strong> [all] Error 2</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-199648</guid>
				<title>Need help to resolve access issue</title>
				<link>http://mybookworld.wikidot.com/forum/t-199648/need-help-to-resolve-access-issue</link>
				<description>Replaced failed HD, now can&#039;t access standard Web interface.</description>
				<pubDate>Tue, 24 Nov 2009 20:05:31 +0000</pubDate>
				<wikidot:authorName>Des Dougan</wikidot:authorName>				<wikidot:authorUserId>407294</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have replaced a failed drive (A) on a client's device, using a WD SATA drive. After I did this, I was able to get into the Web interface (as shipped, no hacks) and format the drive. Subsequently, the interface told me it was synchronizing, although the drives were not mirrored.</p> <p>This process eventually timed out - at least, I can't access the interface, which was very, very slow to respond prior to this. I have tried resetting the device (per WD's Web site), but am still having issues accessing it.</p> <p>The lights' flashing sequence is different from those noted on WD's Web site. I see the outer ring light go on and off, then it flashes an arc in each quarter of the ring, each flash being followed by the entire ring lighting again. The inner ring has a short arc lit around the 2&nbsp;o'clock area. This doesn't change.</p> <p>The other feature of this problem is that I can't power off from the front button - just by pulling the power cord.</p> <p>If anyone can shed any light on this, I'd be most grateful.</p> <p>Thanks,</p> <p>Des</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-198624</guid>
				<title>need your help- /bin/rm overwritten</title>
				<link>http://mybookworld.wikidot.com/forum/t-198624/need-your-help-bin-rm-overwritten</link>
				<description>what a silly script error, now /bin/rm is overwritten</description>
				<pubDate>Fri, 20 Nov 2009 16:30:34 +0000</pubDate>
				<wikidot:authorName>JpgOrganizer</wikidot:authorName>				<wikidot:authorUserId>62100</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>i've made a silly script error and at the end my <tt>/bin/rm</tt> was overwritten.</p> <p>I'm using MBWE blue ring with firmware 01.01.18. Could someone with the same firmware please upload this file?</p> <p>and perhaps you can give me the owner, group and the rights for the file. Assuming it is user=root, group=root, rights=755. But who knows :-)<br /> Best way is to give me the output of <tt>ls -l /bin/rm</tt></p> <p>Many thanks in advance</p> <p>JpgOrganizer</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-198490</guid>
				<title>My Book World Edition II</title>
				<link>http://mybookworld.wikidot.com/forum/t-198490/my-book-world-edition-ii</link>
				<description>planning to buy it after MBWE I, advise please</description>
				<pubDate>Fri, 20 Nov 2009 02:02:22 +0000</pubDate>
				<wikidot:authorName>bluerings</wikidot:authorName>				<wikidot:authorUserId>356045</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>One more for the day… Sorry if this was already a topic - please help me with some link if so.</p> <p>The question is what's your experience with the "My Book World Edition II"? <a href="http://www.wdc.com/en/products/products.asp?driveid=588">http://www.wdc.com/en/products/products.asp?driveid=588</a></p> <p>I have an 500GB MBWE I, and I'm planning to either upgrade this with bigger HDDs or buy the above MBWE II. Since there's not too much difference between the two prices, I'm open to buy the new one.</p> <p>So:<br /> - the most important: is this hackable? :)<br /> - where can I find some technical specifications? Ideally information like CPU and memory (to compare if it's stronger than the MBWE I)<br /> - any experience you've had</p> <p>thanks, br</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-198291</guid>
				<title>May you provide a fresh lighttpd.conf file to me?</title>
				<link>http://mybookworld.wikidot.com/forum/t-198291/may-you-provide-a-fresh-lighttpd-conf-file-to-me</link>
				<description></description>
				<pubDate>Thu, 19 Nov 2009 08:47:54 +0000</pubDate>
				<wikidot:authorName>ariznaf</wikidot:authorName>				<wikidot:authorUserId>241037</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have a 2TB mybook WE (blue ring).</p> <p>I had installed the ssh hack and made somo modifications to the web server, to get it working as I wanted.</p> <p>It was working OK.</p> <p>Now I am trying to install the Core features in it.</p> <p>But it is not working.<br /> I think it is due to changes I made in lighttpd.conf file.</p> <p>May you provide me with an out of the box (original) lighttpd.conf configuration file?</p> <p>I would appreciate an lighttpd.conf file after installing the Core features, with no modifications.</p> <p>The file is /etc/lighttpd/lighttpd.conf.</p> <p>It is an ascii file, you can just copy and paste it to the message.</p> <p>It will take you just a few moments and it will save me lots of work.</p> <p>Thank you all.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-198270</guid>
				<title>HELP!!! I dunno know if I did any thing diasterous</title>
				<link>http://mybookworld.wikidot.com/forum/t-198270/help-i-dunno-know-if-i-did-any-thing-diasterous</link>
				<description>usr/www/lib deleted</description>
				<pubDate>Thu, 19 Nov 2009 06:01:33 +0000</pubDate>
				<wikidot:authorName>stjuki</wikidot:authorName>				<wikidot:authorUserId>404683</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I did accidental rm without -i command can anyone help?</p> <p>what was there</p> <p>cnNasLanguage.pm<br /> nasCommon.pm<br /> MBUI.css<br /> deNasLanguage.pm<br /> nasCore.pm<br /> PUBLIC2<br /> error-401.html<br /> nasLanguage.pm<br /> Permission.pm<br /> esNasLanguage.pm<br /> nasMaster.pl<br /> Service<br /> frNasLanguage.pm<br /> oxnas.css<br /> Session<br /> images<br /> removeExternalShares.pl<br /> SysCmd.pm<br /> itNasLanguage.pm<br /> robots.txt<br /> ajax.js<br /> nas<br /> validate.js</p> <p>what is now left</p> <p>Service<br /> Session<br /> images<br /> nas</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-198206</guid>
				<title>ethernet interface not flashing</title>
				<link>http://mybookworld.wikidot.com/forum/t-198206/ethernet-interface-not-flashing</link>
				<description>Can&#039;t access IP of the MBWE as it does not register with DHCP server. How do I access it?</description>
				<pubDate>Thu, 19 Nov 2009 03:10:02 +0000</pubDate>
				<wikidot:authorName>lmnca</wikidot:authorName>				<wikidot:authorUserId>404642</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi all,</p> <p>My 500GO MBWE (blue rings) refuses to let me in regardless of how I attempt to connect to it (web pages, smb, etc…). The dhcp server on my LAN router doesn't seem to have any entry for it, and the ethernet interface LEDs don't light up at all after the boot process. I've tried the reset procedure to no avail. Does it mean I need to trash it? I have some stuff on it that I wanted to keep so I'd really like to recover what I can if possible. According to one of the howtos on this wiki (<a href="http://mybookworld.wikidot.com/rescue-procedure">http://mybookworld.wikidot.com/rescue-procedure</a>) I am supposed to be able to extract the HD from its case and connect it to a linux computer. I happen to be running linux on my laptop for work, so I could do that, but it's a laptop, so there's no sata slot available for additional drives on it. Besides, I'm loath to open this laptop because it would void the warranty and it's a Company-owned machine. So how am I supposed to apply the rescue procedure in that case?</p> <p>Any help welcome - thank!</p> <p>L.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-197800</guid>
				<title>RAID-1 drive B failed - lost shares</title>
				<link>http://mybookworld.wikidot.com/forum/t-197800/raid-1-drive-b-failed-lost-shares</link>
				<description></description>
				<pubDate>Tue, 17 Nov 2009 19:05:03 +0000</pubDate>
				<wikidot:authorName>PaulKraemer</wikidot:authorName>				<wikidot:authorUserId>403908</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>I have a MBWE (Blue Rings). I set it up for Secure Volume (RAID-1) and created several shares. I was using these shares with no problem for probably almost a year. Now, all of a sudden with no configuration changes on my part, all of the shares that I created have disappeared. The only share that remains is the default "Public" share. When I go into Shared Storage Manager, I see "Device Name = MyBookWorld; Firmware = 01.01.18; Drive Status = Drive B Failed".</p> <p>I'd like to see if I can restore my data. I am thinking that even if one drive (drive B) has failed, my data should still be on the other drive because I was using RAID-1, right? Does anyone think I might have some luck if I simply pull the two drives out of the MBWE and connect them to my PC using a USB external hard drive enclosure. Or is there a better way to go about this. I looked through the MBWE manual (admittedly very quickly) and I didn't see anything too helpful.</p> <p>If anyone has any suggestions, I'd really appreciate it.</p> <p>Thanks in advance,<br /> Paul</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-197667</guid>
				<title>HDD failure</title>
				<link>http://mybookworld.wikidot.com/forum/t-197667/hdd-failure</link>
				<description>HDD failure result of no spin-down?</description>
				<pubDate>Tue, 17 Nov 2009 12:38:41 +0000</pubDate>
				<wikidot:authorName>scot99</wikidot:authorName>				<wikidot:authorUserId>312733</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>My MBWE(BR) died yesterday. Its just clicking and spinning up then restarting. I can't log in either by web or ssl as it is not booting to the point where it asks for an IP. I am going to rip out the hdd and see if I can recover the data (which will mean buying another HDD big enough…). This is really annoying as I had just bought an Asus O!Play so I could watch all the carp I had stored on it!</p> <p>Anyway, I read back through the forums and found that over the last couple of months there seems to have been quite a few failures. Has anyone considered that this might be a design fault caused by the lack of spin-down? How could we prove this to WD?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-197453</guid>
				<title>Blank page on firmware_upgrade.pl</title>
				<link>http://mybookworld.wikidot.com/forum/t-197453/blank-page-on-firmware-upgrade-pl</link>
				<description>Title says it all</description>
				<pubDate>Mon, 16 Nov 2009 19:40:40 +0000</pubDate>
				<wikidot:authorName>gjgjgj</wikidot:authorName>				<wikidot:authorUserId>242491</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>When I try to upgrade my firmware, by going to the page <a href="http://IP_ADDR/auth/firmware_upgrade.pl">http://IP_ADDR/auth/firmware_upgrade.pl</a>, I always get a blank page.</p> <p>Can anyone tell me where does the webpage or the firmware_upgrade.pl script lie ? also if they could post the file itself that would be great / along with the md5 checksum. Maybe I could copy the file to the correct location and get things working.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-197346</guid>
				<title>Enclosure for Sale (UK)</title>
				<link>http://mybookworld.wikidot.com/forum/t-197346/enclosure-for-sale-uk</link>
				<description>Single Disk NAS Enclosure</description>
				<pubDate>Mon, 16 Nov 2009 13:15:34 +0000</pubDate>
				<wikidot:authorName>pow216</wikidot:authorName>				<wikidot:authorUserId>43826</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hello,<br /> I have an enclosure single disk type (no disk) for sale. I'm the UK and you could pay me by paypal. Any offer considered.<br /> 100% working and tested. Shipping to UK would be about £3-4 I think.<br /> Email me at <span class="wiki-email">moc.liamtoh|pbe#moc.liamtoh|pbe</span> if you are interested.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-196652</guid>
				<title>Perl and Net::SSLeay and IO::Socket::SSL</title>
				<link>http://mybookworld.wikidot.com/forum/t-196652/perl-and-net:ssleay-and-io:socket:ssl</link>
				<description>Can not get perl to see these files</description>
				<pubDate>Sat, 14 Nov 2009 00:24:44 +0000</pubDate>
				<wikidot:authorName>boondoklife</wikidot:authorName>				<wikidot:authorUserId>338185</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I am trying to use the sendEmail script on my bluering but can not get it to work with gmail as perl will not find the Net::SSLeay and IO::Socket::SSL modules. I installed them with optware but it just does not seem to go…</p> <p>any ideas?</p> <p>also as a side note, if i install the perl package from optware and try to use it instead, I get the following error:<br /> /usr/bin/perl: can't resolve symbol 'PL_sv_undef'</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>