<?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>Dave Lachapelle &#187; Computers</title> <atom:link href="http://www.davelachapelle.ca/category/computers/feed/" rel="self" type="application/rss+xml" /><link>http://www.davelachapelle.ca</link> <description>Web Technology Specialist</description> <lastBuildDate>Thu, 24 Feb 2011 22:29:58 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.5</generator> <item><title>Usage Based Billing (UBB) from a techie&#8217;s perspective</title><link>http://www.davelachapelle.ca/2011/02/24/usage-based-billing-ubb-from-a-techies-perspective/</link> <comments>http://www.davelachapelle.ca/2011/02/24/usage-based-billing-ubb-from-a-techies-perspective/#comments</comments> <pubDate>Thu, 24 Feb 2011 22:29:58 +0000</pubDate> <dc:creator>Jett</dc:creator> <category><![CDATA[Computers]]></category> <category><![CDATA[Internet]]></category> <category><![CDATA[Personal]]></category> <category><![CDATA[Technology]]></category><guid
isPermaLink="false">http://www.davelachapelle.ca/?p=201</guid> <description><![CDATA[I know a lot of Canadians are weighing in on UBB (not enough mind you) but a good chunk of us are. Meanwhile most other countries are pointing at Canada and laughing. So, I thought I&#8217;d take a few minutes, and jot down my own thoughts on the matter, mostly for my own benefit. In [...]]]></description> <content:encoded><![CDATA[<p>I know a lot of Canadians are weighing in on UBB (not enough mind you) but a good chunk of us are.  Meanwhile most other countries are pointing at Canada and laughing.  So, I thought I&#8217;d take a few minutes, and jot down my own thoughts on the matter, mostly for my own benefit.</p><p>In doing a bit of background research, I happened across a Canadian Heritage parody done by none other than Rick Mercer -- video after the jump.  To summarize -- Canada -- Gouging consumers since the advent of the telegraph.</p><p><span
id="more-201"></span></p><p><span
class="youtube"> <iframe
title="YouTube video player" class="youtube-player" type="text/html" width="480" height="295" src="http://www.youtube.com/embed/q0ZGkqQvAVw?color1=2b405b&amp;color2=6b8ab6&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=0&amp;hd=1" frameborder="0"></iframe> </span><p><a
href="http://www.youtube.com/watch?v=q0ZGkqQvAVw&fmt=18">www.youtube.com/watch?v=q0ZGkqQvAVw</a></p></p><p>I&#8217;m a self-professed tech guy, and I literally have spent the last 10 years of my life building / working on the web.  I also find things like network stacks / transmission interesting, so I&#8217;ve done a lot of reading on the topic.  So, armed with all that knowledge, I&#8217;ve been following this UBB  scandal with some significant interest.  I should also mention that in my house, we have <a
href="http://www.netflix.ca">Netflix</a> and make liberal use of the <a
href="http://www.boxee.tv">Boxee box</a> that Tania bought me.  With Tania being home / on mat leave -- we can pull anywhere from 3 GB -- 40 GB in a day.  Fortunately we&#8217;re signed up with a smaller ISP (<a
href="http://www.acanac.com">Acanac</a>) who are awesome and provide us unlimited bandwidth over cable for less than Rogers was screwing charging us.</p><p>Now, what does all that have to do with UBB -- well, lets say I was still paying Rogers (for their terrible service / low bandwidth caps) -- I&#8217;d be paying around $60 / month ($46.99 + modem rental + tax) for 60GB of bandwidth with $2 / GB of overage beyond 60GB.  Well, doing some quick math, average usage for my house is 450GB / month -- making my monthly bill from Rogers $840 / month.</p><p>Am I a &#8220;bandwidth hog&#8221;, I wouldn&#8217;t consider myself one, if I&#8217;m paying for 10mbit service, I expect to be able to use that 10mbit whenever and however I want.  If I decide I want to use 10mbit for an entire month, I&#8217;d better be able to pull down 2.5ish TB in a month without incurring overages.</p><p>Now, why am I writing all this -- because I do believe in UBB, go ahead and charge me for my usage, I really don&#8217;t have a problem with that.  The problem I have is with &#8220;what&#8221; they&#8217;re charging me.  Instead of charging me $2.00 / GB over a set limit, why not charge me a reasonable markup on what they pay for bandwidth.  If it costs them $0.05 / GB (which is what most people are estimating it actually costs Bell / Rogers), then they&#8217;d better not charge me more than $0.10 / GB -- plus a flat monthly fee for the connection (something like $20 / month seems reasonable).</p><p>So, if the CRTC decides to make Canadian ISP billing into a more utility based billing, they&#8217;d better damn well put limits on the markup ISPs can charge.  Of course all this is just me speculating -- Bell / Rogers owns the CRTC, and in the end will get what they want.</p> ]]></content:encoded> <wfw:commentRss>http://www.davelachapelle.ca/2011/02/24/usage-based-billing-ubb-from-a-techies-perspective/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Dealing with OS X resource forks in samba</title><link>http://www.davelachapelle.ca/2010/12/09/dealing-with-os-x-resource-forks-in-samba/</link> <comments>http://www.davelachapelle.ca/2010/12/09/dealing-with-os-x-resource-forks-in-samba/#comments</comments> <pubDate>Thu, 09 Dec 2010 16:22:29 +0000</pubDate> <dc:creator>Jett</dc:creator> <category><![CDATA[Apple]]></category> <category><![CDATA[Computers]]></category> <category><![CDATA[Servers]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[Unix]]></category><guid
isPermaLink="false">http://www.davelachapelle.ca/?p=194</guid> <description><![CDATA[Figured I&#8217;d put up a quick post. I&#8217;ve been growing more and more annoyed with OS X creating resource forks to some of my mapped samba drives, and after searching high and low for a method of disabling resource fork creation on network drives, I&#8217;ve effectively come up empty handed. Now, that being said, I [...]]]></description> <content:encoded><![CDATA[<p>Figured I&#8217;d put up a quick post.  I&#8217;ve been growing more and more annoyed with OS X creating resource forks to some of my mapped samba drives, and after searching high and low for a method of disabling resource fork creation on network drives, I&#8217;ve effectively come up empty handed.</p><p>Now, that being said, I did come up with a way of dealing with resource fork creation &#8211; while its not exactly elegant, it works.  It just so happens that all my servers are unix based, so to deal with resource fork cleanup, I just added a cronjob to my crontab.  This will delete all of OS X&#8217;s resource fork files in a specific folder (and subfolders).</p><p>0 */1 * * * find /var/www/ -name &#8216;._*&#8217; -print0 | xargs -t0 rm > /dev/null 2>&#038;1</p><p>Note, if you&#8217;re going to use this, change the path (/var/www/) to whatever path you want to cleanup.</p><p>Also &#8211; I take no responsibility for this, make sure you have your data backed up, and all that jazz before you use it.</p> ]]></content:encoded> <wfw:commentRss>http://www.davelachapelle.ca/2010/12/09/dealing-with-os-x-resource-forks-in-samba/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>9 + 1 Ways ISPs Screw You Over</title><link>http://www.davelachapelle.ca/2009/11/18/9-1-ways-isps-screw-you-over/</link> <comments>http://www.davelachapelle.ca/2009/11/18/9-1-ways-isps-screw-you-over/#comments</comments> <pubDate>Wed, 18 Nov 2009 18:07:06 +0000</pubDate> <dc:creator>Jett</dc:creator> <category><![CDATA[Computers]]></category> <category><![CDATA[Internet]]></category> <category><![CDATA[Technology]]></category><guid
isPermaLink="false">http://www.davelachapelle.ca/?p=176</guid> <description><![CDATA[Happened across an interesting / simple explanation for those who don&#8217;t know how ISPs screw their customers, and thought I would add another way ISPs screw over their customers. You can read the first 9 ways here: 9 Ways ISPs Screw You Over. 10.  ISPs advertise speeds in a way that only people who have an [...]]]></description> <content:encoded><![CDATA[<p>Happened across an interesting / simple explanation for those who don&#8217;t know how ISPs screw their customers, and thought I would add another way ISPs screw over their customers.</p><p>You can read the first 9 ways here: <a
href="http://www.billshrink.com/blog/9-ways-isps-screw-you/">9 Ways ISPs Screw You Over</a>.</p><p>10.  ISPs advertise speeds in a way that only people who have an understanding of how data is stored can translate.  For example, lets say you pay for a &#8220;10 meg&#8221; connection, thats not actually 10 Megabytes per second you&#8217;re capable of, its actually 10 Megabits.  Now, there&#8217;s quite the difference between Megabits and Megabits, but not so much a difference in the acronyms.  MBps is for Megabytes and Mbps is for Megabits.  The real issue here is if you pay for a 10 Megabit per second connection, your maximum transfer rate is only going to be 1.25 Megabytes per second (there are 8 bits in a byte).  Thats also theoretical, you can very rarely actually achieve the theoretical bandwidth provided by your ISP, unless you&#8217;re trying to load their homepage or hit a url that they detect doesn&#8217;t exist and throw you a page full of ads.</p><p>I&#8217;ve been a long supporter of transparency from ISPs, but we&#8217;re likely never to see that up here in Canada &#8211; at least not until the CRTC cracks down and decides we, the consumers, need some competition and not more monopolies.</p> ]]></content:encoded> <wfw:commentRss>http://www.davelachapelle.ca/2009/11/18/9-1-ways-isps-screw-you-over/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Ubuntu 8.04 iSCSI shutdown</title><link>http://www.davelachapelle.ca/2009/11/17/ubuntu-8-04-iscsi-shutdown/</link> <comments>http://www.davelachapelle.ca/2009/11/17/ubuntu-8-04-iscsi-shutdown/#comments</comments> <pubDate>Tue, 17 Nov 2009 18:02:49 +0000</pubDate> <dc:creator>Jett</dc:creator> <category><![CDATA[Computers]]></category> <category><![CDATA[Miscellaneous]]></category> <category><![CDATA[Servers]]></category> <category><![CDATA[Unix]]></category> <category><![CDATA[ubuntu open-iscsi]]></category><guid
isPermaLink="false">http://www.davelachapelle.ca/?p=173</guid> <description><![CDATA[Just a quick post today &#8211; I ran into the same issue many many other people seem to have, that being connecting to an iSCSI target in Ubuntu 8.04 means you cannot cleanly shut-down your system as it will hang during the shutdown process. I&#8217;ve been doing a little bit of research as to why [...]]]></description> <content:encoded><![CDATA[<p>Just a quick post today &#8211; I ran into the same issue many many other people seem to have, that being connecting to an iSCSI target in Ubuntu 8.04 means you cannot cleanly shut-down your system as it will hang during the shutdown process.  I&#8217;ve been doing a little bit of research as to why (because obviously this is very bad), and it seems as though whoever wrote the particular version of Open-ISCSI (2.0.865-1ubuntu3.3) decided it would be a good idea to shut down the iSCSI service before unmounting the disks.</p><p>So, I figured out a quick workaround &#8211; simply change the shutdown order, such that Open-ISCSI is shut down after the filesystems have been unmounted.</p><blockquote><p>cd /etc/rc0.d<br
/> sudo mv K25open-iscsi S80open-iscsi</p></blockquote><p>Your rc0.d folder should look something like this:</p><blockquote><p>lrwxrwxrwx 1 root root  17 2009-11-12 10:27 K20sysstat -&gt; ../init.d/sysstat<br
/> lrwxrwxrwx 1 root root  20 2009-11-12 09:28 K25hwclock.sh -&gt; ../init.d/hwclock.sh<br
/> lrwxrwxrwx 1 root root  26 2009-11-12 09:28 K59mountoverflowtmp -&gt; ../init.d/mountoverflowtmp<br
/> -rw-r&#8211;r&#8211; 1 root root 355 2009-01-23 10:01 README<br
/> lrwxrwxrwx 1 root root  22 2009-11-12 09:29 S15wpa-ifupdown -&gt; ../init.d/wpa-ifupdown<br
/> lrwxrwxrwx 1 root root  18 2009-11-12 09:28 S20sendsigs -&gt; ../init.d/sendsigs<br
/> lrwxrwxrwx 1 root root  17 2009-11-12 09:28 S30urandom -&gt; ../init.d/urandom<br
/> lrwxrwxrwx 1 root root  22 2009-11-12 09:28 S31umountnfs.sh -&gt; ../init.d/umountnfs.sh<br
/> lrwxrwxrwx 1 root root  18 2009-11-12 09:28 S40umountfs -&gt; ../init.d/umountfs<br
/> lrwxrwxrwx 1 root root  20 2009-11-12 09:28 S60umountroot -&gt; ../init.d/umountroot<br
/> lrwxrwxrwx 1 root root  20 2009-11-12 10:28 S80open-iscsi -&gt; ../init.d/open-iscsi<br
/> lrwxrwxrwx 1 root root  14 2009-11-12 09:28 S90halt -&gt; ../init.d/halt</p></blockquote><p>Then, next time you reboot, it should unmount the disks and then stop open-iscsi.</p> ]]></content:encoded> <wfw:commentRss>http://www.davelachapelle.ca/2009/11/17/ubuntu-8-04-iscsi-shutdown/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Sun buys MySQL, Oracle buys Sun&#8230;</title><link>http://www.davelachapelle.ca/2009/04/22/sun-buys-mysql-oracle-buys-sun/</link> <comments>http://www.davelachapelle.ca/2009/04/22/sun-buys-mysql-oracle-buys-sun/#comments</comments> <pubDate>Wed, 22 Apr 2009 14:30:29 +0000</pubDate> <dc:creator>Jett</dc:creator> <category><![CDATA[Computers]]></category> <category><![CDATA[Servers]]></category> <category><![CDATA[Unix]]></category><guid
isPermaLink="false">http://www.davelachapelle.ca/?p=130</guid> <description><![CDATA[So, big news of the week, Oracle just bought Sun Microsystems for some ridiculous amount of money ($7.4 billion in cash).  Aside from the obvious moanings of how I wish I had $7.4 billion in cash just sitting around so I can buy up companies like playing monopoly, this deal has me (and likely a [...]]]></description> <content:encoded><![CDATA[<p>So, big news of the week, <a
href="http://www.oracle.com/us/corporate/press/018363" target="_blank">Oracle just bought Sun Microsystems</a> for some ridiculous amount of money ($7.4 billion in cash).  Aside from the obvious moanings of how I wish I had $7.4 billion in cash just sitting around so I can buy up companies like playing monopoly, this deal has me (and likely a number of other people) wondering about the future of <a
href="http://www.mysql.com" target="_blank">MySQL</a> now that its going to be owned by Oracle.</p><p>I&#8217;ve been reading up on the topic a lot, and it seems as though no one&#8217;s really talking about whats going to happen with <a
href="http://blogs.mysql.com/kaj/2008/01/16/sun-acquires-mysql/" target="_blank">Sun&#8217;s newest acquisition</a>.  I can&#8217;t say I&#8217;m not just a little concerned, since all of our work here at <a
href="http://www.mrx.ca" target="_blank">MRX</a> is powered by MySQL databases.  Thats not to say I&#8217;m afriad of Oracle, just its both expensive (as in not free) and complex.  I&#8217;d argue, so complex that not many people out there who know Oracle are looking for work.</p><p>One interesting point I did find when reading up on the topic that I didn&#8217;t really know, is that Oracle does own a number of other database systems including TimesTen, Berkeley DB open source, as well as InnoDB.  However, none of these directly competes with Oracle, whereas MySQL does.  So, the question is, do they monitize MySQL to a lesser degree than Oracle (while maintaining some form of stripped down free version), do they drop MySQL alltogether and provide some form of migration path to Oracle 11g, or do they simply let both co-exist and continue monitizing Oracle.</p><p>If I had to guess, I&#8217;d say they will likely monitize MySQL to a lesser degree than Oracle, probably in the form of support contracts mostly, and still continue to provide a free open source version of MySQL.  Obviously they would charge for any new features they decide to add to MySQL along the way.  Probably very similar to Redhat Enterprise&#8217;s business model &#8211; seems to be successful for them.</p> ]]></content:encoded> <wfw:commentRss>http://www.davelachapelle.ca/2009/04/22/sun-buys-mysql-oracle-buys-sun/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Ubuntu Jaunty Jackalope</title><link>http://www.davelachapelle.ca/2009/04/21/ubuntu-jaunty-jackalope/</link> <comments>http://www.davelachapelle.ca/2009/04/21/ubuntu-jaunty-jackalope/#comments</comments> <pubDate>Tue, 21 Apr 2009 13:26:52 +0000</pubDate> <dc:creator>Jett</dc:creator> <category><![CDATA[Computers]]></category> <category><![CDATA[Servers]]></category> <category><![CDATA[Unix]]></category><guid
isPermaLink="false">http://www.davelachapelle.ca/?p=125</guid> <description><![CDATA[So, I just upgraded to Ubuntu Jaunty on two of my VMs here at the office.  I know its not set to come out in a final release for a few days, however, we&#8217;re in the process of migrating to a fully virtualized system, and unfortunately Intrepid has some issues with iSCSI connections.  Namely if [...]]]></description> <content:encoded><![CDATA[<p>So, I just upgraded to Ubuntu Jaunty on two of my VMs here at the office.  I know its not set to come out in a final release for a few days, however, we&#8217;re in the process of migrating to a fully virtualized system, and unfortunately Intrepid has some issues with iSCSI connections.  Namely if you try and shut down the machine, it&#8217;ll hang because it tries to disconnect the drive before its unmounted and then just throws errors.</p><p>Anyway, as per usual, the upgrades went more or less flawlessly &#8211; minus a few symbolic links that needed to be re-created.  Since I don&#8217;t have GUIs on these machines (waste of resources on servers if you ask me), a quick:</p><p><code>sudo apt-get update<br
/> sudo apt-get install update-manager-core<br
/> sudo do-release-upgrade -d</code></p><p>And about half an hour later and I was all upgraded.  No more iSCSI disconnection problems, and one new feature I&#8217;ve found that actually changed my whole workflow when it comes to servers.  That being the inclusion of <a
href="https://launchpad.net/screen-profiles" target="_blank">screen-profiles</a>, a sort of profile manager for screen allowing you to create default screens that open when you log in, as well as status bars, clocks and notifiers.  If you haven&#8217;t heard of it, I&#8217;d highly recommend you check it out.</p><p><a
href="http://www.ubuntu.com/testing/jaunty/alpha3">Ubuntu Jaunty Jackalope &#8211; Alpha 3 | Ubuntu</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.davelachapelle.ca/2009/04/21/ubuntu-jaunty-jackalope/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Microsoft ads&#8230; someone&#8217;s missing the boat</title><link>http://www.davelachapelle.ca/2009/04/17/microsoft-ads-someones-missing-the-boat/</link> <comments>http://www.davelachapelle.ca/2009/04/17/microsoft-ads-someones-missing-the-boat/#comments</comments> <pubDate>Fri, 17 Apr 2009 19:08:43 +0000</pubDate> <dc:creator>Jett</dc:creator> <category><![CDATA[Apple]]></category> <category><![CDATA[Computers]]></category><guid
isPermaLink="false">http://www.davelachapelle.ca/?p=110</guid> <description><![CDATA[Okay, so I&#8217;ve seen a number of ads promoting both Vista and Low-cost PCs coming out of Redmond recently.  Not that I watch much TV, so either they&#8217;re just being targeted to the TV I do watch, or they&#8217;re on all the time, all over the place. Now that said, I am a Apple fanboy, [...]]]></description> <content:encoded><![CDATA[<p>Okay, so I&#8217;ve seen a number of ads promoting both Vista and Low-cost PCs coming out of Redmond recently.  Not that I watch much TV, so either they&#8217;re just being targeted to the TV I do watch, or they&#8217;re on all the time, all over the place. Now that said, I am a Apple fanboy, I&#8217;ll admit it, I love most Apple products, that said though, I am willing to criticize them where I believe they&#8217;ve missed the boat (ahhmm, AppleTV and Codecs).</p><p>In any case, there are two types of ads I&#8217;ve seen, one that features children using Vista to do fun stuff with photos.  Okay, they&#8217;re cute, and Vista works for children, I get it.  Thing they forget to mention is that those computers had better be locked down and never connected to the internet, unless of course you want to be exposing your 8 year old child to random porn popups while they&#8217;re looking at photos of their dogs.  The other type being the ones where people are sent out looking for low price laptops and pass over Macs because they&#8217;re either too &#8220;cool&#8221; or too &#8220;expensive&#8221;.  Both of which are silly propositions to make, since if you were to compare hardware in any recent apple laptop to an equivalent Dell or HP, you&#8217;ll come out at about the same price (last time I did it, I think I was $50 in).</p><p>Now again, I&#8217;d like to caution that I really enjoy Apple&#8217;s &#8211; I work on one all day &#8211; that said, I grew up on PCs and when I finally did make the switch after working at Barking Dog Studios, I decided that the platform fit me much better.  What I&#8217;m really trying to say is that someone at Microsoft should take a good hard look at your advertising campaign, and perhaps give it a once-over to remove all the BS you&#8217;re pushing on people.  Or better yet, instead of spending millions on an advertising campaign, build a product that works and works well that people will want to spend exhorbitant amounts of money on.</p> ]]></content:encoded> <wfw:commentRss>http://www.davelachapelle.ca/2009/04/17/microsoft-ads-someones-missing-the-boat/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>A Brief History of CPUs: 31 Awesome Years of x86 &#124; Maximum PC</title><link>http://www.davelachapelle.ca/2009/04/14/a-brief-history-of-cpus-31-awesome-years-of-x86-maximum-pc/</link> <comments>http://www.davelachapelle.ca/2009/04/14/a-brief-history-of-cpus-31-awesome-years-of-x86-maximum-pc/#comments</comments> <pubDate>Tue, 14 Apr 2009 15:48:13 +0000</pubDate> <dc:creator>Jett</dc:creator> <category><![CDATA[Computers]]></category><guid
isPermaLink="false">http://www.davelachapelle.ca/?p=108</guid> <description><![CDATA[Fun article for a bit of Tuesday morning nostalgia.  My personal favorite quote in the whole article: In the beginning, Intel created the 8086 and its first 16-bit microprocessor. And Intel said, Let there be x86: and there was x86. And Intel saw the x86, that it was good. Its amazing to think that in [...]]]></description> <content:encoded><![CDATA[<p>Fun article for a bit of Tuesday morning nostalgia.  My personal favorite quote in the whole article:</p><blockquote><p>In the beginning, Intel created the 8086 and its first 16-bit microprocessor.<br
/> And Intel said, Let there be x86: and there was x86.<br
/> And Intel saw the x86, that it was good.</p></blockquote><p>Its amazing to think that in only 31 years we have come so far as a technologically advanced species.  Just stop to think for a minute, 30 years ago, not a single person in the world could even begin to imagine the depth and breadth of information we have at our fingertips, real-time communication without boundaries or borders.</p><p>Always amazes me to some extent.  Anyway, here&#8217;s the original article if anyone&#8217;s interested.</p><p><a
href="http://maximumpc.com/article/features/cpu_retrospective_the_life_and_times_x86">A Brief History of CPUs: 31 Awesome Years of x86 | Maximum PC</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.davelachapelle.ca/2009/04/14/a-brief-history-of-cpus-31-awesome-years-of-x86-maximum-pc/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Bluetooth 3.0 prepped for launch on April 21 &#8211; Ars Technica</title><link>http://www.davelachapelle.ca/2009/04/13/bluetooth-30-prepped-for-launch-on-april-21-ars-technica/</link> <comments>http://www.davelachapelle.ca/2009/04/13/bluetooth-30-prepped-for-launch-on-april-21-ars-technica/#comments</comments> <pubDate>Mon, 13 Apr 2009 15:56:28 +0000</pubDate> <dc:creator>Jett</dc:creator> <category><![CDATA[Computers]]></category><guid
isPermaLink="false">http://www.davelachapelle.ca/?p=105</guid> <description><![CDATA[Interesting article on Bluetooth 3.0, I haven't really been following it - however, it seems as though somehow Bluetooth 3.0 are going to be creating temporary (hopefully secure) wireless networks for transmitting data.]]></description> <content:encoded><![CDATA[<p>Interesting article on Bluetooth 3.0, I haven&#8217;t really been following it &#8211; however, it seems as though somehow Bluetooth 3.0 are going to be creating temporary (hopefully secure) wireless networks for transmitting data.</p><p><a
href="http://arstechnica.com/gadgets/news/2009/04/bluetooth-30-prepped-for-launch-on-april-21.ars">Bluetooth 3.0 prepped for launch on April 21 &#8211; Ars Technica</a>.</p><p>I&#8217;m curious though, how do they intend on dealing with frequency crossover from actual wifi networks.  In my experience, bluetooth networks are horribly prone to interferance and hopefully that doesn&#8217;t translate to the new specification.</p> ]]></content:encoded> <wfw:commentRss>http://www.davelachapelle.ca/2009/04/13/bluetooth-30-prepped-for-launch-on-april-21-ars-technica/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Converting Raid-1 to Raid-5</title><link>http://www.davelachapelle.ca/2008/07/25/converting-raid-1-to-raid-5/</link> <comments>http://www.davelachapelle.ca/2008/07/25/converting-raid-1-to-raid-5/#comments</comments> <pubDate>Fri, 25 Jul 2008 14:01:10 +0000</pubDate> <dc:creator>Jett</dc:creator> <category><![CDATA[Computers]]></category> <category><![CDATA[Servers]]></category> <category><![CDATA[Unix]]></category><guid
isPermaLink="false">http://www.davelachapelle.ca/2008/07/25/converting-raid-1-to-raid-5/</guid> <description><![CDATA[So, I happened across this article today, written by a Scott Wallace, I&#8217;ve copied the text here in case his site goes down for whatever reason. Note, I haven&#8217;t tried this as of yet, but in the future when I fill up my drives, I&#8217;ll likely be able to just buy another 500 gig drive [...]]]></description> <content:encoded><![CDATA[<p>So, I happened across this article today, written by a Scott Wallace, I&#8217;ve copied the text here in case his site goes down for whatever reason.  Note, I haven&#8217;t tried this as of yet, but in the future when I fill up my drives, I&#8217;ll likely be able to just buy another 500 gig drive and convert my raid-1 array to a raid-5 array instead of having to buy another 3 whole drives.</p><p><a
href="http://scott.wallace.sh/node/1521">Converting RAID1 to RAID5 with no data loss | scott.wallace.sh</a></p><p><span
id="more-72"></span></p><p>When you record and download lots of TV, movies, music, etc. it can chew up the disk space pretty quickly. If you don&#8217;t keep on top of your DVD burning you will end up running out of disk space, like me. That&#8217;s okay, I have two 200GB drives mirrored in a RAID1 array. If I break the mirror and concatenate the drives I could use all 400GB of space available to me&#8230; but if one drive died, I would lose everything that was not backed up.</p><p>Buying two more drives isn&#8217;t the answer as I only have one more PATA drive connection available. Perhaps I could back everything up, buy two bigger drives, install a new RAID1 array and copy everything back over. That means giving up two perfectly servicable 200GB drives.</p><p>If only I could add a third drive and convert the RAID1 array to a RAID5 array. Then I would get the full 400GB of space, and still retain the redundancy. Yeah, right.</p><p>&#8230; Then I stumbled across this blog entry in which a guy creates some experimental loopback devices, creates a RAID1 array and then converts it to a RAID5 array with no data loss. I was intrigued.</p><p>The theory says that the RAID5 algorithm, when applied to 2 disks only, ends up looking like a RAID1 array except for the RAID metadata. If you overwrite the RAID1 metadata with the RAID5 metadata, mdadm should recognise the 2 disk RAID5 array and not mess with the contents. Once the metadata is updated, you can then add a third partition to the array and grow the RAID5 array to utilise it. All that remains is to then resize the filesystem to fill the new space.</p><p>The main question is, am I brave enough to try it?</p><p>You bet I am!</p><p>Of course, everything is caveated with the usual &#8220;back everything up before you attempt this procedure&#8221; and, like a good boy, I borrowed a 400GB external drive from work and rsync&#8217;d all the important stuff across&#8230; and, with heart in mouth, followed the procedure&#8230;</p><p>Boot from a Fedora Core 6 rescue CDROM and get to a command prompt. You must ensure you have a recent kernel (&gt; 2.6.17) and that you have a recent version of the mdadm software:</p><p><code># uname -a<br
/> Linux localhost.localdomain 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:54:20 EDT 2006 i686 unknown</p><p># mdadm --version<br
/> mdadm - v2.5.4 - 13 Ocotober 2006</code></p><p>Stop the array:</p><p><code># mdadm --stop /dev/md0</code></p><p>Overwrite the RAID1 metadata with the RAID5 metadata:</p><p><code># mdadm --create /dev/md0 --level=5 -n 2 /dev/hda1 /dev/hdb1<br
/> mdadm: /dev/hda1 appears to contain an ext2fs file system<br
/> size=1946592K  mtime=Sat Apr 14 07:18:32 2007<br
/> mdadm: /dev/hda1 appears to be part of a raid array:<br
/> level=1 devices=2 ctime=Sat Sep 17 16:17:45 2005<br
/> mdadm: /dev/hdb1 appears to contain an ext2fs file system<br
/> size=1946592K  mtime=Sat Apr 17 07:18:32 2007<br
/> mdadm: /dev/hdb1 appears to be part of a raid array:<br
/> level=1 devices=2 ctime=Sat Sep 17 16:17:45 2005<br
/> Continue creating array? y<br
/> mdadm: array /dev/md0 started.</code></p><p>At this point the RAID software decided it wanted to rebuild the array. Uh-oh, there goes my data&#8230; I quickly mounted /dev/md0 and had a look&#8230; all my data is still intact! Oh well, let the software do it&#8217;s thing. Who am I to argue?</p><p>Add in the third, new partition:</p><p><code># mdadm --add /dev/md0 /dev/hdd1</code></p><p>So far, so good. Once the rebuild is complete, grow the RAID5 onto the new partition: (NB: use the &#8211;backup-file option in case the grow is interrupted. It will allow a safe recovery.)</p><p><code># mdadm --grow /dev/md0 --raid-disks=3 --backup-file=/mnt/tmp/raid1-5.backup.file<br
/> mdadm: Need to backup 128K of critical section ..<br
/> mdadm: ... critical section passed.</code></p><p>I&#8217;m impressed that I&#8217;ve had no problems so far. The reshaping of the RAID5 from a 2 disk to a 3 disk array takes quite a while (about 6.5 hours for around 200GB of raw data) but the filesystem resize shouldn&#8217;t take anywhere near as long:</p><p><code><br
/> # e2fsck -f /dev/md0</p><p># resize2fs -p /dev/md0</code></p><p>Apart from the modification of the RAID metadata, the whole operation can be done &#8220;online&#8221;. I chose to do it from single-user/rescue mode as I wanted to make sure there was no data loss. If you&#8217;re not too bothered then you could leave the whole thing up and running.</p> ]]></content:encoded> <wfw:commentRss>http://www.davelachapelle.ca/2008/07/25/converting-raid-1-to-raid-5/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Database Caching 8/40 queries in 0.006 seconds using disk
Object Caching 547/603 objects using disk

Served from: www.davelachapelle.ca @ 2012-02-05 13:25:20 -->
