<?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>Paulo Nobre &#187; linux</title>
	<atom:link href="http://www.paulonobre.net/categories/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.paulonobre.net</link>
	<description></description>
	<lastBuildDate>Mon, 08 Feb 2010 23:42:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing Ubuntu 9.10 with RAID and LVM &#8211; Part 2</title>
		<link>http://www.paulonobre.net/2010/01/21/installing-ubuntu-with-raid-and-lvm-part-2/</link>
		<comments>http://www.paulonobre.net/2010/01/21/installing-ubuntu-with-raid-and-lvm-part-2/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 16:31:21 +0000</pubDate>
		<dc:creator>Paulo Nobre</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.paulonobre.net/2010/01/21/installing-ubuntu-with-raid-and-lvm-part-2/</guid>
		<description><![CDATA[In this article, we’re going to take off where we left in part 1, setup LVM and install ubuntu 9.10.
 Choose Configure the Logical Volume Manager. Because we haven’t written the changes made to RAID 1 array yet, we’ll be asked to save these changes. Choose yes, then choose Create Volume Group. Give volume group [...]]]></description>
			<content:encoded><![CDATA[<p>In this article, we’re going to take off where we left in part 1, setup LVM and install ubuntu 9.10.</p>
<p><a href="http://www.paulonobre.net/wp-content/uploads/2010/01/image7.png"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="image" src="http://www.paulonobre.net/wp-content/uploads/2010/01/image_thumb7.png" border="0" alt="image" width="483" height="364" /></a> Choose Configure the Logical Volume Manager. Because we haven’t written the changes made to RAID 1 array yet, we’ll be asked to save these changes. Choose yes, then choose Create Volume Group.<a href="http://www.paulonobre.net/wp-content/uploads/2010/01/image8.png"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="image" src="http://www.paulonobre.net/wp-content/uploads/2010/01/image_thumb8.png" border="0" alt="image" width="484" height="364" /></a> Give volume group some name, for example vg1, then select /dev/md1 device for volume group and choose continue.</p>
<p><a href="http://www.paulonobre.net/wp-content/uploads/2010/01/image9.png"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="image" src="http://www.paulonobre.net/wp-content/uploads/2010/01/image_thumb9.png" border="0" alt="image" width="484" height="364" /></a> Next, select Create logical volume, accept vg1 as volume group and give a name to volume. I named it swap. Enter whatever size you’ll want for swap volume and press enter. After swap volume is created, we’ll create the root volume. So select Create logical volume again, accept vg1, name it root and accept the default size (entire remaining space). After we’re done, choose Finish.</p>
<p><a href="http://www.paulonobre.net/wp-content/uploads/2010/01/image10.png"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="image" src="http://www.paulonobre.net/wp-content/uploads/2010/01/image_thumb10.png" border="0" alt="image" width="484" height="364" /></a></p>
<p>Now we must partition and initialize the new logical volumes. Select the swap volume, press enter. Set it to use as swap area and then select Done setting up the partition.</p>
<p><a href="http://www.paulonobre.net/wp-content/uploads/2010/01/image11.png"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="image" src="http://www.paulonobre.net/wp-content/uploads/2010/01/image_thumb11.png" border="0" alt="image" width="484" height="364" /></a>Select the root volume, set it to use as Ext4 file system, set it’s mount point to / and select Done setting up the partition. After this we should have this configuration set:</p>
<p><a href="http://www.paulonobre.net/wp-content/uploads/2010/01/image12.png"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="image" src="http://www.paulonobre.net/wp-content/uploads/2010/01/image_thumb12.png" border="0" alt="image" width="484" height="364" /></a> Now choose Finish partitioning and write changes to disk.</p>
<p><a href="http://www.paulonobre.net/wp-content/uploads/2010/01/image13.png"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="image" src="http://www.paulonobre.net/wp-content/uploads/2010/01/image_thumb13.png" border="0" alt="image" width="484" height="364" /></a> When asked if you want to boot if raid becomes degraded, choose yes</p>
<p><a href="http://www.paulonobre.net/wp-content/uploads/2010/01/image14.png"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="image" src="http://www.paulonobre.net/wp-content/uploads/2010/01/image_thumb14.png" border="0" alt="image" width="484" height="364" /></a>Now, continue with ubuntu installation as normal.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.paulonobre.net/2010/01/21/installing-ubuntu-with-raid-and-lvm-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Ubuntu 9.10 with RAID and LVM &#8211; Part 1</title>
		<link>http://www.paulonobre.net/2010/01/21/installing-ubuntu-with-raid-and-lvm-part-1/</link>
		<comments>http://www.paulonobre.net/2010/01/21/installing-ubuntu-with-raid-and-lvm-part-1/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 15:40:04 +0000</pubDate>
		<dc:creator>Paulo Nobre</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.paulonobre.net/2010/01/21/installing-ubuntu-with-raid-and-lvm-part-1/</guid>
		<description><![CDATA[I decided to give this a try on vmware first, so I could lather install it on my main home computer. For this setup I’m going to use 3 virtual SCSI disks with 8GB each. On my real hardware I have 3 SATAII 500GB disks.
Edit: Already installed it on physical machine, and couldn&#8217;t get it [...]]]></description>
			<content:encoded><![CDATA[<p>I decided to give this a try on vmware first, so I could lather install it on my main home computer. For this setup I’m going to use 3 virtual SCSI disks with 8GB each. On my real hardware I have 3 SATAII 500GB disks.</p>
<p><strong>Edit: <span style="font-weight: normal;">Already installed it on physical machine, and couldn&#8217;t get it working with AHCI, so I had to tweak bios settings to have SATA in IDE mode.</span> </strong></p>
<p>It looks like isn’t possible to install a boot partition on RAID 5, so for boot I’ll use RAID 1 (mirror).</p>
<p>First grab a copy of <a href="http://www.ubuntu.com/getubuntu/downloadmirrors#alternate" target="_blank">alternate installation cd</a> for your platform. Setup the virtual machine and let’s go. Proceed with the installation until you get to the “Partition disks” screen. Press alt+F2 to switch console and as prompted press enter to activate console. <a href="http://www.paulonobre.net/wp-content/uploads/2010/01/image.png"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="image" src="http://www.paulonobre.net/wp-content/uploads/2010/01/image_thumb.png" border="0" alt="image" width="412" height="117" /></a></p>
<p>For each of the three disks, create 2 partitions. The first on will be used in a RAID 1 for boot and the second will be used in RAID 5. Set both partition type to <strong>fd</strong> (Linux raid autodetect).</p>
<p><a href="http://www.paulonobre.net/wp-content/uploads/2010/01/image1.png"><span style="color: #666666;"> </span><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="image" src="http://www.paulonobre.net/wp-content/uploads/2010/01/image_thumb1.png" border="0" alt="image" width="464" height="677" /></a> Repeat the same exact steps above for /dev/sdb and /dev/sdc (second and third disks). When finished, it’s time to create the RAIS arrays.</p>
<p><a href="http://www.paulonobre.net/wp-content/uploads/2010/01/image2.png"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="image" src="http://www.paulonobre.net/wp-content/uploads/2010/01/image_thumb2.png" border="0" alt="image" width="529" height="126" /></a> After a few minutes, check if everything went ok and both arrays are active. If the RAID 5 array is still in recovery, wait a few more minutes.</p>
<p><a href="http://www.paulonobre.net/wp-content/uploads/2010/01/image3.png"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="image" src="http://www.paulonobre.net/wp-content/uploads/2010/01/image_thumb3.png" border="0" alt="image" width="475" height="150" /></a> Ok. First step is done. Go back to install screen with alt+F1. Now we must go back to Detect disks phase, so press Tab to select &lt;Go back&gt; and press Enter. Choose Detect disks and press enter.</p>
<p><a href="http://www.paulonobre.net/wp-content/uploads/2010/01/image4.png"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="image" src="http://www.paulonobre.net/wp-content/uploads/2010/01/image_thumb4.png" border="0" alt="image" width="484" height="364" /></a></p>
<p>If everything went ok, the following screen should appear. Select first array and press enter.</p>
<p><a href="http://www.paulonobre.net/wp-content/uploads/2010/01/image5.png"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="image" src="http://www.paulonobre.net/wp-content/uploads/2010/01/image_thumb5.png" border="0" alt="image" width="484" height="364" /></a></p>
<p>Configure the partition using Ext3 journaling file system, /boot as mount point and choose Done setting up the partition.</p>
<p><a href="http://www.paulonobre.net/wp-content/uploads/2010/01/image6.png"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="image" src="http://www.paulonobre.net/wp-content/uploads/2010/01/image_thumb6.png" border="0" alt="image" width="484" height="364" /></a>On part 2, we’ll be setting up LVM and finishing ubuntu installation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.paulonobre.net/2010/01/21/installing-ubuntu-with-raid-and-lvm-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
