From 3dd26524dd93872b4286e9b84acaeaa4042b5392 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Tue, 17 Feb 2015 21:50:39 +0100 Subject: [PATCH] Added new page. --- _config.yml | 2 +- _posts/2013-03-16-wd-green-disks.md | 63 +++++++++++++++++++++++++++++ javascripts/main.coffee | 3 ++ javascripts/main.js | 1 - params.json | 8 +++- 5 files changed, 74 insertions(+), 3 deletions(-) create mode 100644 _posts/2013-03-16-wd-green-disks.md create mode 100644 javascripts/main.coffee delete mode 100644 javascripts/main.js diff --git a/_config.yml b/_config.yml index 3594d8e..21a3581 100644 --- a/_config.yml +++ b/_config.yml @@ -18,4 +18,4 @@ github: project_tagline: "Experimental Wiki with Jekyll" redcarpet: - extensions: ["autolink"] + extensions: ["autolink", "tables"] diff --git a/_posts/2013-03-16-wd-green-disks.md b/_posts/2013-03-16-wd-green-disks.md new file mode 100644 index 0000000..aaa4819 --- /dev/null +++ b/_posts/2013-03-16-wd-green-disks.md @@ -0,0 +1,63 @@ +--- +title: Western Digital GreenPower Disks +layout: default +created: 2013-03-16 17:26:55 +0100 +toc: true +tags: + - know-how + - hardware + - westerndigital + - greenpower + - wdgreen +--- +Advanced Format +=============== + +*Advanced Format* disks are optimized for 4kB sectors. To format them under Linux, use `parted` with `-a minimal` and unit type `s` (sectors). (see [here](http://wdc.custhelp.com/app/answers/detail/a_id/5655)) + + +IntelliPark +=========== + +*WD GreenPower* disks have some problems under Linux with their "head parking" feature parking the head every 8 seconds. This destroys the disk over a short time span. + +More info: + * http://www.sagaforce.com/~sound/wdantiparkd/ + * http://www.instantfundas.com/2011/12/intellipark-makes-western-digital-green.html + +Temporary fix +------------- + +To fix this, you have to disable it or set it to a more reasonable timeout: + +``` +$ sudo hdparm -S 242 /dev/sdX +``` + +You have to repeat this after each boot, so you may want to add the line to your `/etc/rc.local`. + + +Permanent fix +------------- + +To fix this permanently, you can compile the tool `wdidle3`. There's a bootable ISO available for download at [ngohq.com](http://www.ngohq.com/news/19805-critical-design-flaw-found-in-wd-caviar-green-hdds.html). +For Linux, there's **idle3ctl** from the [idle3-tools](http://idle3-tools.sf.net/). + +You can display the current value with the following command: + +``` +$ sudo ./idle3ctl -g /dev/sdX +Idle3 timer set to 80 (0x50) +``` + +The value 80 means 8 seconds (default). From 1-128, the values mean 1/10th of a second, e.g. 128 would be 12.8 seconds. 129-254 are in 30 seconds steps. 129 is 30 seconds, 130 is 60 seconds, etc. + +Set the desired value as follows: + +``` +$ sudo ./idle3ctl -s 158 /dev/sdX +Idle3 timer set to 158 (0x9e) +Please power cycle your drive off and on for the new setting to be taken into account. A reboot will not be enough! +``` + +Do as it says to enable the new setting. diff --git a/javascripts/main.coffee b/javascripts/main.coffee new file mode 100644 index 0000000..3b8fb34 --- /dev/null +++ b/javascripts/main.coffee @@ -0,0 +1,3 @@ +--- +--- +console.log 'This would be the main JS file.' diff --git a/javascripts/main.js b/javascripts/main.js deleted file mode 100644 index d8135d3..0000000 --- a/javascripts/main.js +++ /dev/null @@ -1 +0,0 @@ -console.log('This would be the main JS file.'); diff --git a/params.json b/params.json index 8c751c9..993513b 100644 --- a/params.json +++ b/params.json @@ -1 +1,7 @@ -{"name":"Wiki","tagline":"Experimental Wiki with Jekyll","body":"### Welcome to GitHub Pages.\r\nThis automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new branch:\r\n\r\n```\r\n$ cd your_repo_root/repo_name\r\n$ git fetch origin\r\n$ git checkout gh-pages\r\n```\r\n\r\nIf you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.\r\n\r\n### Designer Templates\r\nWe've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.\r\n\r\n### Rather Drive Stick?\r\nIf you prefer to not use the automatic generator, push a branch named `gh-pages` to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.\r\n\r\n### Authors and Contributors\r\nYou can @mention a GitHub username to generate a link to their profile. The resulting `` element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.\r\n\r\n### Support or Contact\r\nHaving trouble with Pages? Check out the documentation at http://help.github.com/pages or contact support@github.com and we’ll help you sort it out.\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."} \ No newline at end of file +{ + "name":"Wiki", + "tagline":"Experimental Wiki with Jekyll", + "body":"### Welcome to GitHub Pages.\r\nThis automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new branch:\r\n\r\n```\r\n$ cd your_repo_root/repo_name\r\n$ git fetch origin\r\n$ git checkout gh-pages\r\n```\r\n\r\nIf you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.\r\n\r\n### Designer Templates\r\nWe've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.\r\n\r\n### Rather Drive Stick?\r\nIf you prefer to not use the automatic generator, push a branch named `gh-pages` to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.\r\n\r\n### Authors and Contributors\r\nYou can @mention a GitHub username to generate a link to their profile. The resulting `` element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.\r\n\r\n### Support or Contact\r\nHaving trouble with Pages? Check out the documentation at http://help.github.com/pages or contact support@github.com and we’ll help you sort it out.\r\n", + "google":"", + "note":"Don't delete this file! It's used internally to help with page regeneration." +} \ No newline at end of file