<div dir="ltr">My understanding was that PVE does not now and will never in the future support the softraid capabilities of Linux. If RAID is wanted than the only option is old-school hardware RAID.</div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Thu, Jul 4, 2013 at 5:29 AM, Paul Gray <span dir="ltr"><<a href="mailto:gray@cs.uni.edu" target="_blank">gray@cs.uni.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On 07/04/2013 06:30 AM, Paul Gray wrote:<br>
> I think, I may be wrong, that the Barebone Installer is not customizable at all, and won't be.<br>
<br>
</div>The installer is configurable to the extent that any distribution's<br>
installer iso is configurable.  You just need to know where the<br>
installation components are and how they interact.<br>
<br>
The origin of my question to the list arises from the hints of md<br>
support already in the places within the installation.<br>
<br>
After ISOLINUX expands the initrd and finds its proxmox iso image, the<br>
init script invokes /sbin/unconfigured.sh on the ISO mount.<br>
<br>
In the final acts of /sbin/unconfigured.sh, there's a commented-out line<br>
to shut off md device md0, indicating that there was once a time when it<br>
was enabled.<br>
<br>
But there's quite a bit more: For example, after proxmox finds the<br>
installation media and starts up X, the installation contiues from<br>
openbox/.xinitrc to invoke /usr/bin/proxinstall.<br>
<br>
Within the /usr/bin/proxinstall script, one finds this code in the<br>
probing for disks:<br>
<br>
    foreach my $hd (@$hds) {<br>
        my ($disk, $devname) = @$hd;<br>
        next if $devname =~ m|^/dev/md\d+$|;<br>
        print "found Disk$disk N:$devname\n";<br>
    }<br>
<br>
So the installer is specifically excluding md devices when looking for<br>
disks.<br>
<br>
Naturally this begs the question of what would happen if one added<br>
modprobe's for md raid support (right after the modprobe of dm_mod in<br>
unconfigured.sh), removed the "next if..." line in the proxinstall<br>
script above, reconstituted the ISO, and booted it up to "see what happens."<br>
<br>
It seems that someone else had probably already done this.  If no one<br>
else has done it then it's likely someone would be willing to offer<br>
advice on why enabling support for md devices would be "a bad thing(tm)"<br>
or at least offer some insight as to why md devices are specifically<br>
avoided in the present installer.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Paul Gray                                         -o)<br>
314 East Gym, Dept. of Computer Science           /\\<br>
University of Northern Iowa                      _\_V<br>
 Message void if penguin violated ...  Don't mess with the penguin<br>
 No one says, "Hey, I can't read that ASCII attachment ya sent me."<br>
_______________________________________________<br>
pve-user mailing list<br>
<a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a><br>
<a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user" target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a><br>
</div></div></blockquote></div><br></div>