<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cyberward.net &#187; Computers</title>
	<atom:link href="http://www.cyberward.net/blog/category/computers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cyberward.net/blog</link>
	<description>The Drive Failures and Shutter Clicks of Christopher Ward</description>
	<lastBuildDate>Mon, 03 Oct 2011 13:00:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Drobo S for Photographers</title>
		<link>http://www.cyberward.net/blog/2010/11/drobo-s-for-photographers/</link>
		<comments>http://www.cyberward.net/blog/2010/11/drobo-s-for-photographers/#comments</comments>
		<pubDate>Mon, 22 Nov 2010 13:38:50 +0000</pubDate>
		<dc:creator>Chris Ward</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Reviews/Thoughts]]></category>
		<category><![CDATA[Beyond Raid]]></category>
		<category><![CDATA[Drobo]]></category>
		<category><![CDATA[Drobo S]]></category>
		<category><![CDATA[raid]]></category>

		<guid isPermaLink="false">http://www.cyberward.net/blog/?p=2432</guid>
		<description><![CDATA[Some of you may know that I had my computer and several hard drives stolen. Most of that data was backed up other places, but in a miss mash of backup drives. I had 4 external drives hooked up to my computer. A TimeMachine backup, a main images drive, a drive with video, and a [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-2433 alignleft" title="Drobo S Image" src="http://www.cyberward.net/blog/wp-content/uploads/drobo-s.jpg" alt="" width="250" height="234" /></p>
<div>
<p>Some of you may know that I had my computer and several hard drives stolen. Most of that data was backed up other places, but in a miss mash of backup drives. I had 4 external drives hooked up to my computer. A TimeMachine backup, a main images drive, a drive with video, and a drive of older images. It and the video drive were usually not switched on. They didn&#8217;t go to sleep well.</p>
<p>It was a big pain. I decided to upgrade. I would buy one unit that would hold all of my current space needs, and provide some redundancy. I went with a Drobo S. I got it Friday, and went to work getting setup. (It is now Sunday Night and I have it all working. My images are on the Drobo, and my Lightroom and Aperture catalogs are on my desktop and all talking to each other)</p>
<p>The drobo unit is not cheap, but still I was surprised to see that all cable options were included. They have a USB2, a Firewire 800, and an eSATA cable.</p>
<p>I was a little surprised that the drives that I ordered with the unit (Direct from Drobo) didn&#8217;t come preinstalled. They are in very generic, straight out of a bulk shipment, from Western Digital. The drives come out of their boxes and insert easily with no cables to attach. Just drop them in. The cover on the Drobo S at least, is magnetic. That&#8217;s right, no tools required to put drives in or out. I like that a lot.</p>
<p>I also noticed that it does have the little lock slot on the back, which I intend to use. However, because the drives are so easy to get in, there is no way to lock the drives into the device. I guess I will be hoping that the next idiots that break in, if it happens, just get frustrated when the device is locked, and leave it with the drives still inside.</p>
<p>I hooked the Drobo up using the supplied firewire 800 cable. I will see how that is working out speed wise over the next couple of weeks. I will store my images in the Drobo, so it will be interesting to see how it works out. I have done this in the past with USB2.0 only, but I have another option in mind. OWC has an upgrade option, where you send in your computer and they upgrade it to have an eSATA port. It would be underneath where the vents are. This might be tempting, but then I would have to be without the computer for awhile again.</p>
<p>I had 4 different external hard drives that my data was scattered over, 3 of which had a backup. They are all getting combined into the one Drobo. I have 5 1TB drives in this thing. With their Beyond Raid tech, I have single drive failure protection, and 3.62TB of available space for my data. Lets get going…</p>
<p>The first thing I did was to create two volumes. I wanted to do this to provide 1 volume for TimeMachine. If I just provided a folder, not a volume, TimeMachine would never prune and delete old files, just keep on growing. I didn&#8217;t want that. I am a little confused about what happened. You have to choose a maximum size, and you have to pick less than the available drive space in order to create multiple volumes. I picked 2TB, and it created two volumes each 2TB. I should be able to add more space later to use the extra (I have less than 4TB, remember). The part I am not sure, is that I read a post that said the second volume will be allowed to expand past that 2TB when you add larger drives. I don&#8217;t know about that. I might need to do a shuffle when that happens. It would be better if you could set separate sizes in the Drobo Dashboard config tool. I could set 2TB for TimeMachine, and 12TB or more for the other volume. If it is possible, it sure isn&#8217;t clear in the tool or the help files.</p>
<p>Time to copy some data.</p>
<p>I plugged in one of the external hard drives to my computer and started to copy files. This will take awhile.</p>
<p>I came back to the computer (after a night of copying data) and found everything silent. The computer had gone to sleep (set to 3h, 1 drive copy had finished successfully), the drobo lights were off, the fans were silent. Very cool. That I like to see.</p>
<p>I don&#8217;t have enough time with the unit right now to give any more data than this, but it seems to be working just fine. My Drobo and the 5 supplied drives are working well. I do wish I could see the temperature of the drives or get individual SMART data from them, but the DROBO is supposed to alert me if something is going wrong.</p>
<p>I&#8217;ll let you know more as I learn it.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberward.net/blog/2010/11/drobo-s-for-photographers/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>The price of forced overtime</title>
		<link>http://www.cyberward.net/blog/2009/12/the-price-of-forced-overtime/</link>
		<comments>http://www.cyberward.net/blog/2009/12/the-price-of-forced-overtime/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 11:00:06 +0000</pubDate>
		<dc:creator>Chris Ward</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[My Comments/Rants]]></category>

		<guid isPermaLink="false">http://www.cyberward.net/blog/?p=1685</guid>
		<description><![CDATA[The picture is an old office cube of mine taken with an iPhone, and has nothing to do with the post, other than it is about the office. But not &#8220;The Office&#8221;. I am a part of a large group that has been told that working Saturdays for the next 2 months is mandatory. Many [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.cyberward.net/blog/wp-content/uploads/office.jpg"><img class="alignnone size-full wp-image-1686" title="office" src="http://www.cyberward.net/blog/wp-content/uploads/office.jpg" alt="office" width="500" height="279" /></a></p>
<p>The picture is an old office cube of mine taken with an iPhone, and has nothing to do with the post, other than it is about the office. But not &#8220;The Office&#8221;. I am a part of a large group that has been told that working Saturdays for the next 2 months is mandatory. Many have been working overtime for several months already.</p>
<p>So, why do people ever need to work overtime? Pretty simple really: it is perceived that there is more work to get done before the delivery date than managers think can get done within normal working hours. What I started to wonder, is if this will really get more done. If you do simple math, adding 8 hours to everyone&#8217;s day sounds like it gives you more time to get more done. Sounds like it, but you take human emotion out of the equation.</p>
<p>We can all do more for short periods of time, especially if we see the value in it. We see value sometimes when we feel like it is our responsibility to contribute to the company, or when we feel a sense of loyalty to a product, or group that will use the product. Or, we can see value to us in particular when we are given something in trade. This can be extra income, time off, or something else that is seen as a reward, and that our time was valued.</p>
<p>When this sense of value is missing, it becomes a very different equation. It is also why contractors (like myself) are not as annoyed by mandatory work. We get paid by the hour usually. We get paid more for coming in. On the other hand, when a salaried employee is forced to come in, they need to feel a sense of value. When the employee only sees the employment as a job, or starts to feel like they are being asked too much, management no longer get the extra they are looking for.</p>
<p>People want to feel valued, and feel like the effort they are putting in is compensated accordingly. When someone feels like one side of the equation has been altered, they change the other side. Sometimes this is even done subconsciously. People may not rush into work. Take longer lunches. Go for a longer coffee break. When someone would normally work an extra 15-30 min at the end of work to finish something, now they no longer start something new 30 min to an hour before end of work. Maybe they decide to use the sick days when they have a cold that before they would have worked through. That extra day, it isn&#8217;t an 8 hour day. In late, out early, going off site for lunch&#8230;</p>
<p>Don&#8217;t forget the lasting issues. Contractors come and go. Some might go early&#8230; Employees can look for other work. It is expensive to lose business knowledge. The feeling of loss of trust and being undervalued are very difficult to get back. You can loose it in a single email. It can take months to get back, if it ever does&#8230;</p>
<p>So what do you do as a project manager and your project is behind. You need the employees to feel invested in the extra effort. And you need to ask. You may be surprised at the effort you get when you ask. Trust me, whether it is telling kids or adults they have to do something, or giving them a choice, choice wins out every time. The other issue, is that people have lives outside of work. Saturdays may not work for some people. What if they would work 48 hours a week spread out over the week? What if they could squeeze more into the day than they do right now? What if you and the employee could agree on the extra work that needed to be done, and then let the employee get it done on their own schedule? What if they are offered something out front whether that is some time off, or even movie tickets. What do you think the response will be?</p>
<p>Which takes more work out of management? A mass email, or an individual meeting with each employee to discuss the situation that you are in? Pretty obvious, but the bigger problems will come if you take the easy way out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberward.net/blog/2009/12/the-price-of-forced-overtime/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>I hate pair programming</title>
		<link>http://www.cyberward.net/blog/2009/11/i-hate-pair-programming/</link>
		<comments>http://www.cyberward.net/blog/2009/11/i-hate-pair-programming/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 14:22:05 +0000</pubDate>
		<dc:creator>Chris Ward</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.cyberward.net/blog/?p=1624</guid>
		<description><![CDATA[¬† First, to clarify, I don&#8217;t hate the two lovely girls in this picture, but they can be quite the pair. Second, my mother told me never to say hate, so maybe that was not a good title. How about &#8220;I detest pair programming.&#8221; Don&#8217;t get me wrong, I don&#8217;t want to be stuck in [...]]]></description>
			<content:encoded><![CDATA[<p><a class="tt-flickr tt-flickr-Medium" title="Hand in Hand" href="http://www.flickr.com/photos/v3ggi32u/2745088032/"><img class="alignnone" src="http://farm4.static.flickr.com/3049/2745088032_c9ec585cfe.jpg" alt="Hand in Hand" width="500" height="393" /></a>¬†</p>
<p>First, to clarify, I don&#8217;t hate the two lovely girls in this picture, but they can be quite the pair. Second, my mother told me never to say hate, so maybe that was not a good title. How about &#8220;I detest pair programming.&#8221;</p>
<p>Don&#8217;t get me wrong, I don&#8217;t want to be stuck in a cave for a couple of months and then crawl out bleary eyed and pronounce that I have created the perfect piece of code. I love collaboration. I go to others for help, input, guidance,¬†or to reciprocate for someone else.</p>
<p>What I¬†don&#8217;t like, is sitting¬†in a cube with two people where one person types and the¬†other looks over their shoulder all day.¬†Maybe I haven&#8217;t had the right person to do this with. Maybe¬†that is why the pair of kids in the picture works. They have their issues, but they get along well, and have similar goals most of the time.</p>
<p>When I am paired with someone, and they have the keyboard, I just feel like one of two things occurs. I am sitting there bored wondering why they just don&#8217;t let me type, or they are whipping through some material I have never worked with, and I am lost when I don&#8217;t get to &#8220;drive&#8221;. When I have the keyboard, I just find it annoying to have someone asking if the code could be done differently every 5 minutes. I don&#8217;t mind getting feedback, and code reviews are great. I have no problem working on a task, checking for ideas, implementing my approach, then getting feedback, and maybe refactoring. I just don&#8217;t like it in real time.</p>
<p>I don&#8217;t see the benefit. Luckily it only looks like we are doing this while several of us are new. It won&#8217;t last forever. Have you ever had to work for an extended time period in a pair? Did it work?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberward.net/blog/2009/11/i-hate-pair-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Job</title>
		<link>http://www.cyberward.net/blog/2009/09/new-job/</link>
		<comments>http://www.cyberward.net/blog/2009/09/new-job/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 13:08:38 +0000</pubDate>
		<dc:creator>Chris Ward</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[My Comments/Rants]]></category>

		<guid isPermaLink="false">http://www.cyberward.net/blog/?p=1507</guid>
		<description><![CDATA[I start today out at Thompson Reuters. I have a new java contract for at least the end of the year. We will see how it goes with me and the project whether it lasts longer. This marks the end of a great summer. I was able to spend a lot of time with the [...]]]></description>
			<content:encoded><![CDATA[<p>I start today out at Thompson Reuters. I have a new java contract for at least the end of the year. We will see how it goes with me and the project whether it lasts longer.</p>
<p>This marks the end of a great summer. I was able to spend a lot of time with the girls, and I am grateful for the opportunity. I have mixed feeling about starting. I would like to be able to pick Kate up from the bus everyday, and get to spend time playing with them and doing things like going to the zoo. On the other hand, I miss the working with a group aspects of my java jobs, and the sitting down and coming up with a solution to a problem. Maybe I will get to do it again sometime&#8230;</p>
<p>Many years ago, I was out at what was then called West Publishing working on some of the back end mainframe code for the Westlaw search engine. Now I am back on a team that is doing some of the conversion to newer technologies.</p>
<p>One of the things that I am psyched about is that this is a team that is practicing Agile methodologies, which should be a lot of fun. I haven&#8217;t been on a true Agile team before, and I am looking forward to it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberward.net/blog/2009/09/new-job/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Traveling Photographers Laptop?</title>
		<link>http://www.cyberward.net/blog/2009/06/the-traveling-photographers-laptop/</link>
		<comments>http://www.cyberward.net/blog/2009/06/the-traveling-photographers-laptop/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 12:00:51 +0000</pubDate>
		<dc:creator>Chris Ward</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[macbookpro]]></category>

		<guid isPermaLink="false">http://www.cyberward.net/blog/?p=1288</guid>
		<description><![CDATA[Apple released some new hardware on Monday. I always get psyched when that happens. Well, sometimes it is just a speed bump, and a &#8220;what ever&#8221;, but Monday has some interesting things introduced. The 13&#8243; MacBook, the one with the aluminium case got promoted to a MacBookPro. They get to charge more for the laptops [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-1292" title="Apple MacBookPro 13 inch" src="http://www.cyberward.net/blog/wp-content/uploads/product-front-13.jpg" alt="Apple MacBookPro 13 inch" width="348" height="199" /></p>
<p>Apple released some <a href="http://arstechnica.com/apple/news/2009/06/apples-laptop-nomenclature-gets-shake-up-see-whats-new.ars">new hardware</a> on Monday. I always get psyched when that happens. Well, sometimes it is just a speed bump, and a &#8220;what ever&#8221;, but Monday has some interesting things introduced.</p>
<p>The 13&#8243; MacBook, the one with the aluminium case got promoted to a MacBookPro. They get to charge more for the laptops with a &#8220;Pro&#8221; at the end. <img src='http://www.cyberward.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  You can compare the the different models¬†at Apple <a href="http://www.apple.com/mac/whichmacbook/compare.html">here</a>. It did get firewire 800 and a new non removable battery that Apple claims to get up to 7 hours of life. Wow, that would be cool.</p>
<p>Right now I have a 15&#8243; MacBookPro, and it can feel a little big and heavy to carry around. The 13&#8243; is 4.5lbs, and the 15&#8243; is 5.5lbs. I think mine is a little heavier than that. The question though, is does the 13.3&#8243; screen at 1280&#215;800 and only a NVIDIA GeForce 9400M graphics processor cut it for image editing. Granted, this wouldn&#8217;t be designed to be the main image processing machine, but still&#8230; how big a trade off is it. We will have to wait and see what people think of the 9400M and running Photoshop/Lightroom/Aperture on it.</p>
<p>So I headed over to the Apple store, and I configured a 13&#8243; MacBookPro with the 2.53Ghz processor (faster one), 4gig of ram (default), and 256Gig of solid state hard drive. Total: $2299.¬†Yes, that&#8217;s right, a SSD. Living on the edge. You could get the 128Gig version and get the cost under $2000. I think that a SSD for travel would be a great option. No worry about moving parts, and they are generally a touch faster.</p>
<p>Still, $2000 for a laptop is still kind of expensive, but you could go with the regular 250Gig hard drive and the price is on $1499. Sounds much more palatable, but dang&#8230;. I want the SSD&#8230;</p>
<p>I won&#8217;t be rushing out to get one anyway. First of all, my current laptop keeps going and going and going. It is only a little over two years old, but I bought a refurbished model, so I was a bit behind the tech curve when I got. But the dang thing just works. I have installed Leopard, Aperture 2.1, Photoshop CS3, and it runs just fine. After a couple of years on a windows machine, I was¬†already cursing those laptops. This MacBookPro,¬†still works just fine. Sigh&#8230; no good compelling reason to upgrade.¬†</p>
<p>The other reason is that I always buy refurbished. I have an iPod, an iMac, and the MacBookPro that I have purchased refurbished. They have all worked out fabulously. I have saved quite a lot by doing that. So, if I was going to get one, I would wait for the next speed bump, and pick one up from the refurbished site. I wonder if any 13&#8243; models with a SSD will show up there&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberward.net/blog/2009/06/the-traveling-photographers-laptop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up Linux Software Raid</title>
		<link>http://www.cyberward.net/blog/2009/05/setting-up-linux-software-raid/</link>
		<comments>http://www.cyberward.net/blog/2009/05/setting-up-linux-software-raid/#comments</comments>
		<pubDate>Sat, 30 May 2009 12:00:55 +0000</pubDate>
		<dc:creator>Chris Ward</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mdadm]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.cyberward.net/blog/?p=973</guid>
		<description><![CDATA[This is part of our series on building a NAS. In this article we will get the box set up with a static IP address, and get your drives set up for RAID 1. We are assuming that at this point you have Ubuntu installed. We are gong to install software raid in a moment. [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-1204" title="Dual Drives for Raid 1" src="http://www.cyberward.net/blog/wp-content/uploads/dualdrive.jpg" alt="Dual Drives for Raid 1" width="329" height="173" />This is part of our series on building a NAS. In this article we will get the box set up with a static IP address, and get your drives set up for RAID 1.</p>
<p>We are assuming that at this point you have Ubuntu installed. We are gong to install software raid in a moment. The first thing I want to do is make sure we have a static ip address. Usually Ubuntu will start up with a dynamic ip address. This can make it more difficult to transfer files to this box, so lets make it static.<br />
<span id="more-973"></span></p>
<h3>Setting a static IP address</h3>
<p>Type ifconfig eth0, and you will see your current address.</p>
<p>Lets make it static. Note, typing sudo in front of commands lets you assume the privileges of the administrator, or super user.</p>
<pre class="linux">sudo nano /etc/network/interfaces</pre>
<p>We will replace the text there with this text, which will assign 10.0.0.50 to our server, and assume the gateway is at 10.0.0.1:</p>
<pre class="linux">auto eth0
iface eth0 inet static
address 10.0.0.50
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
gateway 10.0.0.1</pre>
<p>restart the network to get the new settings :</p>
<pre class="linux">sudo /etc/init.d/networking restart</pre>
<p>ifconfig eth0 and you should see the new settings.</p>
<p>If you want to see a whole lot more networking commands, see <a href="http://www.cyberciti.biz/tips/howto-ubuntu-linux-convert-dhcp-network-configuration-to-static-ip-configuration.html">here</a>.</p>
<h3>Finding out drives</h3>
<p>Great. Now before we can put two drives into a RAID 1 array, we need to tell linux what drives we are going to use for this.</p>
<p>How do we know what disks? I just type dmesg. This will scroll lots of stuff down the screen. If you are in the GUI at a terminal you can scroll. Otherwise type dmesg | less which will let you move through the text with the cursor keys.</p>
<p>This is all the hardware that was found and initialized. You will first see the ataX with X being the number of the drive. You need to look for a section after this that has letters like hda or sda. The drives I am using are SATA drives and they are <strong>sda</strong> and <strong>sdb</strong>. I could tell by the size of the drives. (press Q to exit less if you need to)</p>
<h3>Partition¬†for Raid 1</h3>
<p>Ok, lets tell Linux that we want those drives to be used for raid.</p>
<pre class="linux">sudo fdisk /dev/sda</pre>
<p>[p] will list the partitions. If you had one previously, you will see it. Remove them. Press d for delete, then give a partition number. (no need if you only had one)</p>
<p>Now add a [n]ew [p]rimary partition number [1] with default start and end (the whole disk)</p>
<pre class="linux">n [enter] p [enter] 1 [enter][enter][enter]</pre>
<p>Now [p] again to verify that the partition is there. Note the type: 83. Type [l] to see all the types. We need to set the type to fd for Linux software raid.</p>
<pre class="linux">t [enter] fd [enter]</pre>
<p>Now write the partition table and exit: w [enter]</p>
<p>Now we repeat the process with the other drive.</p>
<pre class="linux">sudo fdisk /dev/sdb</pre>
<p>And repeat the fdisk commands.</p>
<h3>Setting up mdadm for Raid1</h3>
<p>Ok, now for Linux software raid. First we need to install it.</p>
<pre class="linux">sudo apt-get install mdadm</pre>
<p>When I did this, I was prompted that citadel-server was being installed. This is what is used by default as the mail server. Mdadm is dependant on a mail server so it can mail you of failures. Pick an admin user and say no to external auth.</p>
<p>Once installed you can build an array. I am going to use two drives in a RAID 1, mirrored setup. This duplicates all the data on both drives. They are mirrored. This is the command with my drives used. You will substitute for your devices:</p>
<pre class="linux">sudo mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1</pre>
<p>This should tell you that the array /dev/md0 has started.</p>
<p>If you would like to see when the array is built:</p>
<pre class="linux">cat /proc/mdstat</pre>
<p>This will tell you how long it will take, or if it is done.</p>
<p>Ok, that&#8217;s it for now.¬† We will look at commands to manipulate the array in a later article in the series. Next up will be creating the resizable volumes on the array using LVM.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberward.net/blog/2009/05/setting-up-linux-software-raid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building a NAS</title>
		<link>http://www.cyberward.net/blog/2009/01/building-a-nas/</link>
		<comments>http://www.cyberward.net/blog/2009/01/building-a-nas/#comments</comments>
		<pubDate>Sun, 25 Jan 2009 15:05:45 +0000</pubDate>
		<dc:creator>Chris Ward</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.cyberward.net/blog/?p=486</guid>
		<description><![CDATA[As houses get multiple computers, we start using them for more things, and as we find more and more media files to keep around, it starts to make sense to look at a NAS, or¬†Network Attached Storage. For me, a NAS has made sense for some time. I don&#8217;t like having backup drives hanging off [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16822240010"><img class="alignleft size-full wp-image-490" title="22-240-010-03" src="http://www.cyberward.net/blog/wp-content/uploads/22-240-010-03.jpg" alt="22-240-010-03" width="180" height="135" /></a>As houses get multiple computers, we start using them for more things, and as we find more and more media files to keep around, it starts to make sense to look at a NAS, or¬†Network Attached Storage.<br />
<span id="more-486"></span><br />
For me, a NAS has made sense for some time. I don&#8217;t like having backup drives hanging off of each computer in the house, and sometimes you want access to files that are on one computer only. Instead, I like to have one backup location, and one location for saving shared files. Then all the music and video can get saved to one central location. I like having a storage system that is attached to the network via ethernet.</p>
<p><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16822122006"><img class="alignleft size-full wp-image-489" title="ReadyNAS" src="http://www.cyberward.net/blog/wp-content/uploads/22-122-006-11.jpg" alt="ReadyNAS" width="180" height="135" /></a>When I build my first NAS there were not the options we have today. Today, devices like the ReadyNAS,¬†and the Drobo exist, but they still seem expensive for what you get. I did a <a href="http://www.cyberward.net/blog/2008/08/new-storage-needed/">survey</a> of them in August. The pluses of those devices are lower power, and simplicity. The disadvantages seem to be cost and flexibility. So this series will be on building a NAS powered by Linux.</p>
<p>First, many people have a machine that could be used. For the purposes of this series, I will be looking for a machine that can use 4 drives. One CD-Rom to install the OS, one drive of any size or type (PATA, SATA) to hold the OS, and two more drives for the data. The data will be stored on a Linux software raid 1 array, forming a mirror. We will get into that much later.</p>
<p><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16813186151"><img class="alignleft size-full wp-image-488" title="Foxconn Motherboard" src="http://www.cyberward.net/blog/wp-content/uploads/13-186-151-ts.jpg" alt="Foxconn Motherboard" width="180" height="135" /></a>Anyway, my current box had failed. At one point I had a box that could only take PATA drives, so I added a SATA card. That is one way to go with older hardware, but I will not need it this time. My case, power supply, CD-ROM (actually a DVD, but it doesn&#8217;t matter unless you want to try creating backups onto DVDs) all work fine. What I need is a new motherboard, CPU, and memory. You may not need all three, but I usually update all three at once. This way you know they all work. Notice I did not mention video card, network card, or sound card? I don&#8217;t need sound on this box, and I will just look for a motherboard with built in video and Ethernet (they usually come with sound anyway). After a little searching on New Egg, this is what I came up with:</p>
<ul>
<li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16813186151">Foxconn A74MX-K AM2+/AM2 AMD 740G Micro ATX AMD Motherboard</a></li>
<li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16819103255">AMD Athlon X2 4850e 2.5GHz¬† AM2 45W Dual-Core Processor </a></li>
<li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16820227178">OCZ Platinum¬†(2 x 1GB) 240-Pin DDR2¬†1066 (PC2 8500)¬†Desktop Memory </a></li>
</ul>
<p>Total for the above: $140.97. Ok, I need to fess up. I kinda goofed on ordering the memory. I had a few different motherboards and memory kits in my saved list, and I picked the wrong one when I went to purchase. I don&#8217;t need the 1066 memory to go with this motherboard and CPU, but it won&#8217;t cause the box to catch fire and burn up at least <img src='http://www.cyberward.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  I could have saved a little bit more with PC-800, but oh well.</p>
<p>This motherboard has on board video, on board Gigabit Ethernet, 4 SATA connections, and 1 PATA conector (that you can attach 2 devices), so I can use my old DVD and OS drive. The CPU is not the fastest on the planet, but I picket it because at 45 watts, it is one of the cooler running CPU&#8217;s I could buy new. The memory, like I said was a bit of a mix up, but I went with 2 gig. That is overkill for a NAS. Sort of. It depends what you intend to run. In the past, I have run a desktop, and MythTV on this box too. When they were running with Samba, NFS, CVS, and Apache, I was running out of free memory with 1 gig, so to be safe, I went with 2. It will only cost you $20-$30 for¬†2 gig. With this box and this series I am only looking at running the file serving services, but you never know&#8230;</p>
<p><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16822136317"><img class="alignleft size-full wp-image-493" title="Hard Drive" src="http://www.cyberward.net/blog/wp-content/uploads/22-136-317-03.jpg" alt="Hard Drive" width="180" height="135" /></a>Ok, one last purchase. The drives. I am going to mirror 2 terrabyte drives. I went with the green drives from Western Digital. I had been using Seagate drives because of their 3 year warranties, but the green drives sounded appealing. I bought them a few months ago. 2 for $200. It was a deal then, about average now.</p>
<p>Assembling this is pretty easy. There are lots of tutorials that will go into more details, but I found even the documentation that came with the CPU and the motherboard to be not too bad. Here is an <a href="http://en.wikibooks.org/wiki/How_To_Build_A_Computer">article</a> on building computers. A couple of things to note: First, don&#8217;t use too much conductive heat paste between the CPU and the fan. If you buy a retail AMD CPU like the one above, it actually comes with some stuff already applied to the fan, and you can just use that. I usually scrape that off and use arctic silver. Second, the CPU&#8217;s are in a metal case now, and you don&#8217;t need to be quite so paranoid about crushing them with the fan. I say this because it will seem like you need a lot of pressure with the little lever to lock it down. Don&#8217;t worry, it will be fine. (likely) Third, I would insert the CPU and memory into the motherboard before putting it in the case, but others don&#8217;t. I set the motherboard on the static bag it came with, then some of the cardboard packaging it came with. Fourth, don&#8217;t forget to use a static strap, or make sure you ground yourself before touching anything. Have fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberward.net/blog/2009/01/building-a-nas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The NAS is still down</title>
		<link>http://www.cyberward.net/blog/2008/12/the-nas-is-still-down/</link>
		<comments>http://www.cyberward.net/blog/2008/12/the-nas-is-still-down/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 04:45:34 +0000</pubDate>
		<dc:creator>Chris Ward</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Building a NAS]]></category>

		<guid isPermaLink="false">http://www.cyberward.net/blog/?p=283</guid>
		<description><![CDATA[I got my Western Digital green 1TB drives the other day. That didn&#8217;t work. I got a new power supply, thinking that the new drives just took more power than the old clunker could muster. No luck. Still dead. Not sure what the issue is at the moment. I need more time to troubleshoot. The [...]]]></description>
			<content:encoded><![CDATA[<p>I got my Western Digital green 1TB drives the other day. That didn&#8217;t work. I got a new power supply, thinking that the new drives just took more power than the old clunker could muster. No luck. Still dead. Not sure what the issue is at the moment. I need more time to troubleshoot. The system takes forever to boot, whether it is the existing system disk, or a CD of Ubuntu. It sits there just after a boot logo for a long time. With the drives in, it never gets further. Without them, it eventually continues. I can&#8217;t figure out where it gets stalled. What could be causing this?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberward.net/blog/2008/12/the-nas-is-still-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2 Terrabytes of Backup Goodness. Maybe.</title>
		<link>http://www.cyberward.net/blog/2008/12/2-terrabytes-of-backup-goodness-maybe/</link>
		<comments>http://www.cyberward.net/blog/2008/12/2-terrabytes-of-backup-goodness-maybe/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 18:27:58 +0000</pubDate>
		<dc:creator>Chris Ward</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Building a NAS]]></category>

		<guid isPermaLink="false">http://www.cyberward.net/blog/?p=248</guid>
		<description><![CDATA[It doesn&#8217;t do much good to have any amount of backup if you can&#8217;t use it. Right now, the NAS, where I intended to put them appears dead. Not sure what happened. I powered down, put the new drives in, powered up with the newest Ubuntu server disk, and it dies on the install. Now [...]]]></description>
			<content:encoded><![CDATA[<p>It doesn&#8217;t do much good to have any amount of backup if you can&#8217;t use it. Right now, the NAS, where I intended to put them appears dead. Not sure what happened. I powered down, put the new drives in, powered up with the newest Ubuntu server disk, and it dies on the install.  Now it won&#8217;t start up at all. I get the Ubuntu graphic, then a blinking cursor. I am going to have to pull everything out, and put back pieces until it starts up. Just what I wanted to do.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberward.net/blog/2008/12/2-terrabytes-of-backup-goodness-maybe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Flash and Drives</title>
		<link>http://www.cyberward.net/blog/2008/12/new-flash-and-drives/</link>
		<comments>http://www.cyberward.net/blog/2008/12/new-flash-and-drives/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 17:27:37 +0000</pubDate>
		<dc:creator>Chris Ward</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Building a NAS]]></category>
		<category><![CDATA[SB400]]></category>
		<category><![CDATA[SB800]]></category>

		<guid isPermaLink="false">http://www.cyberward.net/blog/?p=185</guid>
		<description><![CDATA[Not a flash drive. A SB800 flash, and two Western Digital 1TB green drives. These should be arriving today via UPS. I am excited to get the SB800. I have a SB400 right now, but I am looking forward to trying out the new flash wirelessly. That will be cool. Also, the head turns better, [...]]]></description>
			<content:encoded><![CDATA[<p>Not a flash drive. A SB800 flash, and two Western Digital 1TB green drives. These should be arriving today via UPS.</p>
<p>I am excited to get the SB800. I have a SB400 right now, but I am looking forward to trying out the new flash wirelessly. That will be cool. Also, the head turns better, there is a pop up bounce card and it will be much easier to gel than the SB400.</p>
<p>The drives were needed. I discovered the other day that both of the raid 1 drives in my NAS were failing. It would appear that the cron job to run <a href="http://smartmontools.sourceforge.net/">smartmon</a> wasn&#8217;t working, and I didn&#8217;t get an email that the drives were failing. Yikes. Almost all of the properties were saying &#8220;old age&#8221;. The drives are only 1.5 years old too. I think part of the problem is that they never spin down. I need to figure out how to get that to happen. I don&#8217;t really need instantaneous access from my NAS, and it does sit idle (except for the drives unfortunately) most of the time.</p>
<p>More on the new toys as I get to use them&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberward.net/blog/2008/12/new-flash-and-drives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

