<?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 posts)</title>
		<link>http://mybookworld.wikidot.com/forum/c-14332/my-book-world-edition-blue-rings</link>
		<description>Posts 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-199832#post-648740</guid>
				<title>need assistance: Re: need assistance</title>
				<link>http://mybookworld.wikidot.com/forum/t-199832/need-assistance#post-648740</link>
				<description></description>
				<pubDate>Sat, 05 Dec 2009 08:32:24 +0000</pubDate>
				<wikidot:authorName>JisSey</wikidot:authorName>				<wikidot:authorUserId>410218</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I don't know what is webdav and how you got it setup on the MyBook, but why can't you just reinstall it to recover those files in your /usr/www/lib ?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-199832#post-648697</guid>
				<title>need assistance: Re: need assistance</title>
				<link>http://mybookworld.wikidot.com/forum/t-199832/need-assistance#post-648697</link>
				<description></description>
				<pubDate>Sat, 05 Dec 2009 05:29:36 +0000</pubDate>
				<wikidot:authorName>stjki</wikidot:authorName>				<wikidot:authorUserId>407654</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>If anyone can jump in and help me here please let me know if I am asking something that cannot be done.</p> <p>Another question how long does it take to back up sda1?<br /> I left it over night and it ran for over 6 hours still not to be completed so I ditched it and rm'd the backup.</p> <p>Does any onelse have a better solution?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-46663#post-648082</guid>
				<title>How to downgrade or add NFS to 2.00.15: Re: How to downgrade or add NFS to 2.00.15</title>
				<link>http://mybookworld.wikidot.com/forum/t-46663/how-to-downgrade-or-add-nfs-to-2-00-15#post-648082</link>
				<description></description>
				<pubDate>Fri, 04 Dec 2009 08:29:16 +0000</pubDate>
				<wikidot:authorName>pauldays</wikidot:authorName>				<wikidot:authorUserId>411675</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I just did the stupid "firmware upgrade" and lost the abiliy to run the NAS with my MAC. Anybody wish to help me out. I have NO linux experience. I know it might be a pain, but we all have been newbies….</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-201797#post-648044</guid>
				<title>Help Downgrading Firmware: Help Downgrading Firmware</title>
				<link>http://mybookworld.wikidot.com/forum/t-201797/help-downgrading-firmware#post-648044</link>
				<description></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#post-647627</guid>
				<title>How to copy and verify CRC for large amount of files between MBWE and an NTFS external USB drive?: 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#post-647627</link>
				<description></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-199832#post-645548</guid>
				<title>need assistance: Re: need assistance</title>
				<link>http://mybookworld.wikidot.com/forum/t-199832/need-assistance#post-645548</link>
				<description></description>
				<pubDate>Tue, 01 Dec 2009 05:34:04 +0000</pubDate>
				<wikidot:authorName>stjki</wikidot:authorName>				<wikidot:authorUserId>407654</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>if I have the SDA1_IMA file for the 500 gig drive will I be able to uise the dd: command to restore the partition to it's factory set?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-200876#post-645274</guid>
				<title>network conflict with 2 mbwe: network conflict with 2 mbwe</title>
				<link>http://mybookworld.wikidot.com/forum/t-200876/network-conflict-with-2-mbwe#post-645274</link>
				<description></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#post-645237</guid>
				<title>MyBook WE and WD TV Live HD Media player?: Re: 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#post-645237</link>
				<description></description>
				<pubDate>Mon, 30 Nov 2009 19:37:04 +0000</pubDate>
				<wikidot:authorName>Freshman</wikidot:authorName>				<wikidot:authorUserId>42501</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>I have Bluering MyBook. Just 1 min ago (seems) that I've installed mediatomb from optware repository.<br /> And looks like WS TV live can see that.</p> <p>Have to figure out how to set up mediatomb</p> <p>Br,<br /> Vitali</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-200837#post-645170</guid>
				<title>MyBook WE and WD TV Live HD Media player?: Re: 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#post-645170</link>
				<description></description>
				<pubDate>Mon, 30 Nov 2009 17:50:27 +0000</pubDate>
				<wikidot:authorName>TeinturMan</wikidot:authorName>				<wikidot:authorUserId>127862</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi , do you own a Whitelight Mybook or a BlueRing Mybook?</p> <p>if you use a Whitelight, then you have the native TwonkyVision tool that should allow you to stream music to your WDTV device, using upnp/dlna protocol.<br /> if you have a bluring, then you will need to add a small hack ( i use ushare) to stream from a Bluering Mybook to a upnp compatible device…</p> <p>just be sure that your device is upnp/dlna compliant.<br /> (Note that i have never tested myself so you will really know if it works only when you will have tested it … )<br /> Regards,</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-200837#post-645148</guid>
				<title>MyBook WE and WD TV Live HD Media player?: 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#post-645148</link>
				<description></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-58093#post-645104</guid>
				<title>Manual Firmware upgrade?: Re: Manual Firmware upgrade?</title>
				<link>http://mybookworld.wikidot.com/forum/t-58093/manual-firmware-upgrade#post-645104</link>
				<description></description>
				<pubDate>Mon, 30 Nov 2009 16:03:36 +0000</pubDate>
				<wikidot:authorName>Freshman</wikidot:authorName>				<wikidot:authorUserId>42501</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>the web-interface of my WD MyBook WorldEdition 500Gb (blue ring) tells such a version:</p> <div class="code"> <pre> <code>Firmware: 01.01.18</code> </pre></div> <br /> Do I really need a new firmware?<br /> Notice that I can't upgrade it from the web-interface for some reason <p>Br,<br /> Vitali</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-158659#post-645103</guid>
				<title>putty-login-error: Server refused our key: Re: putty-login-error: Server refused our key</title>
				<link>http://mybookworld.wikidot.com/forum/t-158659/putty-login-error:server-refused-our-key#post-645103</link>
				<description></description>
				<pubDate>Mon, 30 Nov 2009 16:03:18 +0000</pubDate>
				<wikidot:authorName>anj747</wikidot:authorName>				<wikidot:authorUserId>404737</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>How did you fix this?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-200596#post-644312</guid>
				<title>resize data partition: resize data partition</title>
				<link>http://mybookworld.wikidot.com/forum/t-200596/resize-data-partition#post-644312</link>
				<description></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-123844#post-644276</guid>
				<title>MediaTomb is kinda working: Re: MediaTomb is kinda working</title>
				<link>http://mybookworld.wikidot.com/forum/t-123844/mediatomb-is-kinda-working#post-644276</link>
				<description></description>
				<pubDate>Sun, 29 Nov 2009 11:52:22 +0000</pubDate>
				<wikidot:authorName>reirracon</wikidot:authorName>				<wikidot:authorUserId>409157</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>modify your mediatomb config as root</p> <p><em>vi /var/mediatomb/.mediatomb/config.xml</em></p> <p>add this line just after the line that says <strong>&lt;/storage&gt;</strong> and before &lt;/server&gt;</p> <p><em>&lt;protocolInfo extend=<strong>"yes"</strong>/&gt;&lt;!— For PS3 support change to "yes" —&gt;</em></p> <p>then add at the end of the &lt;extension-mimetype&gt; section</p> <p><em>&lt;map from="avi" to="video/divx"/&gt;</em></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-188272#post-644006</guid>
				<title>Firmware failed to download - try later: Re: Firmware failed to download - try later</title>
				<link>http://mybookworld.wikidot.com/forum/t-188272/firmware-failed-to-download-try-later#post-644006</link>
				<description></description>
				<pubDate>Sat, 28 Nov 2009 19:46:59 +0000</pubDate>
				<wikidot:authorName>TeinturMan</wikidot:authorName>				<wikidot:authorUserId>127862</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi Rustee28,<br /> please, pm me the log file, so that i can check what happened…<br /> Regards,</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-188272#post-643986</guid>
				<title>Firmware failed to download - try later: Re: Firmware failed to download - try later</title>
				<link>http://mybookworld.wikidot.com/forum/t-188272/firmware-failed-to-download-try-later#post-643986</link>
				<description></description>
				<pubDate>Sat, 28 Nov 2009 19:12:23 +0000</pubDate>
				<wikidot:authorName>Russtee28</wikidot:authorName>				<wikidot:authorUserId>391411</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>I checked the log files and I have the # issue in the log file.</p> <p>When I run putty to login I get error: Connection refused.</p> <p>I have added a rule in my firewall to allow the connection but still no joy.</p> <p>Some help would be great.</p> <p>Thanks</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-200198#post-643453</guid>
				<title>Alternative spindown and temperature script: Re: Alternative spindown and temperature script</title>
				<link>http://mybookworld.wikidot.com/forum/t-200198/alternative-spindown-and-temperature-script#post-643453</link>
				<description></description>
				<pubDate>Fri, 27 Nov 2009 18:46:53 +0000</pubDate>
				<wikidot:authorName>MyLastWord</wikidot:authorName>				<wikidot:authorUserId>406782</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Brilliant, I will try this procedure out later if I get around to replace 2x500&nbsp;GB with 2 larger Seagate Drives.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-200250#post-643450</guid>
				<title>Replace WD MBWEII (Blue Ring) 1TB (2x500GB) with 2x1.5TB Non-Raid: 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#post-643450</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#post-643293</guid>
				<title>Alternative spindown and temperature script: Alternative spindown and temperature script</title>
				<link>http://mybookworld.wikidot.com/forum/t-200198/alternative-spindown-and-temperature-script#post-643293</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-181395#post-642904</guid>
				<title>RMA Service: Re: RMA Service</title>
				<link>http://mybookworld.wikidot.com/forum/t-181395/rma-service#post-642904</link>
				<description></description>
				<pubDate>Thu, 26 Nov 2009 19:52:56 +0000</pubDate>
				<wikidot:authorName>woodzu123</wikidot:authorName>				<wikidot:authorUserId>258607</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Their response after 1 month from last update-query:</p> <blockquote> <p>Dear Mr.<br /> Thank you for contacting Western Digital Customer Service and Support. I'm sorry that you didn't get a reply to your previous emails.<br /> This is because the system automatically sends an email with a link for customers to update the warranty themselves. If the customers don't reply to this email to say they can't use the link, then the case is automatically closed. Because you opened new cases instead of replying to the original case, the system closed them too.<br /> Your warranty for the drive with SN WU2NCXXXXXXX is now up-to-date.</p> </blockquote> <p><strong>So make sure, you always update you query after you created it, because their system won't pass it.</strong><br /> That's stupid because I already bought new drive for my MBWE.<br /> But I'll create new RMA for broken one disk, but i just wondering how long will take them to replace it.</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>