<?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>MyBook Spindown ?</title>
		<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown</link>
		<description>Posts in the discussion thread &quot;MyBook Spindown ?&quot;</description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-453945</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-453945</link>
				<description></description>
				<pubDate>Sun, 19 Apr 2009 20:37:20 +0000</pubDate>
				<wikidot:authorName>troelssp</wikidot:authorName>				<wikidot:authorUserId>314883</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>i got alot activity from these:</p> <p>&lt;7&gt;kjournald(183): WRITE block 11648 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 11656 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 11664 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 11672 on md3<br /> &lt;7&gt;pdflush(36): WRITE block 0 on md3<br /> &lt;7&gt;pdflush(36): WRITE block 8 on md3<br /> &lt;7&gt;pdflush(36): WRITE block 1572864 on md3<br /> &lt;7&gt;pdflush(36): WRITE block 1572872 on md3<br /> &lt;7&gt;pdflush(36): WRITE block 1572880 on md3<br /> &lt;7&gt;pdflush(36): WRITE block 1576744 on md3<br /> &lt;7&gt;md1_raid1(174): WRITE block 5879552 on sda1<br /> &lt;7&gt;md3_raid1(170): WRITE block 1975808 on sda3<br /> &lt;7&gt;kjournald(175): WRITE block 147504 on md1<br /> &lt;7&gt;md1_raid1(174): WRITE block 5879552 on sda1<br /> &lt;7&gt;kjournald(175): WRITE block 10048 on md1<br /> &lt;7&gt;kjournald(175): WRITE block 10056 on md1<br /> &lt;7&gt;kjournald(175): WRITE block 10064 on md1<br /> &lt;7&gt;md1_raid1(174): WRITE block 5879552 on sda1<br /> &lt;7&gt;pdflush(37): WRITE block 1464 on md1<br /> &lt;7&gt;md1_raid1(174): WRITE block 5879552 on sda1<br /> &lt;7&gt;pdflush(36): WRITE block 1474560 on md3<br /> &lt;7&gt;md3_raid1(170): WRITE block 1975808 on sda3<br /> &lt;7&gt;pdflush(36): WRITE block 1474568 on md3<br /> &lt;7&gt;pdflush(36): WRITE block 1474576 on md3<br /> &lt;7&gt;pdflush(36): WRITE block 1474584 on md3</p> <p>how can i stop them so my MBW dont spin up and down 3 times an hour, the MBW often only spin down for 2 minutes and then it spin ud again, i have tried alot, but i dosent work</p> <p>What can i do ? plz help im a bit noob on linux</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-402708</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-402708</link>
				<description></description>
				<pubDate>Tue, 03 Mar 2009 15:49:44 +0000</pubDate>
				<wikidot:authorName>TJ-DK</wikidot:authorName>				<wikidot:authorUserId>292289</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi all</p> <p>I've followed kyyhkynen's guides and end up with disk-spinup each hour. I've modified the spindown script so it clears dmesg and spinup script so it dumps the dmesg to a file with timestamp. Please help me disable whatever is causing the disk access. The logs are very similar to theese two:</p> <p>&lt;7&gt;ntpd(780): dirtied inode 12 (?) on ram1<br /> &lt;7&gt;ntpd(780): dirtied inode 2 (/) on ram1<br /> &lt;7&gt;ntpd(780): dirtied inode 2 (/) on ram1<br /> &lt;7&gt;ntpd(780): dirtied inode 33 (ntp.drift) on ram1<br /> &lt;7&gt;sh(7415): dirtied inode 46380 (now) on md3<br /> &lt;7&gt;kjournald(183): WRITE block 901128 on md3<br /> &lt;7&gt;md3_raid1(170): WRITE block 1975808 on sda3<br /> &lt;7&gt;kjournald(183): WRITE block 5520 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5528 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5536 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5544 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5552 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5560 on md3<br /> &lt;7&gt;md3_raid1(170): WRITE block 1975808 on sda3<br /> &lt;7&gt;cp(7420): dirtied inode 19923 (ntp.drift) on md1<br /> &lt;7&gt;S13ramdisk(7419): dirtied inode 30 (locks) on ram1<br /> &lt;7&gt;cp(7421): dirtied inode 92743 (account_policy.tdb) on md3<br /> &lt;7&gt;cp(7421): dirtied inode 31 (account_policy.tdb) on ram1<br /> &lt;7&gt;cp(7421): dirtied inode 92747 (brlock.tdb) on md3<br /> &lt;7&gt;cp(7421): dirtied inode 32 (brlock.tdb) on ram1<br /> &lt;7&gt;cp(7421): dirtied inode 92742 (browse.dat) on md3<br /> &lt;7&gt;cp(7421): dirtied inode 56 (browse.dat) on ram1<br /> &lt;7&gt;cp(7421): dirtied inode 92746 (connections.tdb) on md3<br /> &lt;7&gt;cp(7421): dirtied inode 34 (connections.tdb) on ram1<br /> &lt;7&gt;cp(7421): dirtied inode 92749 (gencache.tdb) on md3<br /> &lt;7&gt;cp(7421): dirtied inode 35 (gencache.tdb) on ram1<br /> &lt;7&gt;cp(7421): dirtied inode 92744 (group_mapping.tdb) on md3<br /> &lt;7&gt;cp(7421): dirtied inode 36 (group_mapping.tdb) on ram1<br /> &lt;7&gt;cp(7421): dirtied inode 92748 (locking.tdb) on md3<br /> &lt;7&gt;cp(7421): dirtied inode 37 (locking.tdb) on ram1<br /> &lt;7&gt;cp(7421): dirtied inode 92741 (messages.tdb) on md3<br /> &lt;7&gt;cp(7421): dirtied inode 38 (messages.tdb) on ram1<br /> &lt;7&gt;cp(7421): dirtied inode 92740 (nmbd.pid) on md3<br /> &lt;7&gt;cp(7421): dirtied inode 39 (nmbd.pid) on ram1<br /> &lt;7&gt;cp(7421): dirtied inode 92753 (ntdrivers.tdb) on md3<br /> &lt;7&gt;cp(7421): dirtied inode 40 (ntdrivers.tdb) on ram1<br /> &lt;7&gt;cp(7421): dirtied inode 92755 (ntforms.tdb) on md3<br /> &lt;7&gt;cp(7421): dirtied inode 41 (ntforms.tdb) on ram1<br /> &lt;7&gt;cp(7421): dirtied inode 92754 (ntprinters.tdb) on md3<br /> &lt;7&gt;cp(7421): dirtied inode 42 (ntprinters.tdb) on ram1<br /> &lt;7&gt;cp(7421): dirtied inode 92750 (registry.tdb) on md3<br /> &lt;7&gt;cp(7421): dirtied inode 43 (registry.tdb) on ram1<br /> &lt;7&gt;cp(7421): dirtied inode 92745 (sessionid.tdb) on md3<br /> &lt;7&gt;cp(7421): dirtied inode 44 (sessionid.tdb) on ram1<br /> &lt;7&gt;cp(7421): dirtied inode 92756 (share_info.tdb) on md3<br /> &lt;7&gt;cp(7421): dirtied inode 45 (share_info.tdb) on ram1<br /> &lt;7&gt;cp(7421): dirtied inode 92758 (smbd.pid) on md3<br /> &lt;7&gt;cp(7421): dirtied inode 46 (smbd.pid) on ram1<br /> &lt;7&gt;cp(7421): dirtied inode 92757 (unexpected.tdb) on md3<br /> &lt;7&gt;cp(7421): dirtied inode 47 (unexpected.tdb) on ram1<br /> &lt;7&gt;cp(7422): dirtied inode 30945 (log.0.0.0.0) on md3<br /> &lt;7&gt;cp(7422): dirtied inode 13 (log.0.0.0.0) on ram1<br /> &lt;7&gt;cp(7422): dirtied inode 30942 (log.045bd-acc15x520) on md3<br /> &lt;7&gt;cp(7422): dirtied inode 14 (log.045bd-acc15x520) on ram1<br /> &lt;7&gt;cp(7422): dirtied inode 30943 (log.192.168.1.100) on md3<br /> &lt;7&gt;cp(7422): dirtied inode 15 (log.192.168.1.100) on ram1<br /> &lt;7&gt;cp(7422): dirtied inode 30947 (log.192.168.1.102) on md3<br /> &lt;7&gt;cp(7422): dirtied inode 16 (log.192.168.1.102) on ram1<br /> &lt;7&gt;cp(7422): dirtied inode 30946 (log.192.168.1.106) on md3<br /> &lt;7&gt;cp(7422): dirtied inode 17 (log.192.168.1.106) on ram1<br /> &lt;7&gt;cp(7422): dirtied inode 30941 (log.gert-inspiron-6) on md3<br /> &lt;7&gt;cp(7422): dirtied inode 18 (log.gert-inspiron-6) on ram1<br /> &lt;7&gt;cp(7422): dirtied inode 30925 (log.home-e65103366e) on md3<br /> &lt;7&gt;cp(7422): dirtied inode 19 (log.home-e65103366e) on ram1<br /> &lt;7&gt;cp(7422): dirtied inode 30930 (log.jacob-pc) on md3<br /> &lt;7&gt;cp(7422): dirtied inode 20 (log.jacob-pc) on ram1<br /> &lt;7&gt;cp(7422): dirtied inode 30932 (log.mac001b6337d39b) on md3<br /> &lt;7&gt;cp(7422): dirtied inode 21 (log.mac001b6337d39b) on ram1<br /> &lt;7&gt;cp(7422): dirtied inode 30919 (log.nmbd) on md3<br /> &lt;7&gt;cp(7422): dirtied inode 22 (log.nmbd) on ram1<br /> &lt;7&gt;cp(7422): dirtied inode 30929 (log.smbd) on md3<br /> &lt;7&gt;cp(7422): dirtied inode 23 (log.smbd) on ram1<br /> &lt;7&gt;cp(7422): dirtied inode 30924 (log.smbd.old) on md3<br /> &lt;7&gt;cp(7422): dirtied inode 24 (log.smbd.old) on ram1<br /> &lt;7&gt;cp(7422): dirtied inode 30940 (log.stuen) on md3<br /> &lt;7&gt;cp(7422): dirtied inode 25 (log.stuen) on ram1<br /> &lt;7&gt;cp(7422): dirtied inode 30926 (log.thomas-pc) on md3<br /> &lt;7&gt;cp(7422): dirtied inode 26 (log.thomas-pc) on ram1<br /> &lt;7&gt;cp(7422): dirtied inode 30928 (log.thomas-pc.old) on md3<br /> &lt;7&gt;cp(7422): dirtied inode 27 (log.thomas-pc.old) on ram1<br /> &lt;7&gt;cp(7422): dirtied inode 30927 (log.tj-dell) on md3<br /> &lt;7&gt;cp(7422): dirtied inode 28 (log.tj-dell) on ram1<br /> &lt;7&gt;cp(7422): dirtied inode 30944 (log.tj-dell.old) on md3<br /> &lt;7&gt;cp(7422): dirtied inode 29 (log.tj-dell.old) on ram1<br /> &lt;7&gt;S13ramdisk(7419): dirtied inode 48 (private) on ram1<br /> &lt;7&gt;cp(7423): dirtied inode 61829 (lighttpd.htdigest.user) on md3<br /> &lt;7&gt;cp(7423): dirtied inode 49 (lighttpd.htdigest.user) on ram1<br /> &lt;7&gt;cp(7423): dirtied inode 61836 (secrets.tdb) on md3<br /> &lt;7&gt;cp(7423): dirtied inode 50 (secrets.tdb) on ram1<br /> &lt;7&gt;cp(7423): dirtied inode 61833 (smbpasswd) on md3<br /> &lt;7&gt;cp(7423): dirtied inode 51 (smbpasswd) on ram1<br /> SPINUP</p> <hr /> <p>&lt;7&gt;sh(22396): dirtied inode 46380 (now) on md3<br /> &lt;7&gt;kjournald(183): WRITE block 983040 on md3<br /> &lt;7&gt;md3_raid1(170): WRITE block 1975808 on sda3<br /> &lt;7&gt;kjournald(183): WRITE block 7256 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 7264 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 7272 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 7280 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 7288 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 7296 on md3<br /> &lt;7&gt;md3_raid1(170): WRITE block 1975808 on sda3<br /> &lt;7&gt;cp(22401): dirtied inode 19923 (ntp.drift) on md1<br /> &lt;7&gt;cp(22401): dirtied inode 12 (ntp.drift) on ram1<br /> &lt;7&gt;S13ramdisk(22400): dirtied inode 30 (locks) on ram1<br /> &lt;7&gt;cp(22402): dirtied inode 92743 (account_policy.tdb) on md3<br /> &lt;7&gt;cp(22402): dirtied inode 31 (account_policy.tdb) on ram1<br /> &lt;7&gt;cp(22402): dirtied inode 92747 (brlock.tdb) on md3<br /> &lt;7&gt;cp(22402): dirtied inode 32 (brlock.tdb) on ram1<br /> &lt;7&gt;cp(22402): dirtied inode 92742 (browse.dat) on md3<br /> &lt;7&gt;cp(22402): dirtied inode 56 (browse.dat) on ram1<br /> &lt;7&gt;cp(22402): dirtied inode 92746 (connections.tdb) on md3<br /> &lt;7&gt;cp(22402): dirtied inode 34 (connections.tdb) on ram1<br /> &lt;7&gt;cp(22402): dirtied inode 92749 (gencache.tdb) on md3<br /> &lt;7&gt;cp(22402): dirtied inode 35 (gencache.tdb) on ram1<br /> &lt;7&gt;cp(22402): dirtied inode 92744 (group_mapping.tdb) on md3<br /> &lt;7&gt;cp(22402): dirtied inode 36 (group_mapping.tdb) on ram1<br /> &lt;7&gt;cp(22402): dirtied inode 92748 (locking.tdb) on md3<br /> &lt;7&gt;cp(22402): dirtied inode 37 (locking.tdb) on ram1<br /> &lt;7&gt;cp(22402): dirtied inode 92741 (messages.tdb) on md3<br /> &lt;7&gt;cp(22402): dirtied inode 38 (messages.tdb) on ram1<br /> &lt;7&gt;cp(22402): dirtied inode 92740 (nmbd.pid) on md3<br /> &lt;7&gt;cp(22402): dirtied inode 39 (nmbd.pid) on ram1<br /> &lt;7&gt;cp(22402): dirtied inode 92753 (ntdrivers.tdb) on md3<br /> &lt;7&gt;cp(22402): dirtied inode 40 (ntdrivers.tdb) on ram1<br /> &lt;7&gt;cp(22402): dirtied inode 92755 (ntforms.tdb) on md3<br /> &lt;7&gt;cp(22402): dirtied inode 41 (ntforms.tdb) on ram1<br /> &lt;7&gt;cp(22402): dirtied inode 92754 (ntprinters.tdb) on md3<br /> &lt;7&gt;cp(22402): dirtied inode 42 (ntprinters.tdb) on ram1<br /> &lt;7&gt;cp(22402): dirtied inode 92750 (registry.tdb) on md3<br /> &lt;7&gt;cp(22402): dirtied inode 43 (registry.tdb) on ram1<br /> &lt;7&gt;cp(22402): dirtied inode 92745 (sessionid.tdb) on md3<br /> &lt;7&gt;cp(22402): dirtied inode 44 (sessionid.tdb) on ram1<br /> &lt;7&gt;cp(22402): dirtied inode 92756 (share_info.tdb) on md3<br /> &lt;7&gt;cp(22402): dirtied inode 45 (share_info.tdb) on ram1<br /> &lt;7&gt;cp(22402): dirtied inode 92758 (smbd.pid) on md3<br /> &lt;7&gt;cp(22402): dirtied inode 46 (smbd.pid) on ram1<br /> &lt;7&gt;cp(22402): dirtied inode 92757 (unexpected.tdb) on md3<br /> &lt;7&gt;cp(22402): dirtied inode 47 (unexpected.tdb) on ram1<br /> &lt;7&gt;S13ramdisk(22400): dirtied inode 2 (/) on ram1<br /> &lt;7&gt;cp(22403): dirtied inode 30945 (log.0.0.0.0) on md3<br /> &lt;7&gt;cp(22403): dirtied inode 13 (log.0.0.0.0) on ram1<br /> &lt;7&gt;cp(22403): dirtied inode 30942 (log.045bd-acc15x520) on md3<br /> &lt;7&gt;cp(22403): dirtied inode 14 (log.045bd-acc15x520) on ram1<br /> &lt;7&gt;cp(22403): dirtied inode 30943 (log.192.168.1.100) on md3<br /> &lt;7&gt;cp(22403): dirtied inode 15 (log.192.168.1.100) on ram1<br /> &lt;7&gt;cp(22403): dirtied inode 30947 (log.192.168.1.102) on md3<br /> &lt;7&gt;cp(22403): dirtied inode 16 (log.192.168.1.102) on ram1<br /> &lt;7&gt;cp(22403): dirtied inode 30946 (log.192.168.1.106) on md3<br /> &lt;7&gt;cp(22403): dirtied inode 17 (log.192.168.1.106) on ram1<br /> &lt;7&gt;cp(22403): dirtied inode 30941 (log.gert-inspiron-6) on md3<br /> &lt;7&gt;cp(22403): dirtied inode 18 (log.gert-inspiron-6) on ram1<br /> &lt;7&gt;cp(22403): dirtied inode 30925 (log.home-e65103366e) on md3<br /> &lt;7&gt;cp(22403): dirtied inode 19 (log.home-e65103366e) on ram1<br /> &lt;7&gt;cp(22403): dirtied inode 30930 (log.jacob-pc) on md3<br /> &lt;7&gt;cp(22403): dirtied inode 20 (log.jacob-pc) on ram1<br /> &lt;7&gt;cp(22403): dirtied inode 30932 (log.mac001b6337d39b) on md3<br /> &lt;7&gt;cp(22403): dirtied inode 21 (log.mac001b6337d39b) on ram1<br /> &lt;7&gt;cp(22403): dirtied inode 30919 (log.nmbd) on md3<br /> &lt;7&gt;cp(22403): dirtied inode 22 (log.nmbd) on ram1<br /> &lt;7&gt;cp(22403): dirtied inode 30929 (log.smbd) on md3<br /> &lt;7&gt;cp(22403): dirtied inode 23 (log.smbd) on ram1<br /> &lt;7&gt;cp(22403): dirtied inode 30924 (log.smbd.old) on md3<br /> &lt;7&gt;cp(22403): dirtied inode 24 (log.smbd.old) on ram1<br /> &lt;7&gt;cp(22403): dirtied inode 30940 (log.stuen) on md3<br /> &lt;7&gt;cp(22403): dirtied inode 25 (log.stuen) on ram1<br /> &lt;7&gt;cp(22403): dirtied inode 30926 (log.thomas-pc) on md3<br /> &lt;7&gt;cp(22403): dirtied inode 26 (log.thomas-pc) on ram1<br /> &lt;7&gt;cp(22403): dirtied inode 30928 (log.thomas-pc.old) on md3<br /> &lt;7&gt;cp(22403): dirtied inode 27 (log.thomas-pc.old) on ram1<br /> &lt;7&gt;cp(22403): dirtied inode 30927 (log.tj-dell) on md3<br /> &lt;7&gt;cp(22403): dirtied inode 28 (log.tj-dell) on ram1<br /> &lt;7&gt;cp(22403): dirtied inode 30944 (log.tj-dell.old) on md3<br /> &lt;7&gt;cp(22403): dirtied inode 29 (log.tj-dell.old) on ram1<br /> &lt;7&gt;S13ramdisk(22400): dirtied inode 48 (private) on ram1<br /> &lt;7&gt;cp(22404): dirtied inode 61829 (lighttpd.htdigest.user) on md3<br /> &lt;7&gt;cp(22404): dirtied inode 49 (lighttpd.htdigest.user) on ram1<br /> &lt;7&gt;cp(22404): dirtied inode 61836 (secrets.tdb) on md3<br /> &lt;7&gt;cp(22404): dirtied inode 50 (secrets.tdb) on ram1<br /> &lt;7&gt;cp(22404): dirtied inode 61833 (smbpasswd) on md3<br /> &lt;7&gt;cp(22404): dirtied inode 51 (smbpasswd) on ram1<br /> SPINUP</p> <p>Please help ;)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-256196</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-256196</link>
				<description></description>
				<pubDate>Tue, 09 Sep 2008 05:57:57 +0000</pubDate>
				<wikidot:authorName>MBWE123</wikidot:authorName>				<wikidot:authorUserId>198183</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hello and thank everyone for information! I have MBWEII 2Tb. Linux is totally new for me.<br /> I downgraded it to RAID1&nbsp;2x120Gb Seagate succesfully. Disabled some unused network services.<br /> Installed Smart spindown, created a RAM disk and …. Alternative temperature monitor with modification in script because <strong>smartctl -d ata -A</strong> spinup disks… I use <strong>smartctl -d ata -A</strong> only when hdd <strong>not sleep</strong>.<br /> So, now MyBook stay in spindown for very long time… i don't know how long, but more than 24 hours. Tested with lighttpd and syslog enabled.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-249700</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-249700</link>
				<description></description>
				<pubDate>Sun, 31 Aug 2008 12:00:38 +0000</pubDate>
				<wikidot:authorName>guile</wikidot:authorName>				<wikidot:authorUserId>192951</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have a MyBookWorld I 750GB with fully-enabled smart-spindown (ramdisk, disabled lightpd, etc.)<br /> The mybook is connected to my router which has port-forwarding (of only one port) to the mybook enabled (so I can connect via SSH-tunnel from everywhere on the net), but not with typical port 22, but port 2222 (to prevent unintentional ssh-connections).</p> <p>Despite this, sometimes my mybook spins up, without any of my computers being on, and sometimes it does not shut down correct, but starts blinking and doesn't respons until I turn it off manually.</p> <p>I enabled syslog again, but it doesn't have any crucial information in it (just that I logged in or something).</p> <p>Is there any way to log what the mybook is really doing, what is triggering the spinup and what just happens before a crash?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-242719</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-242719</link>
				<description></description>
				<pubDate>Wed, 20 Aug 2008 00:50:43 +0000</pubDate>
				<wikidot:authorName>dlashorne</wikidot:authorName>				<wikidot:authorUserId>177170</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>What do i do for tis output? sorry for all the dumb questions, i am really new at programing computers i just am really interested because i am a programmer for routers</p> <p>[root@dlashorne src]# /usr/sbin/smart_spindown<br /> Monitoring spindown opportunities for disks sda and sdb.<br /> /dev/sdb: No such device or address<br /> Both drives are currently spun down.<br /> /dev/sdb: No such device or address<br /> spindowns: 1, time up/down: 0/30, backoff 100, down for -1 (avg 30).</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-239108</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-239108</link>
				<description></description>
				<pubDate>Wed, 13 Aug 2008 03:05:11 +0000</pubDate>
				<wikidot:authorName>sanslogic</wikidot:authorName>				<wikidot:authorUserId>183135</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>dlashorne,<br /> You have the updated firmware, which does not have the gcc compiler. It's not a big deal, jut us ipkg install hdparm, this will update your hdparm. Then do a find for hdparm, and run them and maker sure all the hdparms on your system are updated. If not find the outdated, rm it, then ln -s source dest. Then continue with the spindown instructions.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-232827</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-232827</link>
				<description></description>
				<pubDate>Sat, 02 Aug 2008 02:46:05 +0000</pubDate>
				<wikidot:authorName>dlashorne</wikidot:authorName>				<wikidot:authorUserId>177170</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>When i am following the instructions to set up the spindown function when i get to the point where the word is 'Make' it says :</p> <p>[root@dlashorne hdparm-7.7]# make<br /> cc -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -c -o hdparm.o hdparm.c<br /> make: cc: Command not found<br /> make: *** [hdparm.o] Error 127</p> <p>i am not for sure that this is the problem but i have a feeling that it is.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-220685</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-220685</link>
				<description></description>
				<pubDate>Tue, 15 Jul 2008 09:14:29 +0000</pubDate>
				<wikidot:authorName>chorlton</wikidot:authorName>				<wikidot:authorUserId>47447</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Sure. Note that you <em>may</em> already have some of this. It difficult to remember what the original state of the box was at new…</p> <p>Here's the commented out netbios-ssn line from /etc/inetd.conf (i.e. turning samba of in inetd)</p> <p><tt># netbios-ssn stream tcp nowait root /usr/local/samba/sbin/smbd smbd -s/var/oxsemi/smb.conf -l/mnt/ramdisk/log -d0</tt></p> <p>Without the # character at the start of the line the inetd process would attempt to start smbd every time a packet arrive on the windows netbios port (139).</p> <p>And here's samba.sh. My change is commented in the GWL (just my initials) section. You can also see how all the -l options for smbd and nmbd direct to /mnt/ramdisk.</p> <div> <p><tt>#!/bin/sh</tt><br /> <tt>#</tt><br /> <tt># Start Samba</tt><br /> <tt>#</tt><br /> <br /> <tt>start() {</tt><br /> <tt>echo "Starting Samba"</tt><br /> <tt>/usr/local/samba/sbin/nmbd -D -s/var/oxsemi/smb.conf -l/mnt/ramdisk/log</tt><br /> <tt># /usr/local/samba/sbin/nmbd -D -s/var/oxsemi/smb.conf -l/var/log</tt><br /> <tt># GWL 20080509 Start - Just start samba on startup. Using inetd means it</tt><br /> <tt># is starting up every few seconds and filling the log.</tt><br /> <tt>/usr/local/samba/sbin/smbd -D -s/var/oxsemi/smb.conf -l/mnt/ramdisk/log</tt><br /> <tt># GWL 20080509 End</tt><br /> <tt>}</tt><br /> <br /> <tt>stop() {</tt><br /> <tt>echo "Stopping Samba"</tt><br /> <tt>killall nmbd &gt; /dev/null 2&gt;&amp;1</tt><br /> <tt>killall smbd &gt; /dev/null 2&gt;&amp;1</tt><br /> <tt>}</tt><br /> <tt>restart() {</tt><br /> <tt>stop</tt><br /> <tt>start</tt><br /> <tt>}</tt><br /> <br /> <tt>case "$1" in</tt><br /> <tt>start)</tt><br /> <tt>start</tt><br /> <tt>;;</tt><br /> <tt>stop)</tt><br /> <tt>stop</tt><br /> <tt>;;</tt><br /> <tt>restart)</tt><br /> <tt>restart</tt><br /> <tt>;;</tt><br /> <tt>cleanup)</tt><br /> <tt>;;</tt><br /> <tt>*)</tt><br /> <tt>echo $"Usage: $0 {start|stop|restart}"</tt><br /> <tt>exit 1</tt><br /> <tt>esac</tt><br /> <br /> <tt>exit $?</tt></p> </div> <p>(apologies for the dodgy indenting, it's the wiki software)</p> <p>Hope it helps.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-220211</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-220211</link>
				<description></description>
				<pubDate>Mon, 14 Jul 2008 18:22:21 +0000</pubDate>
				<wikidot:authorName>kassoe</wikidot:authorName>				<wikidot:authorUserId>154956</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi chorlton,</p> <p>Thanks for detailing your description. I wonder if you would care also to show the lines to include in the samba.sh file - I'm not confident with this Linux stuff yet. Your additional fix seem highly relevant when using the hacked box as file server for Windows machines, maybe kyyhkynen who wrote the original guide would repeat your description or link to your post …</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-220087</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-220087</link>
				<description></description>
				<pubDate>Mon, 14 Jul 2008 15:29:35 +0000</pubDate>
				<wikidot:authorName>chorlton</wikidot:authorName>				<wikidot:authorUserId>47447</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi kassoe.</p> <p>I'll describe the problem but please be aware that this was not a problem with spindown, or with creating the ramdisk. I just filled up the ramdisk too quickly.</p> <p>For example:</p> <p>I had smbd configured at first to run using inetd. This means that smbd is not running by default and only starts up when a request comes in on the windows networking port. Every time smbd started, it wrote a little welcome note to the log which cannot be turned off. Then a utility on windows was polling my networked samba drive EVERY MINUTE. It's only 180bytes or so each time but this very quickly filled up my samba logs. My solution was to ensure smbd was started once at boot time (my samba.sh script in /etc/init.d starts both nmbd and smbd ONCE!). I also set my samba config to<br /> a. log to the ramdisk<br /> b. limit the amount of logging to a minimum<br /> b. limit the log file size to 25kB.</p> <p>My smb.conf [global] section contains the following lines</p> <blockquote> <p>log file = /mnt/ramdisk/log/log.%m<br /> log level = 0<br /> max log size = 25</p> </blockquote> <p>Once you've created your ramdisk and followed the steps in the tutorial to send common logs to it, then you can check your disk activity log and see if anything's still causing problems.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-218907</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-218907</link>
				<description></description>
				<pubDate>Sat, 12 Jul 2008 06:44:15 +0000</pubDate>
				<wikidot:authorName>kassoe</wikidot:authorName>				<wikidot:authorUserId>154956</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>@chorlton: Thanks for your help. Wonder if you could be a bit more specific about "tuning of logging levels" - is that one of the tips described somewhere? I'm absolutely new to Linux but have done ok so far because of the great tutorials on this site - and I don't want to mess up having gotten this far :-)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-218266</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-218266</link>
				<description></description>
				<pubDate>Fri, 11 Jul 2008 08:09:12 +0000</pubDate>
				<wikidot:authorName>chorlton</wikidot:authorName>				<wikidot:authorUserId>47447</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>If you don't implement a ramdisk then you won't get the benefits of the spindown. It's quite necessary.</p> <p>Every time any process on your box creates a log message, it's forcing the disk to spin up. A ramdisk creates a small virtual disk in memory where these log files can be written to instead of spinnig up the physical harddisk.</p> <p>The creation of the ramdisk is quite easy to do. The only hurdle I had at first was a problem with smbd quickly filling up the space which eventually stopped smbd from working. I could still use ssh to fix the problem though. just needed some tuning of logging levels.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-218072</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-218072</link>
				<description></description>
				<pubDate>Thu, 10 Jul 2008 22:53:00 +0000</pubDate>
				<wikidot:authorName>didithewarrior</wikidot:authorName>				<wikidot:authorUserId>164498</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Same problem …</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-210726</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-210726</link>
				<description></description>
				<pubDate>Mon, 30 Jun 2008 13:06:24 +0000</pubDate>
				<wikidot:authorName>kassoe</wikidot:authorName>				<wikidot:authorUserId>154956</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hello,</p> <p>I followed all the cool and quiet hacks succesfully. I didn't do the RAM disk as I don't know if I need it. I use a WD Mybook WE 500Gb as file repository for our Windows machines - and nothing else. Spin down does work now and then but I still have quite some activity going on. I'm completely new to Linux. Can someone help me understand what is going on and what can be stopped - and how? I can see Samba is running - but I don't know if I need it. The other stuff I don't really know what is. Activity log posted below - I think it covers around 15 minutes during which the Mybook did not spin down.</p> <p>kassoe</p> <p>&lt;7&gt;nmbd(613): dirtied inode 46395 (browse.dat.) on md3<br /> &lt;7&gt;nmbd(613): dirtied inode 46394 (?) on md3<br /> &lt;7&gt;kjournald(183): WRITE block 868568 on md3<br /> &lt;7&gt;md3_raid1(170): WRITE block 1975808 on sda3<br /> &lt;7&gt;kjournald(183): WRITE block 5408 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5416 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5424 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5432 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5440 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5448 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5456 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5464 on md3<br /> &lt;7&gt;md3_raid1(170): WRITE block 1975808 on sda3<br /> &lt;7&gt;pdflush(36): WRITE block 0 on md3<br /> &lt;7&gt;md3_raid1(170): WRITE block 1975808 on sda3<br /> &lt;7&gt;pdflush(36): WRITE block 8 on md3<br /> &lt;7&gt;pdflush(36): WRITE block 786928 on md3<br /> &lt;7&gt;pdflush(36): WRITE block 786936 on md3<br /> &lt;7&gt;pdflush(36): WRITE block 786944 on md3<br /> &lt;7&gt;pdflush(36): WRITE block 950272 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5472 on md3<br /> &lt;7&gt;md3_raid1(170): WRITE block 1975808 on sda3<br /> &lt;7&gt;smbd(980): dirtied inode 46375 (smbpasswd) on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5480 on md3<br /> &lt;7&gt;md3_raid1(170): WRITE block 1975808 on sda3<br /> &lt;7&gt;kjournald(183): WRITE block 5488 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5496 on md3<br /> &lt;7&gt;md3_raid1(170): WRITE block 1975808 on sda3<br /> &lt;7&gt;pdflush(37): WRITE block 786944 on md3<br /> &lt;7&gt;md3_raid1(170): WRITE block 1975808 on sda3<br /> &lt;7&gt;md3_raid1(170): WRITE block 1975808 on sda3<br /> &lt;7&gt;smbd(2479): dirtied inode 61840 (smbd) on md3<br /> &lt;7&gt;smbd(2479): dirtied inode 61841 (log.smbd) on md3<br /> &lt;7&gt;smbd(2479): dirtied inode 61841 (log.smbd) on md3<br /> &lt;7&gt;smbd(2479): dirtied inode 61841 (log.smbd) on md3<br /> &lt;7&gt;smbd(2479): dirtied inode 46375 (smbpasswd) on md3<br /> &lt;7&gt;smbd(2479): dirtied inode 46385 (registry.tdb) on md3<br /> &lt;7&gt;smbd(2479): dirtied inode 46381 (connections.tdb) on md3<br /> &lt;7&gt;smbd(2479): dirtied inode 46389 (ntprinters.tdb) on md3<br /> &lt;7&gt;smbd(2479): dirtied inode 46377 (account_policy.tdb) on md3<br /> &lt;7&gt;kjournald(183): WRITE block 1196032 on md3<br /> &lt;7&gt;md3_raid1(170): WRITE block 1975808 on sda3<br /> &lt;7&gt;kjournald(183): WRITE block 5504 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5512 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5520 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5528 on md3<br /> &lt;7&gt;md3_raid1(170): WRITE block 1975808 on sda3<br /> &lt;7&gt;pdflush(36): WRITE block 786944 on md3<br /> &lt;7&gt;md3_raid1(170): WRITE block 1975808 on sda3<br /> &lt;7&gt;pdflush(36): WRITE block 1048592 on md3<br /> &lt;7&gt;pdflush(36): WRITE block 901696 on md3<br /> &lt;7&gt;pdflush(36): WRITE block 901704 on md3<br /> &lt;7&gt;pdflush(36): WRITE block 901712 on md3<br /> &lt;7&gt;pdflush(36): WRITE block 852032 on md3<br /> &lt;7&gt;pdflush(36): WRITE block 852352 on md3<br /> &lt;7&gt;pdflush(36): WRITE block 901760 on md3<br /> &lt;7&gt;pdflush(36): WRITE block 884808 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5536 on md3<br /> &lt;7&gt;md3_raid1(170): WRITE block 1975808 on sda3<br /> &lt;7&gt;nmbd(613): dirtied inode 46394 (browse.dat.) on md3<br /> &lt;7&gt;nmbd(613): dirtied inode 46395 (?) on md3<br /> &lt;7&gt;kjournald(183): WRITE block 868560 on md3<br /> &lt;7&gt;md3_raid1(170): WRITE block 1975808 on sda3<br /> &lt;7&gt;kjournald(183): WRITE block 5544 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5552 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5560 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5568 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5576 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5584 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5592 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5600 on md3<br /> &lt;7&gt;md3_raid1(170): WRITE block 1975808 on sda3<br /> &lt;7&gt;pdflush(37): WRITE block 0 on md3<br /> &lt;7&gt;md3_raid1(170): WRITE block 1975808 on sda3<br /> &lt;7&gt;pdflush(37): WRITE block 8 on md3<br /> &lt;7&gt;pdflush(37): WRITE block 786928 on md3<br /> &lt;7&gt;pdflush(37): WRITE block 786936 on md3<br /> &lt;7&gt;pdflush(37): WRITE block 786944 on md3<br /> &lt;7&gt;pdflush(37): WRITE block 950272 on md3<br /> &lt;7&gt;kjournald(183): WRITE block 5608 on md3<br /> &lt;7&gt;md3_raid1(170): WRITE block 1975808 on sda3</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-171315</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-171315</link>
				<description></description>
				<pubDate>Mon, 26 May 2008 11:51:36 +0000</pubDate>
				<wikidot:authorName>darkomage</wikidot:authorName>				<wikidot:authorUserId>133630</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hello !</p> <p>As a newbie, I found this site very usefull for lots of things !</p> <p>I thought I might contribute a bit with the following:<br /> -I improved the original fuel-gauge script, so that it can be used easilly with this awesome smart_spindown script.<br /> basically, the new "fuel-gauge" script looks if the drives are spun up before trying to check things and thus creating potentially unwanted disk activity.<br /> I wanted to do this because imho, fuel-gauge script is useful on the 2 disks edition using RAID-1, as it checks periodically the raid array integrity, and switches the leds to "degraded" if your array is broken. That way, it remembers you to force a reconstruction (I had one of the two disks of my WDMBWII gone wrong a few weeks ago)</p> <p>If anyone's interested in my so-called "work", I might post it somewhere. But as I'm a newbie here, just tell me how I should proceed, and where I should post that: I don't want to disturb this place and its rules ! ;^)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-149800</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-149800</link>
				<description></description>
				<pubDate>Mon, 21 Apr 2008 22:03:42 +0000</pubDate>
				<wikidot:authorName>refaey</wikidot:authorName>				<wikidot:authorUserId>115822</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I did read the config section but it doesn't hurt double-checking ;-)</p> <p>Thanks very much for the prompt reply.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-149156</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-149156</link>
				<description></description>
				<pubDate>Sun, 20 Apr 2008 22:21:44 +0000</pubDate>
				<wikidot:authorName>alephsmith</wikidot:authorName>				<wikidot:authorUserId>58305</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Did you read the config section of the smartspindown script?</p> <div class="code"> <pre> <code># Disk(s) to monitor. # If you have only one disk, leave DISK2 empty DISK1=sda DISK2=sdb</code> </pre></div> <br /> You have two disks so sda and sdb should be fine
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-149130</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-149130</link>
				<description></description>
				<pubDate>Sun, 20 Apr 2008 20:53:40 +0000</pubDate>
				<wikidot:authorName>refaey</wikidot:authorName>				<wikidot:authorUserId>115822</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hello everyone,</p> <p>I have the MyBookWorld II, the 2TB edition with two drives and it's setup as RAID0. I tied to use the procedure explained in kyyhkynen's page to spin down the drive but I got stuck at step number 4 where it says the following:</p> <blockquote> <p>4. Then you should tinker with the settings in the beginning of the "smart_spindown" (see comments in the script for details). At this time just set the name(s) of your disk(s).</p> </blockquote> <p>Does anyone know what to set the disk names to please? (md3 (/var) and md4 (/shares/internal)?).</p> <p>Your help is much appreciated,</p> <p>Best regards,<br /> Ash</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-143727</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-143727</link>
				<description></description>
				<pubDate>Sat, 12 Apr 2008 16:16:09 +0000</pubDate>
				<wikidot:authorName>the-bunker</wikidot:authorName>				<wikidot:authorUserId>63317</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi Calathia - to answer your questions :-<br /> - Reason I thought your smart_spindown was restarting is because of the hdparm &amp; grep entries in your log which only appear in mine after smart_spindown has been restarted.<br /> - I suggested setting WAITTIME to 5 mins as a test for you to see that it doesn't always wait for the MAXTIME before it spins down. Reading your description of use - ie: plumbed into a university network - then it makes sense to have a much higher wait time such as you have set.<br /> - There are a few lighttpd entries in your log - not much, have a look at your lighttpd logs to see what is being accessed. Mine was just hackers - but they can't get in, just annoying that it spins up the drive for no useful reason.<br /> - My understanding of OUTPUTLEVEL is to see what the smart_spindown script is doing dynamically, and that requires running it manually in SSH &amp; watching the output on the console. I'm not sure what it does when you close SSH, but you can't see it - so why have it switched on ?<br /> - Local master in SMB.conf is telling other computers in the local network whether or not to come to you to get a list of all the machines/shares connected. Since that involves disk activity, you want it turned off. If it's not defined then it's probably off anyway - but doesn't harm to be explicit. See these links for more info <a href="http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetworkBrowsing.html">http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetworkBrowsing.html</a><br /> and <a href="http://www.samba.netfirms.com/PDC.htm">http://www.samba.netfirms.com/PDC.htm</a><br /> - Re crontab, I read somewhere on this forum that they disabled crontab in an attempt to reduce spinups. If you don't have any scheduled tasks then you can disable. Again, it's might not make any difference but it won't hurt &amp; ensures that it is not causing spin ups.</p> <p>Since your WD MyBook is hooked up on the lan at university it's not surprising you get a lot of activity - and the steps you've taken seem appropriate. If ~8 spinups per day is bothering you then set the WAITTIME &amp; MAXTIME higher - or don't bother using smart_spindown at all - just leave it running. I'm not expecting spinning down the HD to lengthen the life of my WD MyBook, just to minimise the amount of electricity used. As long as you back it up occasionally &amp; the drive last 5 years or so, then that seems a reasonable lifetime.</p> <p>Cheers,<br /> Paul</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-142078</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-142078</link>
				<description></description>
				<pubDate>Thu, 10 Apr 2008 05:35:23 +0000</pubDate>
				<wikidot:authorName>Calathia</wikidot:authorName>				<wikidot:authorUserId>85068</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks for helping guys! Indeed, SMB activity is high. This is because I have WD connected directly to LAN of my university, and university DHCP refreshes IP leasing times every ~4-5 hours. I have wlan router, but it is now conffed as switch. This is because it cannot forward IPV6 data, so I can'nt see IPTV from my computer :P</p> <p>And yes it is true that mapping WD will cause unnecessary spinups sometimes (when you open my computer). But I listen often music with winamp from my WD and mapped drive is best solution for this AFAIK.</p> <p>The-Bunker, I did not understand all of you advices, can you please clarify some?</p> <p>- You said there is lot of smart_spindown restart activity, how can you see this from the log? In my case, smart_spindown script has been on for days, so it shouldn't be restarting anything.<br /> - Also you adviced to put minimun time more low i.e 5mins. I have set it to 1 hour because usually when i'm listening music there is some pauses between me ghanging album or playlist or whatever, and this pause may be what ever between 1min to 1hour, so too small minimun wait time will cause spindowns.<br /> -Is there lighttpd activity on my logs? I have not set its log to RAM, but I don't use lighttpd at all.<br /> -what dows OUTPUTLEVEL do and what benefit is for setting it to false?<br /> -what does local master = NO in SMB.conf?<br /> - I have also done everything what kyyhkynen adviced in his tutorial. But havent disabled crontab. But then again, I don't use crons.</p> <p>thanks in advance!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-141905</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-141905</link>
				<description></description>
				<pubDate>Wed, 09 Apr 2008 23:08:01 +0000</pubDate>
				<wikidot:authorName>alephsmith</wikidot:authorName>				<wikidot:authorUserId>58305</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Does any one want to comment on the usefulness of a spindown script when using the MBWE as a seed box.<br /> I am almost constantly seeding torrents with transmission and have assumed that any attempt at spinning down would be effectively useless. Is this assumption right?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-141898</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-141898</link>
				<description></description>
				<pubDate>Wed, 09 Apr 2008 23:02:10 +0000</pubDate>
				<wikidot:authorName>the-bunker</wikidot:authorName>				<wikidot:authorUserId>63317</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I had a look at your log Calathia &amp; to me it looks like lot of SAMBA &amp; SSH activity, plus quite a bit of restarting the smart_spindown script. Try leaving things for a couple days &amp; then look at the log to see what occurs without interaction.</p> <p>One thing I have changed to your script is to switch off the OUTPUTLEVEL - both to false.</p> <p>I set my WAITTIME to 600 (10 mins) &amp; MAXTIME to 1200 (20 mins) in smart_spindown script</p> <p>Have you set local master = No in SMB.conf ?</p> <p>I also disabled crontab &amp; followed all the advice in the smart spindown tutorial for reducing disk access.<br /> Finally - as recommended here, I don't have a mapped drive - just use a shortcut on my desktop to the PUBLIC share.</p> <p>Hope you get things sorted - myspinups were averaging 16 a day &amp; these mods have made a big difference.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-141741</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-141741</link>
				<description></description>
				<pubDate>Wed, 09 Apr 2008 18:16:30 +0000</pubDate>
				<wikidot:authorName>the-bunker</wikidot:authorName>				<wikidot:authorUserId>63317</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>First of all thanks Calathia for your script - I'm using it &amp; getting ~1 spinup per day &amp; that's only coz I'm looking at the smart_spindown.log</p> <p>Anyway, to answer your question - as I understand it the waittime is the minimum time before spindown - which in your case is 1 hour &amp; would explain why it can spinup more often than you expect. Easiest way to test this is to make waittime something like 5 mins &amp; leave max time as is - then see how long before it spins down.</p> <p>fyi: I also added the lighttpd log files to ramdisk &amp; that has also helped cut down the no of spinups.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-135156</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-135156</link>
				<description></description>
				<pubDate>Mon, 31 Mar 2008 15:26:40 +0000</pubDate>
				<wikidot:authorName>Calathia</wikidot:authorName>				<wikidot:authorUserId>85068</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>OK, I got tired for ~10 spinups/day, where ~8 are totally unnecessary. So I made some modifications to script, basically that when WD goes spindown it activates block dump:<br /> echo 0 &gt; /proc/sys/vm/block_dump<br /> and when WD spins up, it disables dump and writes it to log file. this way I can distinguish which processes causes spinups. I also include spinup count and datetime in the log, so I can see when it has happened.</p> <p>Well, the result is really weird log, where spinup count can increase from 1 to 8 !! How the hell can this even be possible? Besides, I have se wait time 3600 sec and maxtime 10000 sec, and my max spindown time seems to be around 6 hours, so 10 spinups per day should be impossible!!</p> <p>Please help me find where is the problem, I have 550 spinups and my WD is 2 months old :/</p> <p><a href="http://www.dsiponen.fi/setit/smart_spindown.log">Here</a> is My log where you can see this weird activity.</p> <p><a href="http://www.dsiponen.fi/setit/smart_spindown.txt">Here</a> is my Smart Spindown script.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-130134</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-130134</link>
				<description></description>
				<pubDate>Sun, 23 Mar 2008 20:02:50 +0000</pubDate>
				<wikidot:authorName>TriscuiT</wikidot:authorName>				<wikidot:authorUserId>95943</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have the 2TB version set to RAID-1 with the latest firmware. Since the c compiler is no longer there, I used OPTWARE to install "hdparm" which gave me version 8.5-1.</p> <p>Since this version is newer than the one you referrence (7.7) I thought that it would not cause any issues.</p> <p>However, when I execute the script (after setting the kernel parameters as instructed) the logging shows that both disks are spun down.<br /> Polling is set for every 30 seconds, and I copied about 100MBs from the device to make sure that there was activity, but it still shows spun down.</p> <p>Is this an issue with the optware hdparm? Or have I broken something?</p> <p>Thanks.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-127374</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-127374</link>
				<description></description>
				<pubDate>Tue, 18 Mar 2008 22:33:25 +0000</pubDate>
				<wikidot:authorName>TalinTheLost</wikidot:authorName>				<wikidot:authorUserId>98231</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>G'day,</p> <p>I'm reasonably new to linux - so spent a couple days trying to work out why my MBWE was spinning up every 6 hours… after following all the tutorials, etc, worked out it was the default.script… then came across this post about using a static IP (in a thread I had read numerous times before - whoops).</p> <p>So my question: does anyone know how to change how often busybox will run the default.script? I've had a bit of a look around, can find heaps of information on busybox &amp; dhcp, but nothing related to a time period (6 hours).</p> <p>I've set my MBWE to a static IP at the moment, and it's fixed the issue - though i prefer to use my router to assign static IP's, rather than the devices on the network.</p> <p>Cheers!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-122798</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-122798</link>
				<description></description>
				<pubDate>Tue, 11 Mar 2008 08:23:52 +0000</pubDate>
				<wikidot:authorName>kyyhkynen</wikidot:authorName>				<wikidot:authorUserId>42146</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>I am not even close to being a linux expert, so my earlier question could be a bit off. I looked at the write log some more and it seems like the processes I mentioned always writes to the disk, regardless of what process initiated the write. Should I be looking at the processes generating lines like; "&lt;7&gt;tail(10976): dirtied inode 45 (temperature.log) on ram1" instead of these lines; "&lt;7&gt;pdflush(36): WRITE block 984 on ram1"?</p> </blockquote> <p>Yes. The first line is the actual process issuing the write and the second is the cache management actually writing the stuff (issued on the first line) to disk.</p> <p>Also note where the writing is done; in these lines data is written to the RAM disk (the <em>ram1</em> in the end of the lines tells this) so they haven't spun the disk up. The lines you should check end with <em>md1</em>, <em>md2</em>, <em>md3</em> or <em>md4</em>.</p> <p>If you are going to mount your MBWE as a network drive, you'll need samba, which needs both of the processes <em>smbd</em> and <em>nmdb</em> running. I assume you have moved your samba logs and other files to your RAM disk.<br /> Windows just sometimes connects to the network drives even if you're not actually accessing them in windows (like when windows starts up or when you open My Computer), thus causing the aforementioned processes to spin the disk up. In order to reduce these spin-ups, you can leave the "Reconnect at logon" checkbox unchecked when mapping the network drive in windows. By doing this, you'll have to manually connect to the drive by opening it in explorer before it can be used by other programs.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-122560</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-122560</link>
				<description></description>
				<pubDate>Mon, 10 Mar 2008 21:05:19 +0000</pubDate>
				<wikidot:authorName>merced</wikidot:authorName>				<wikidot:authorUserId>93222</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I am not even close to being a linux expert, so my earlier question could be a bit off. I looked at the write log some more and it seems like the processes I mentioned always writes to the disk, regardless of what process initiated the write. Should I be looking at the processes generating lines like; "<strong>&lt;7&gt;tail(10976): dirtied inode 45 (temperature.log) on ram1</strong>" instead of these lines; "<strong>&lt;7&gt;pdflush(36): WRITE block 984 on ram1</strong>"?</p> <p>If so, the processes that spins up the disk in my last monitoring of the disk is: nmdb, sshd and smbd.</p> <p>sshd should not be a problem if I´m not connected with ssh.<br /> nmdb and smbd seems to be samba-related processes. Are both needed? I still want to be able to access the disk by mounting it as a network drive on my windows-machines. I did not access the disk in any other way than by ssh when these processes spun up the disk.</p> <p>Thanx.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-122058</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-122058</link>
				<description></description>
				<pubDate>Mon, 10 Mar 2008 07:12:57 +0000</pubDate>
				<wikidot:authorName>Calathia</wikidot:authorName>				<wikidot:authorUserId>85068</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I'm also interested of this, since same processes seem to spinup my wd also..I get ~10 spinups/day, most of them unnecessary.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-121355</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-121355</link>
				<description></description>
				<pubDate>Sat, 08 Mar 2008 20:12:38 +0000</pubDate>
				<wikidot:authorName>merced</wikidot:authorName>				<wikidot:authorUserId>93222</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have the MyBook WE with one 500gb disk. I have followed the guides at <a href="http://kyyhkynen.net/stuff/mybook/">http://kyyhkynen.net/stuff/mybook/</a> to make the disk silent. The script works fine and everything seems to be working. However, the disk keeps spinning up a bit to often. The only processes that seems to be writing to the disk, according to dmesg, is pdflush, kjournal, md3_raid1 and sync.<br /> What do these things do? Are they important processes that cannot be shut down? If not, how do I stop them from starting when booting up the disk?</p> <p>Thanx!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-105154</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-105154</link>
				<description></description>
				<pubDate>Sun, 10 Feb 2008 22:06:42 +0000</pubDate>
				<wikidot:authorName>poo</wikidot:authorName>				<wikidot:authorUserId>78787</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>OK, done it all and so far so good.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-105042</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-105042</link>
				<description></description>
				<pubDate>Sun, 10 Feb 2008 18:43:55 +0000</pubDate>
				<wikidot:authorName>kyyhkynen</wikidot:authorName>				<wikidot:authorUserId>42146</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>The only other line I can see (I'm no Linux expert) that probably needs changing is:<br /> "use constant smbpasswd =&gt; '/var/private/smbpasswd';" change to "use constant smbpasswd =&gt; '/mnt/ramdisk/private/smbpasswd';".</p> </blockquote> <p>Basically, changing only this line should be enough, if you have moved the smbpasswd file to the ram disk. I didn't find any other references to the files moved to the ram disk (but of course I could have missed some).</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-104405</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-104405</link>
				<description></description>
				<pubDate>Sat, 09 Feb 2008 00:03:58 +0000</pubDate>
				<wikidot:authorName>poo</wikidot:authorName>				<wikidot:authorUserId>78787</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi kyyhkynen</p> <p>Been following most of the steps on your 'How To' on my 500GB MyBook World.</p> <p>I stopped at the bit about</p> <blockquote> <p>Note: if you plan to use the MBWE Web GUI to manipulate your users and shares after you change your samba file paths, you'll have to change the file locations in /usr/www/lib/nasCommon.pm file also. Otherwise, the Web GUI will be editing wrong files thus causing weird problems.</p> </blockquote> <p>I don't know what to edit in <strong>nasCommon.pm</strong>. I want to keep using the Web GUI and have Samba use the RAM Disk like you suggest.</p> <p>This line is already present and looks like it takes care of most of it:<br /> "<strong>use constant smb_conf =&gt; '/var/oxsemi/smb.conf';</strong>"</p> <p>The only other line I can see (I'm no Linux expert) that probably needs changing is:<br /> "<strong>use constant smbpasswd =&gt; '/var/private/smbpasswd';</strong>" change to "<strong>use constant smbpasswd =&gt; '/mnt/ramdisk/private/smbpasswd';</strong>".</p> <p>Can you tell me if that's right?</p> <p>So far my drive still spins up a lot of the time. I think it's due to Samba.</p> <p>Thanks</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-94730</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-94730</link>
				<description></description>
				<pubDate>Mon, 21 Jan 2008 10:51:17 +0000</pubDate>
				<wikidot:authorName>kyyhkynen</wikidot:authorName>				<wikidot:authorUserId>42146</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>This is not true. Just modify the line in "inittab" to read:</p> <p>::respawn:/sbin/syslogd -n -m 0 -O /mnt/ramdisk/system.log</p> <p>And the log will now be written to the ramdrive rather than the harddisk.</p> </blockquote> <p>Well I'll be damned.</p> <p>I just assumed that if the busybox syslogd doesn't know how to read syslog.conf, it couldn't be done. Didn't realize that it has it's own custom switch for that…</p> <p>Thanks for noting, will update the guide.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-94370</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-94370</link>
				<description></description>
				<pubDate>Sun, 20 Jan 2008 14:37:35 +0000</pubDate>
				<wikidot:authorName>sforget</wikidot:authorName>				<wikidot:authorUserId>63457</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>kyyhkynen: You mention that upgrading syslogd would be neccessary for logging to the ram drive.</p> <p>This is not true. Just modify the line in "inittab" to read:</p> <p>::respawn:/sbin/syslogd -n -m 0 -O /mnt/ramdisk/system.log</p> <p>And the log will now be written to the ramdrive rather than the harddisk.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-84302</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-84302</link>
				<description></description>
				<pubDate>Thu, 27 Dec 2007 21:49:08 +0000</pubDate>
				<wikidot:authorName>sjf</wikidot:authorName>				<wikidot:authorUserId>62380</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I am curious about how to get logging to work after implementing all the mods. It seems the shutdown script is attempting to copy /mnt/ramdisk/smart_spindown.log to /var/log, but the file doesn't exist. How does one get the log messages to go to that file when starting from the startup script?</p> <p>Thanks,<br /> sjf</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-84300</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-84300</link>
				<description></description>
				<pubDate>Thu, 27 Dec 2007 21:46:56 +0000</pubDate>
				<wikidot:authorName>sjf</wikidot:authorName>				<wikidot:authorUserId>62380</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>For those confused about the "./configure" error on the hdparm build — just skip that step and do the "make install" step</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-84266</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-84266</link>
				<description></description>
				<pubDate>Thu, 27 Dec 2007 20:14:27 +0000</pubDate>
				<wikidot:authorName>kabadi</wikidot:authorName>				<wikidot:authorUserId>62354</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have noticed that when my fan speed needs to go to the fist speed (50) it actually goes to 100 briefly. Ie. It goes 0 - 100 - 50 - 0 -100 -50 etc.</p> <p>Has anyone else noticed this?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-83581</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-83581</link>
				<description></description>
				<pubDate>Mon, 24 Dec 2007 19:14:34 +0000</pubDate>
				<wikidot:authorName>thejdj</wikidot:authorName>				<wikidot:authorUserId>35851</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I haven't figured it out yet.</p> <p>What else have you added or changed on yours?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-83272</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-83272</link>
				<description></description>
				<pubDate>Sun, 23 Dec 2007 16:45:20 +0000</pubDate>
				<wikidot:authorName>smlamont</wikidot:authorName>				<wikidot:authorUserId>61488</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I'm getting the same error: "bash: ./configure: No such file or directory"<br /> is this a path issue?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-74183</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-74183</link>
				<description></description>
				<pubDate>Fri, 30 Nov 2007 20:52:04 +0000</pubDate>
				<wikidot:authorName>thejdj</wikidot:authorName>				<wikidot:authorUserId>35851</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I'm following the steps to install on my MBWE I 500 and get stuck here. I'm probably missing something simple. Can anyone help?</p> <p>[root@MyBookWorld hdparm-7.7]# [root@MyBookWorld tmp]# cd src<br /> [root@MyBookWorld src]# wget <a href="http://download.sourceforge.net/sourceforge/hdparm/hdparm-7.7.tar.gz">http://download.sourceforge.net/sourceforge/hdparm/hdparm-7.7.tar.gz</a><br /> Connecting to download.sourceforge.net[150.65.7.130]:80<br /> hdparm-7.7.tar.gz 100% |<strong>*</strong><strong>*</strong><strong>*</strong><strong>*</strong><strong>*</strong>****| 62530 <span style="text-decoration: line-through;">:</span>:— ETA<br /> [root@MyBookWorld src]# tar -zxvf hdparm-7.7.tar.gz<br /> hdparm-7.7/<br /> hdparm-7.7/LICENSE.TXT<br /> hdparm-7.7/Changelog<br /> hdparm-7.7/kernel_patches/<br /> hdparm-7.7/kernel_patches/01_libata_cmd_len_check.patch<br /> hdparm-7.7/kernel_patches/02_libata_atapi_ata16.patch<br /> hdparm-7.7/kernel_patches/README<br /> hdparm-7.7/kernel_patches/03_libata_standby_spinup.patch<br /> hdparm-7.7/hdparm.c<br /> hdparm-7.7/hdparm.8<br /> hdparm-7.7/README.acoustic<br /> hdparm-7.7/hdparm.lsm<br /> hdparm-7.7/identify.c<br /> hdparm-7.7/TODO<br /> hdparm-7.7/contrib/<br /> hdparm-7.7/contrib/fix_standby.c<br /> hdparm-7.7/contrib/ultrabayd<br /> hdparm-7.7/contrib/README<br /> hdparm-7.7/contrib/idectl<br /> hdparm-7.7/contrib/fix_standby<br /> hdparm-7.7/sgio.c<br /> hdparm-7.7/debian/<br /> hdparm-7.7/debian/hdparm.init<br /> hdparm-7.7/debian/hdparm.conf<br /> hdparm-7.7/Makefile<br /> hdparm-7.7/hdparm-sysconfig<br /> hdparm-7.7/hdparm.h<br /> [root@MyBookWorld src]# cd hdparm-7.7<br /> [root@MyBookWorld hdparm-7.7]# ./configure<br /> bash: ./configure: No such file or directory<br /> [root@MyBookWorld hdparm-7.7]#</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-71663</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-71663</link>
				<description></description>
				<pubDate>Sat, 24 Nov 2007 19:42:52 +0000</pubDate>
				<wikidot:authorName>Lum</wikidot:authorName>				<wikidot:authorUserId>53503</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>How are you starting mediatomb? are you starting it from inittab using ::sysinit: If you are try using ::once: instead.</p> <p>I ran into this exact problem earlier today (only using vsftpd), and read the manual for busybox init, apparently if you start something with sysinit, then init will wait until that program exits before continuing, wheras using once spawns the process and carries on.</p> <p>Since it's ultimately the job of init to clean up those zombie processes, they will never get sorted if you don't do this.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-67317</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-67317</link>
				<description></description>
				<pubDate>Mon, 12 Nov 2007 21:25:40 +0000</pubDate>
				<wikidot:authorName>Freshman</wikidot:authorName>				<wikidot:authorUserId>42501</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>Also, if somebody with a single disk MBWE could test if the scripts actually work with it, it would be appreciated :)</p> </blockquote> <p>I have MBWE with single disk 500&nbsp;Gb and now trying your how-to - I'm ready to be your personal BETA tester :)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-67315</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-67315</link>
				<description></description>
				<pubDate>Mon, 12 Nov 2007 21:23:17 +0000</pubDate>
				<wikidot:authorName>Freshman</wikidot:authorName>				<wikidot:authorUserId>42501</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>2 kyyhkynen:<br /> testing your howto (spindown , temperature and RAMdisk scripts are started automatically) - about 15 min MyBookWE seems to be suspended.</p> <p>A 'freshman' question - can I see somehow how many times HDD has been spinned up and down? I want to let MyBook work for the long time</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-65706</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-65706</link>
				<description></description>
				<pubDate>Wed, 07 Nov 2007 16:36:18 +0000</pubDate>
				<wikidot:authorName>ArTi</wikidot:authorName>				<wikidot:authorUserId>36653</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>thanks for your howto lyyhkynen.</p> <p>but another question for a linux beginner:<br /> how do you enable the log temperature to make a html page like your to check the graph ?</p> <p>can u make a tuto about that ?</p> <p>i have try to enable myself but i'm not sure that have work:<br /> i have edit the temperature script ( /usr/sbin/temperature_monitor )<br /> and modify to:</p> <ol> <li>Logging stuff</li> </ol> <p>LOG_ENABLED=true<br /> LOG_INTERVAL=5<br /> #LOGGER=echo<br /> LOGGER=logger</p> <p>it's right ? if yes now how i build the html ?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-65575</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-65575</link>
				<description></description>
				<pubDate>Wed, 07 Nov 2007 07:48:25 +0000</pubDate>
				<wikidot:authorName>kyyhkynen</wikidot:authorName>				<wikidot:authorUserId>42146</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>One little thing I noticed is on the bottom line below (taken from your tutorial) it should be ntp.sh but a 'd' has slipped in the middle of it. Is fine everywhere else.</p> </blockquote> <p>Whoops, thanks for noting that :)<br /> Fixed.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-65399</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-65399</link>
				<description></description>
				<pubDate>Tue, 06 Nov 2007 19:36:26 +0000</pubDate>
				<wikidot:authorName>iondy</wikidot:authorName>				<wikidot:authorUserId>34331</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks kyyhkynen!!! :)</p> <p>All seems to be running fine so far, just testing it to see when/if/why it decides to spin-up now. Will let you know. :)</p> <p>One little thing I noticed is on the bottom line below (taken from your tutorial) it should be ntp.sh but a 'd' has slipped in the middle of it. Is fine everywhere else.</p> <p>Then copy the driftfile to the RAM disk and restart ntpd:</p> <p># cp /etc/ntp.drift /mnt/ramdisk<br /> # /etc/init.d/ntpd.sh restart</p> <p>Many thanks for the tutorial, a great help!!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-65249</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-65249</link>
				<description></description>
				<pubDate>Tue, 06 Nov 2007 10:14:59 +0000</pubDate>
				<wikidot:authorName>kinji</wikidot:authorName>				<wikidot:authorUserId>41890</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks a lot will try this as soon as possible. Hope my MBWE is gonna be cool &amp; quiet :) (Actually it spin up every 1h or so, I suppose it's not a really good thing, especially since I don't use it more than 10h a week).</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-65222</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-65222</link>
				<description></description>
				<pubDate>Tue, 06 Nov 2007 08:30:09 +0000</pubDate>
				<wikidot:authorName>kyyhkynen</wikidot:authorName>				<wikidot:authorUserId>42146</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Ok, I finally added the ram disk part to the guide.<br /> <a href="http://kyyhkynen.net/stuff/mybook/" >Making a MBWE cool and quiet</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-64846</guid>
				<title>Re: MyBook Spindown - Broke MyBookWorld !</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-64846</link>
				<description></description>
				<pubDate>Mon, 05 Nov 2007 05:20:36 +0000</pubDate>
				<wikidot:authorName>lukasc</wikidot:authorName>				<wikidot:authorUserId>48367</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>fixed!</p> <p>Purchased a SATA hard drive enclosure. Booted my MacBook Pro using the System Rescue CD. Mounted Disk A using USB. Did an e2fsck -y /dev/sdb1 …. all the way to sbd4. It looked like sdb1 had some errors. Likely prevented booting.</p> <p>Have spent many hours getting the spindown to work. Seems to be working for the most part… I can't believe how hot the drives were getting before!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-64752</guid>
				<title>MyBook Spindown - Broke MyBookWorld !</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-64752</link>
				<description></description>
				<pubDate>Sun, 04 Nov 2007 22:36:30 +0000</pubDate>
				<wikidot:authorName>lukasc</wikidot:authorName>				<wikidot:authorUserId>48367</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>I just went through the procedures, and on my last reboot, found that the system does not start up again. Ping, Web, ssh no longer work.</p> <p>The procedure I followed is:<br /> - SSH access <a href="http://martin.hinner.info/mybook/sshaccess.php">http://martin.hinner.info/mybook/sshaccess.php</a><br /> - Spin down <a href="http://kyyhkynen.net/stuff/mybook/#smartspindown">http://kyyhkynen.net/stuff/mybook/#smartspindown</a><br /> - WAITTIME=30<br /> - followed up to steps 5. Received messages about disk being used, hence followed the disk usage reduction procedure.<br /> - Alternative Temperature Monitoring script, done.<br /> - Reducing Disk Usage, <a href="http://kyyhkynen.net/stuff/mybook/#reducediskusage">http://kyyhkynen.net/stuff/mybook/#reducediskusage</a><br /> for this, I performed steps 1-6 (but did not reboot), then did 7, then rebooted.</p> <p>After rebooting, the system does not start.<br /> When I re-power the system, the hard-drives spin up, then there is some disk activity for about 10 seconds, then silence, and no activity. The light doesn't turn on (probably because I disabled it in one of the steps).</p> <p>My switch keeps lists of DHCP requests, and the Worldbook does not appear to have asked for one.</p> <p>It seems that restoring the system is not straightforward given that there is no human interface.<br /> I also have some data there that I would like to recover.</p> <p>Any ideas on how to get this running again?</p> <p>I am thinking of hooking up the disk to an external hard drive enclosure to copy the data.</p> <p>Any help appreciated.<br /> thank you<br /> Lukas</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-64160</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-64160</link>
				<description></description>
				<pubDate>Fri, 02 Nov 2007 17:48:46 +0000</pubDate>
				<wikidot:authorName>JKrueger</wikidot:authorName>				<wikidot:authorUserId>47839</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi folks,</p> <p>am I the only one to get an</p> <p>HDIO_DRIVE_CMD(standby) failed: Invalid argument</p> <p>error when the script is trying to supsend the drive?</p> <p>Any ideas ho to fix that?</p> <p>And one more thing in noticed, I can not run ./configure when I downloaded hdparm since there simply is no such script.</p> <p>- Jens</p> <p>P.S.: And beeing a noop on linux I would really apreciate a ramdisk howto :-)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-62270</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-62270</link>
				<description></description>
				<pubDate>Sat, 27 Oct 2007 10:08:27 +0000</pubDate>
				<wikidot:authorName>bobbywise</wikidot:authorName>				<wikidot:authorUserId>41136</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi Kyyhynen,</p> <p>The zombie processes were due to having mediatomb starting at boot time via a file in /etc/init.d/ , so finally it was nothing to do with the mods you suggested for spindown !</p> <p>I should have spotted that fact earlier !!! Now to determine how to get mediatomb started automatically without these zombie processes ….</p> <p>Cheers</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-61419</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-61419</link>
				<description></description>
				<pubDate>Wed, 24 Oct 2007 09:36:01 +0000</pubDate>
				<wikidot:authorName>nikos</wikidot:authorName>				<wikidot:authorUserId>45227</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>On my single drive 500gb MBWE i also had to set :</p> <p>local master = no</p> <p>in smb.conf cause it kept writing some netbios stuff on a log</p> <p>The only thing that kept spinning the disk up now (overnight) is ntpd writing to "ntp.drift.temp".</p> <p>Any ideas?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-61418</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-61418</link>
				<description></description>
				<pubDate>Wed, 24 Oct 2007 09:34:42 +0000</pubDate>
				<wikidot:authorName>nikos</wikidot:authorName>				<wikidot:authorUserId>45227</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>On my single drive 500gb MBWE i also had to set :</p> <p>local master = no</p> <p>in smb.conf cause it kept writing some netbios stuff on a log</p> <p>The only thing that kept spinning the disk up now (overnight) is ntpd writing to "ntp.drift.temp".</p> <p>Anyideas?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-61039</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-61039</link>
				<description></description>
				<pubDate>Tue, 23 Oct 2007 04:36:38 +0000</pubDate>
				<wikidot:authorName>Freshman</wikidot:authorName>				<wikidot:authorUserId>42501</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Yep, there is a new thread <strong>Recovering fstab</strong></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-60903</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-60903</link>
				<description></description>
				<pubDate>Mon, 22 Oct 2007 20:16:12 +0000</pubDate>
				<wikidot:authorName>Zium</wikidot:authorName>				<wikidot:authorUserId>39706</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Moved</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-60893</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-60893</link>
				<description></description>
				<pubDate>Mon, 22 Oct 2007 20:06:09 +0000</pubDate>
				<wikidot:authorName>Freshman</wikidot:authorName>				<wikidot:authorUserId>42501</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Seems that my mybook is not lucky one (I have been trying to install nano from this how-to:<a href="http://www.welped.com/2007/09/03/an-easier-editor-option-for-mybook/">http://www.welped.com/2007/09/03/an-easier-editor-option-for-mybook/</a><br /> but got compilation problems with proto.h and browser.c)</p> <p>I have Windows comp and old linux laptop (thinkpad 600e - does not look promising).<br /> Just thinking about using Ubuntu Live CD on the desktop - hope it does support SATA drives</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-60876</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-60876</link>
				<description></description>
				<pubDate>Mon, 22 Oct 2007 19:34:23 +0000</pubDate>
				<wikidot:authorName>Zium</wikidot:authorName>				<wikidot:authorUserId>39706</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Moved</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-22545#post-60875</guid>
				<title>Re: MyBook Spindown ?</title>
				<link>http://mybookworld.wikidot.com/forum/t-22545/mybook-spindown#post-60875</link>
				<description></description>
				<pubDate>Mon, 22 Oct 2007 19:28:11 +0000</pubDate>
				<wikidot:authorName>Freshman</wikidot:authorName>				<wikidot:authorUserId>42501</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The reason for "bricking down" of mybook was not in unplugging the usb drive. I think that something happend when I've edited <strong>/etc/fstabt</strong> file (have used 'vi' maybe second time in my life)</p> <p>After rebooting the drive I can't get in to the drive anymore.<br /> Drive is powering down correctly by power button, which LEDs dimming.</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>