=== danp [i=danp@elmer.glueless.net] has joined #ubuntu-installer | ||
danp | hi | 12:15 |
---|---|---|
danp | i'm having trouble preseeding a software RAID setup. is that supported? | 12:17 |
cjwatson | not at the moment, I'm afraid. I'll add moving partman-auto-raid into main to my to-do list so that it will at least be vaguely possible | 12:26 |
cjwatson | sorry | 12:26 |
danp | no sorries! that's quite alright. | 12:40 |
danp | i'm trying to understand this better...so partman-auto-raid (the package?) would provide support for that? what does partman-md do? | 12:41 |
danp | or do you mean partman-auto-raid the preseed key | 12:41 |
danp | ahh, i see. i found the partman-auto-raid d-i package | 12:46 |
danp | looks like i should be able to just build it and install it myself off my thumb drive. just trying to work out one issue | 01:23 |
cjwatson | partman-md provides the normal RAID UI in the installer | 01:33 |
cjwatson | it won't be easy to install partman-auto-raid by hand due to an infelicity in how cdebconf works | 01:34 |
danp | it created arrays | 01:34 |
cjwatson | if you nobble your installation source to include it, that would work | 01:35 |
danp | i built the udeb and used udpkg -i to install it | 01:35 |
cjwatson | heh, actually you will probably be OK just as long as it never has to display an error | 01:35 |
cjwatson | if it has to display an error it will fail to find its templates and get very very confused | 01:35 |
cjwatson | but otherwise, yeah, should be OK | 01:35 |
danp | for some reason it's trying to go up to /dev/md/10 though | 01:36 |
cjwatson | hmm, it's not been tested in Ubuntu ... | 01:36 |
cjwatson | it just munches through /proc/mdstat to find the next number | 01:36 |
danp | yeah | 01:36 |
cjwatson | how many entries were you expecting? | 01:37 |
danp | 0, 1, and 2. which it creates fine | 01:37 |
cjwatson | what does it create on the rest of them? | 01:37 |
cjwatson | could I see your recipe? | 01:38 |
danp | it doesn't seem to...it just logs an error from within initial_auto_raid_fs looking for /var/lib/partman/devices/=dev=md=10 (within fix_raid_fs()) | 01:38 |
danp | sure, sec | 01:38 |
danp | http://pastie.caboo.se/93157 | 01:39 |
danp | basically straight from the debian example | 01:39 |
cjwatson | ah, it's a consequence of the buggered templates | 01:39 |
cjwatson | give me a moment and I'll give you a workaround | 01:40 |
cjwatson | ok, this is horrible, but add this to your preseed file: | 01:41 |
cjwatson | d-i partman-auto-raid/raidnum string | 01:41 |
cjwatson | that'll just create the template so that it doesn't unexpectedly get an error | 01:41 |
cjwatson | wouldn't be necessary if partman-auto-raid were installed normally | 01:42 |
danp | ahh, i was thinking about just manually setting that to 0 or 2 or whatever it wanted | 01:42 |
cjwatson | just set it to blank and it should sort it out itself | 01:42 |
danp | thanks! i'm giving it a go now | 01:43 |
danp | perfect! | 01:45 |
danp | i was curious to see, too, if it would get upset now that md devices existed already | 01:46 |
danp | but it seems to be fine | 01:46 |
cjwatson | I suspect it won't have wiped them | 01:48 |
cjwatson | so you might need to do that | 01:48 |
danp | it didn't get a chance to mkfs them before | 01:48 |
cjwatson | though I suppose it will have overwritten the partitions where they previously were - hmm, hope that doesn't cause them to change number | 01:49 |
danp | nah | 01:49 |
cjwatson | oh well, should fall out in the UUID wash anyway | 01:49 |
danp | i still just have 0, 1, and 2 | 01:49 |
cjwatson | ok, cool | 01:49 |
danp | and they are sync'ing as expected | 01:49 |
danp | thank you very much | 01:49 |
danp | i have a ton of machines that have dual internal SATA drives that i'm looking to reinstall | 01:49 |
cjwatson | good luck! do you have a means to do the udpkg -i automatically (preseed/early_command maybe)? | 01:53 |
danp | yep | 01:53 |
danp | it wasn't in what i pasted but that's what i did | 01:53 |
danp | at first to try it i just cancelled DHCP (so i could get a pause) and installed it manually | 01:54 |
=== superm1 [n=superm1@ubuntu/member/superm1] has joined #ubuntu-installer | ||
=== superm1 [n=superm1@ubuntu/member/superm1] has joined #ubuntu-installer | ||
=== superm1_ [n=superm1@ubuntu/member/superm1] has joined #ubuntu-installer | ||
CIA-20 | ubiquity: superm1 * r2156 mythbuntu-ubiquity/ (debian/changelog scripts/mythbuntu/mythbuntu_install.py): add errno to imports of mythbuntu_ui (LP: #130771) | 12:11 |
=== cr3 [n=cr3@bas5-montreal02-1167966178.dsl.bell.ca] has joined #ubuntu-installer | ||
=== superm1 [n=superm1@ubuntu/member/superm1] has joined #ubuntu-installer |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!