<?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/"
		>
<channel>
	<title>Comments on: Setting up an encrypted LVM over RAID 5</title>
	<atom:link href="http://billauer.se/blog/2010/01/howto-lvm-dm-crypt-raid-5-mdadm-fc12-fedora/feed/" rel="self" type="application/rss+xml" />
	<link>https://billauer.se/blog/2010/01/howto-lvm-dm-crypt-raid-5-mdadm-fc12-fedora/</link>
	<description>Anything I found worthy to write down.</description>
	<lastBuildDate>Thu, 26 Mar 2026 13:15:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Superkikim</title>
		<link>https://billauer.se/blog/2010/01/howto-lvm-dm-crypt-raid-5-mdadm-fc12-fedora/comment-page-1/#comment-419</link>
		<dc:creator>Superkikim</dc:creator>
		<pubDate>Sun, 02 May 2010 09:55:42 +0000</pubDate>
		<guid isPermaLink="false">https://billauer.se/blog/?p=472#comment-419</guid>
		<description>Hi,

I desperately tried today to make RAID5 and LVM too.

I have the following settings:

4 2TB drives on an Atom ION mobo and I&#039;m booting Debian Lenny on an SD Card. 

At 1st, I have made GPT labels on the 2TB drives, then created a RAID5 with all 4 drives getting /dev/md0. So far so good... as you say.

Then, I tried to parted /dev/md0. So wrote again a GPT label on it and then, when I create partitions, it tells me that the kernel will not be aware of changed until I reboot... I created 11 500GB partitions and a last one with the remaining space in idea to be flexible with lvm. Reboot... no device node for any partitions. I&#039;m stuck on this for many hours now :-(

I tried to put msdos labels on the physical disks, and then gpt on the RAID volume. Same problem. Anyhow, as soon as anything is GPT, it fails...</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I desperately tried today to make RAID5 and LVM too.</p>
<p>I have the following settings:</p>
<p>4 2TB drives on an Atom ION mobo and I&#8217;m booting Debian Lenny on an SD Card. </p>
<p>At 1st, I have made GPT labels on the 2TB drives, then created a RAID5 with all 4 drives getting /dev/md0. So far so good&#8230; as you say.</p>
<p>Then, I tried to parted /dev/md0. So wrote again a GPT label on it and then, when I create partitions, it tells me that the kernel will not be aware of changed until I reboot&#8230; I created 11 500GB partitions and a last one with the remaining space in idea to be flexible with lvm. Reboot&#8230; no device node for any partitions. I&#8217;m stuck on this for many hours now :-(</p>
<p>I tried to put msdos labels on the physical disks, and then gpt on the RAID volume. Same problem. Anyhow, as soon as anything is GPT, it fails&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacco Logtenberg</title>
		<link>https://billauer.se/blog/2010/01/howto-lvm-dm-crypt-raid-5-mdadm-fc12-fedora/comment-page-1/#comment-380</link>
		<dc:creator>Jacco Logtenberg</dc:creator>
		<pubDate>Tue, 26 Jan 2010 18:33:08 +0000</pubDate>
		<guid isPermaLink="false">https://billauer.se/blog/?p=472#comment-380</guid>
		<description>Tried the same thing today, also without success, on CentOS 5.4.
My main goal was to emulate a HUGE disk (6 TB), for experimenting with EFI/GPT partitions in stead of standard Master Boot Record. So LVM on a md-device is not an option.
Virtual disks are really cheap. So I created a VMware virtual machine (VMware workstation) and added 6 1TB thin-provisioned disks to it. It doesn&#039;t take any diskspace (almost, approx. 100M for a 1 TB thin provisioned disk).
Next step was to partition the disks (1 fd-type primary partition on each disk) en to create a RAID-array in the virtual machine: 4 1TB disks in RAID0 with
&quot;mdadm --create /dev/md0 --auto=part -n 4 -l 0 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1&quot;.
So far so good. The option &quot;--auto-part&quot; does make it a partitionable array, according to the manpage.

BUT IT DOESN&#039;T WORK!

Main problem is the devicenumbering, in particular the minor numbers.
On a ordinary disk, minor number 0 is the whole disk, minor number 1 is the first partition, and so on.
On a md-device, minor number 0 is /dev/md0, minor number 1 is /dev/md1, and so on.
Don&#039;t know how to work around this.</description>
		<content:encoded><![CDATA[<p>Tried the same thing today, also without success, on CentOS 5.4.<br />
My main goal was to emulate a HUGE disk (6 TB), for experimenting with EFI/GPT partitions in stead of standard Master Boot Record. So LVM on a md-device is not an option.<br />
Virtual disks are really cheap. So I created a VMware virtual machine (VMware workstation) and added 6 1TB thin-provisioned disks to it. It doesn&#8217;t take any diskspace (almost, approx. 100M for a 1 TB thin provisioned disk).<br />
Next step was to partition the disks (1 fd-type primary partition on each disk) en to create a RAID-array in the virtual machine: 4 1TB disks in RAID0 with<br />
&#8220;mdadm &#8211;create /dev/md0 &#8211;auto=part -n 4 -l 0 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1&#8243;.<br />
So far so good. The option &#8220;&#8211;auto-part&#8221; does make it a partitionable array, according to the manpage.</p>
<p>BUT IT DOESN&#8217;T WORK!</p>
<p>Main problem is the devicenumbering, in particular the minor numbers.<br />
On a ordinary disk, minor number 0 is the whole disk, minor number 1 is the first partition, and so on.<br />
On a md-device, minor number 0 is /dev/md0, minor number 1 is /dev/md1, and so on.<br />
Don&#8217;t know how to work around this.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
