<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Dewaniya Net</title>
	<atom:link href="http://dewaniyanet.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://dewaniyanet.wordpress.com</link>
	<description>A private Kuwaiti network</description>
	<lastBuildDate>Fri, 22 Aug 2008 13:39:00 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Discussion by MBH</title>
		<link>http://dewaniyanet.wordpress.com/discussion/comment-page-6/#comment-79</link>
		<dc:creator>MBH</dc:creator>
		<pubDate>Fri, 22 Aug 2008 13:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://dewaniyanet.wordpress.com/?page_id=22#comment-79</guid>
		<description>Yesterday we played a bit with the concept of &quot;bonding&quot; -- that is: binding two ethernet ports and act as slaves to one virtual adapter.

This way, we get double the bandwidth, that is 200Mbps, when using Mode zero, which does a round robin scheme.

Practically, we got over 200Mbps! 100Mbps should&#039;ve given us 12MB/s, but instead we achieved 30.1 MB/s using bonding.

Finding the proper parameters for Ubuntu&#039;s was not an easy task, and we found a few guides, unfortunately, none of them had full correct information! We had to collect stuff from each guide to make it work.

I&#039;ll post the whole thing on a dedicated page, for those who are interested.</description>
		<content:encoded><![CDATA[<p>Yesterday we played a bit with the concept of &#8220;bonding&#8221; &#8212; that is: binding two ethernet ports and act as slaves to one virtual adapter.</p>
<p>This way, we get double the bandwidth, that is 200Mbps, when using Mode zero, which does a round robin scheme.</p>
<p>Practically, we got over 200Mbps! 100Mbps should&#8217;ve given us 12MB/s, but instead we achieved 30.1 MB/s using bonding.</p>
<p>Finding the proper parameters for Ubuntu&#8217;s was not an easy task, and we found a few guides, unfortunately, none of them had full correct information! We had to collect stuff from each guide to make it work.</p>
<p>I&#8217;ll post the whole thing on a dedicated page, for those who are interested.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Discussion by MBH</title>
		<link>http://dewaniyanet.wordpress.com/discussion/comment-page-5/#comment-78</link>
		<dc:creator>MBH</dc:creator>
		<pubDate>Wed, 20 Aug 2008 13:21:05 +0000</pubDate>
		<guid isPermaLink="false">http://dewaniyanet.wordpress.com/?page_id=22#comment-78</guid>
		<description>2 days ago, after 5 days of pain, we were able to fix the disk issues. One cable was always loose...

I told 3baid to use super-glue, but he didn&#039;t take me seriously. I think I&#039;ll super-glue the bloody cable to the port when 3baid is not in the dewaniya...
Data corruption is not a friendly thought...

As for assigning static names to disks, one of the guys in #linux (DALNet) suggested using /dev/disk/by-serial  which identifies each hard disk by its vendor, model and serial number, and further more, detects each partition, which is exactly what we need.
I&#039;ll poke around this weekend and see how to do it with udev.

We were having problems stopping the RAID arrays after un-mounting the logical drive. Always got an error that the device is busy or being used.
I suspected that the Volume Manager is the one hogging the arrays, and I was right. I looked around on how to stop the volume group manager, and the solution was:
vgchange -a n 

-a is for volume group availability, and &quot;n&quot; is for no. To re-activate, use &quot;y&quot;

I haven&#039;t tested it, since the guys are abusing Adam, but I will tomorrow morning when they are snoozing in their mothers&#039; basement. I mean their beds.</description>
		<content:encoded><![CDATA[<p>2 days ago, after 5 days of pain, we were able to fix the disk issues. One cable was always loose&#8230;</p>
<p>I told 3baid to use super-glue, but he didn&#8217;t take me seriously. I think I&#8217;ll super-glue the bloody cable to the port when 3baid is not in the dewaniya&#8230;<br />
Data corruption is not a friendly thought&#8230;</p>
<p>As for assigning static names to disks, one of the guys in #linux (DALNet) suggested using /dev/disk/by-serial  which identifies each hard disk by its vendor, model and serial number, and further more, detects each partition, which is exactly what we need.<br />
I&#8217;ll poke around this weekend and see how to do it with udev.</p>
<p>We were having problems stopping the RAID arrays after un-mounting the logical drive. Always got an error that the device is busy or being used.<br />
I suspected that the Volume Manager is the one hogging the arrays, and I was right. I looked around on how to stop the volume group manager, and the solution was:<br />
vgchange -a n </p>
<p>-a is for volume group availability, and &#8220;n&#8221; is for no. To re-activate, use &#8220;y&#8221;</p>
<p>I haven&#8217;t tested it, since the guys are abusing Adam, but I will tomorrow morning when they are snoozing in their mothers&#8217; basement. I mean their beds.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Discussion by MBH</title>
		<link>http://dewaniyanet.wordpress.com/discussion/comment-page-5/#comment-77</link>
		<dc:creator>MBH</dc:creator>
		<pubDate>Sun, 17 Aug 2008 13:52:23 +0000</pubDate>
		<guid isPermaLink="false">http://dewaniyanet.wordpress.com/?page_id=22#comment-77</guid>
		<description>The program &quot;blkid&quot; can display the UUID of a disk/partition/device.

user@Adam:~$ blkid /dev/sd[abcef]1
/dev/sda1: UUID=&quot;0796d046-37e3-eeab-b132-d6d5278b5397&quot; TYPE=&quot;mdraid&quot;
/dev/sdb1: UUID=&quot;0796d046-37e3-eeab-b132-d6d5278b5397&quot; TYPE=&quot;mdraid&quot;
/dev/sdc1: UUID=&quot;0796d046-37e3-eeab-b132-d6d5278b5397&quot; TYPE=&quot;mdraid&quot;
/dev/sde1: UUID=&quot;0796d046-37e3-eeab-b132-d6d5278b5397&quot; TYPE=&quot;mdraid&quot;
/dev/sdf1: UUID=&quot;0796d046-37e3-eeab-b132-d6d5278b5397&quot; TYPE=&quot;mdraid&quot;

user@Adam:~$ blkid /dev/sd[ag]1
/dev/sda1: UUID=&quot;0796d046-37e3-eeab-b132-d6d5278b5397&quot; TYPE=&quot;mdraid&quot;
/dev/sdg1: UUID=&quot;98d7c538-1f5e-5131-e164-0bd68cf09905&quot; TYPE=&quot;mdraid&quot;


In the first group, you can see that they all have the same UUID. This is nor a mistake. This is the UUID of the array they belong to, and this is what helped us keeping the data intact, when the device names changed.

In the 2nd run, you can see that there are 2 different UUIDs. This is because these 2 devices are from 2 different arrays.

So, how to get the UUID of the device itself, and not the array it belongs to?
I have no clue. Yet.

But I noticed that the UUID of the device is not the same as the superblock UUID, but all devices of the same array have the same... Check this:
mdadm -E /dev/sda1 &#124; more
/dev/sda1:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : 46d09607:abeee337:d5d632b1:97538b27

For other partitions of the same array, the UUID is the same, but it&#039;s different than the one reported by &quot;blkid&quot;  o_O

I&#039;d love to hear an explanation, although I&#039;ll be more interested in finding a solution to get the UUID of each partition (assuming there is one).

From the Goolgizing I&#039;ve been doing, I noticed that SCSI disks do have UUIDs, but there&#039;s no mention of SATA. Maybe they don&#039;t have any?
If that&#039;s the case, then the whole idea is down the drains...</description>
		<content:encoded><![CDATA[<p>The program &#8220;blkid&#8221; can display the UUID of a disk/partition/device.</p>
<p>user@Adam:~$ blkid /dev/sd[abcef]1<br />
/dev/sda1: UUID=&#8221;0796d046-37e3-eeab-b132-d6d5278b5397&#8243; TYPE=&#8221;mdraid&#8221;<br />
/dev/sdb1: UUID=&#8221;0796d046-37e3-eeab-b132-d6d5278b5397&#8243; TYPE=&#8221;mdraid&#8221;<br />
/dev/sdc1: UUID=&#8221;0796d046-37e3-eeab-b132-d6d5278b5397&#8243; TYPE=&#8221;mdraid&#8221;<br />
/dev/sde1: UUID=&#8221;0796d046-37e3-eeab-b132-d6d5278b5397&#8243; TYPE=&#8221;mdraid&#8221;<br />
/dev/sdf1: UUID=&#8221;0796d046-37e3-eeab-b132-d6d5278b5397&#8243; TYPE=&#8221;mdraid&#8221;</p>
<p>user@Adam:~$ blkid /dev/sd[ag]1<br />
/dev/sda1: UUID=&#8221;0796d046-37e3-eeab-b132-d6d5278b5397&#8243; TYPE=&#8221;mdraid&#8221;<br />
/dev/sdg1: UUID=&#8221;98d7c538-1f5e-5131-e164-0bd68cf09905&#8243; TYPE=&#8221;mdraid&#8221;</p>
<p>In the first group, you can see that they all have the same UUID. This is nor a mistake. This is the UUID of the array they belong to, and this is what helped us keeping the data intact, when the device names changed.</p>
<p>In the 2nd run, you can see that there are 2 different UUIDs. This is because these 2 devices are from 2 different arrays.</p>
<p>So, how to get the UUID of the device itself, and not the array it belongs to?<br />
I have no clue. Yet.</p>
<p>But I noticed that the UUID of the device is not the same as the superblock UUID, but all devices of the same array have the same&#8230; Check this:<br />
mdadm -E /dev/sda1 | more<br />
/dev/sda1:<br />
          Magic : a92b4efc<br />
        Version : 00.90.00<br />
           UUID : 46d09607:abeee337:d5d632b1:97538b27</p>
<p>For other partitions of the same array, the UUID is the same, but it&#8217;s different than the one reported by &#8220;blkid&#8221;  o_O</p>
<p>I&#8217;d love to hear an explanation, although I&#8217;ll be more interested in finding a solution to get the UUID of each partition (assuming there is one).</p>
<p>From the Goolgizing I&#8217;ve been doing, I noticed that SCSI disks do have UUIDs, but there&#8217;s no mention of SATA. Maybe they don&#8217;t have any?<br />
If that&#8217;s the case, then the whole idea is down the drains&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Discussion by MBH</title>
		<link>http://dewaniyanet.wordpress.com/discussion/comment-page-5/#comment-76</link>
		<dc:creator>MBH</dc:creator>
		<pubDate>Sun, 17 Aug 2008 13:22:30 +0000</pubDate>
		<guid isPermaLink="false">http://dewaniyanet.wordpress.com/?page_id=22#comment-76</guid>
		<description>Last Thursday, we installed a new 1TB disk, partitioned it, and got it ready to enter the array, so that we can swap out 2x 500GB disks.

Knowing our luck, it was inevitable to go through hell. For some reason, the BIOS didn&#039;t like the new disk, and decided that the disk order should be changed, too.
3baid figured out that the BIOS changed the order of disks, which is why we couldn&#039;t boot up for over an hour. Unfortunately, we faced much more problems.

When the system booted, the new disk partitions were added as spares to both arrays, and on the first array, we marked one 500GB disk as faulty to remove it later. The recovery process proceeded as it should.

Later that day, 3baid tells me that all disks are marked as spares on the first array, and that it&#039;s no longer active!!!

We tried to bring it up, but it refused. Also, the disk names changed again, and a disk disappeared from the arrays.

Today, we were able to bring up the arrays again and the data is intact (since we disabled Samba to not allow anyone to write to the disks).

We still have one disk missing. It could be either the disk&#039;s fault, or some problem with the SATA port or cable.

Either way, to prevent future problems with disk naming, we&#039;re cooking a plan to assign static names to disks by using their UUIDs.

Details will come up later.</description>
		<content:encoded><![CDATA[<p>Last Thursday, we installed a new 1TB disk, partitioned it, and got it ready to enter the array, so that we can swap out 2x 500GB disks.</p>
<p>Knowing our luck, it was inevitable to go through hell. For some reason, the BIOS didn&#8217;t like the new disk, and decided that the disk order should be changed, too.<br />
3baid figured out that the BIOS changed the order of disks, which is why we couldn&#8217;t boot up for over an hour. Unfortunately, we faced much more problems.</p>
<p>When the system booted, the new disk partitions were added as spares to both arrays, and on the first array, we marked one 500GB disk as faulty to remove it later. The recovery process proceeded as it should.</p>
<p>Later that day, 3baid tells me that all disks are marked as spares on the first array, and that it&#8217;s no longer active!!!</p>
<p>We tried to bring it up, but it refused. Also, the disk names changed again, and a disk disappeared from the arrays.</p>
<p>Today, we were able to bring up the arrays again and the data is intact (since we disabled Samba to not allow anyone to write to the disks).</p>
<p>We still have one disk missing. It could be either the disk&#8217;s fault, or some problem with the SATA port or cable.</p>
<p>Either way, to prevent future problems with disk naming, we&#8217;re cooking a plan to assign static names to disks by using their UUIDs.</p>
<p>Details will come up later.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Discussion by 3baid</title>
		<link>http://dewaniyanet.wordpress.com/discussion/comment-page-5/#comment-75</link>
		<dc:creator>3baid</dc:creator>
		<pubDate>Tue, 24 Jun 2008 12:23:10 +0000</pubDate>
		<guid isPermaLink="false">http://dewaniyanet.wordpress.com/?page_id=22#comment-75</guid>
		<description>Yes, everyone&#039;s reporting the redirection and the same thing happens to me when I need to close the client and open it again.

Yes, DC++ is considered as P2P traffic unfortunately :/

Yes, I was able to get the entire file from you.</description>
		<content:encoded><![CDATA[<p>Yes, everyone&#8217;s reporting the redirection and the same thing happens to me when I need to close the client and open it again.</p>
<p>Yes, DC++ is considered as P2P traffic unfortunately :/</p>
<p>Yes, I was able to get the entire file from you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Discussion by N.</title>
		<link>http://dewaniyanet.wordpress.com/discussion/comment-page-5/#comment-73</link>
		<dc:creator>N.</dc:creator>
		<pubDate>Tue, 24 Jun 2008 03:56:48 +0000</pubDate>
		<guid isPermaLink="false">http://dewaniyanet.wordpress.com/?page_id=22#comment-73</guid>
		<description>When I got up this morning, I tried to browse your files, Verlihub kicked me off the server I think and sent me to a public hub lol. I couldn&#039;t get back on, I had to close the client and reconnect. I was using (DC++) linuxdcpp. It worked fine after that.

Here&#039;s a question.. Does DC++ count as P2P traffic? 

So there wasn&#039;t a problem with transferring files? Did you get the file list in one piece?</description>
		<content:encoded><![CDATA[<p>When I got up this morning, I tried to browse your files, Verlihub kicked me off the server I think and sent me to a public hub lol. I couldn&#8217;t get back on, I had to close the client and reconnect. I was using (DC++) linuxdcpp. It worked fine after that.</p>
<p>Here&#8217;s a question.. Does DC++ count as P2P traffic? </p>
<p>So there wasn&#8217;t a problem with transferring files? Did you get the file list in one piece?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Discussion by 3baid</title>
		<link>http://dewaniyanet.wordpress.com/discussion/comment-page-5/#comment-72</link>
		<dc:creator>3baid</dc:creator>
		<pubDate>Mon, 23 Jun 2008 09:07:52 +0000</pubDate>
		<guid isPermaLink="false">http://dewaniyanet.wordpress.com/?page_id=22#comment-72</guid>
		<description>The DC Hub is on the main page.</description>
		<content:encoded><![CDATA[<p>The DC Hub is on the main page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Discussion by N.</title>
		<link>http://dewaniyanet.wordpress.com/discussion/comment-page-5/#comment-71</link>
		<dc:creator>N.</dc:creator>
		<pubDate>Mon, 23 Jun 2008 07:31:49 +0000</pubDate>
		<guid isPermaLink="false">http://dewaniyanet.wordpress.com/?page_id=22#comment-71</guid>
		<description>Where&#039;d the join in post go? I&#039;m using ShakesPeer on the Mac it is working wonderfully. To connect though, have to enter the host as HOSTNAME:PORT for it to work.

I&#039;m working to get a client running on my pc at home to share off the NAS.

Awesome work guys.</description>
		<content:encoded><![CDATA[<p>Where&#8217;d the join in post go? I&#8217;m using ShakesPeer on the Mac it is working wonderfully. To connect though, have to enter the host as HOSTNAME:PORT for it to work.</p>
<p>I&#8217;m working to get a client running on my pc at home to share off the NAS.</p>
<p>Awesome work guys.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Discussion by 3baid</title>
		<link>http://dewaniyanet.wordpress.com/discussion/comment-page-5/#comment-70</link>
		<dc:creator>3baid</dc:creator>
		<pubDate>Tue, 17 Jun 2008 14:07:39 +0000</pubDate>
		<guid isPermaLink="false">http://dewaniyanet.wordpress.com/?page_id=22#comment-70</guid>
		<description>IT WORKS! The Firmware updates WORKS! :D

The tech support sent us a beta firmware via email :]
We&#039;re beta testers now :P</description>
		<content:encoded><![CDATA[<p>IT WORKS! The Firmware updates WORKS! :D</p>
<p>The tech support sent us a beta firmware via email :]<br />
We&#8217;re beta testers now :P</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Discussion by 3baid</title>
		<link>http://dewaniyanet.wordpress.com/discussion/comment-page-5/#comment-69</link>
		<dc:creator>3baid</dc:creator>
		<pubDate>Fri, 13 Jun 2008 20:56:43 +0000</pubDate>
		<guid isPermaLink="false">http://dewaniyanet.wordpress.com/?page_id=22#comment-69</guid>
		<description>There&#039;s no firmware update. The connection&#039;s been fine on our side.</description>
		<content:encoded><![CDATA[<p>There&#8217;s no firmware update. The connection&#8217;s been fine on our side.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
