<?xml version='1.0' encoding='utf-8' ?>
<rss version='2.0'>
<channel>
	<title>neilpahl.com Logs Feed: RAID1 with LVM on Ubuntu Server</title>
	<link></link>
	<description></description>
	<pubDate>Thu, 22 Jul 21 07:39:40 -0400</pubDate>
	<ttl>60</ttl>
	<item>
		<title>RAID1 with LVM on Ubuntu Server:: Entry 1: Setting It Up</title>
		<description><![CDATA[I had 2x750GB HDD's which I wanted to setup in a RAID array in my ubuntu server 10.04 LTS box.It turned out to be quite easy when following the guide provided by canonical:https://help.ubuntu.com/10.04/serverguide/C/advanced-installation.htmlBut, I made a few adjustments. The guide makes you partition each of your physical disks into two sections, swap and root. both those are set to be used as 'physical drives for RAID'These would lead to the creation of two MD's (or md or 'multiple device'). I found it to be simpler to just have one partition for each HDD and use it as the physical drive for RAID. This would reult in only having one MD/md/multiple device.The reason I chose this was to make for simple maintanaince down the road. From the guide, to replace (remove and add) an HDD i would have to run the command:sudo mdadm --remove /dev/md0 /dev/sda1sudo mdadm --add /dev/md0 /dev/sda1If I have two md's, I would probably have to do:sudo mdadm --remove /dev/md0 /dev/sda1
sudo mdadm --]]></description>
		<pubDate>Mon, 02 Jan 12 15:37:19 -0500</pubDate>
		<link>http://archived.neilpahl.com/logs/hard-disk-management/raid/raid1-with-lvm-on-ubuntu-server/1/</link>
	</item>
</channel>
</rss>