/srv/irclogs.ubuntu.com/2007/09/02/#ubuntu-installer.txt

=== danp [i=danp@elmer.glueless.net] has joined #ubuntu-installer
danphi12:15
danpi'm having trouble preseeding a software RAID setup. is that supported?12:17
cjwatsonnot 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 possible12:26
cjwatsonsorry12:26
danpno sorries! that's quite alright.12:40
danpi'm trying to understand this better...so partman-auto-raid (the package?) would provide support for that? what does partman-md do?12:41
danpor do you mean partman-auto-raid the preseed key12:41
danpahh, i see. i found the partman-auto-raid d-i package12:46
danplooks like i should be able to just build it and install it myself off my thumb drive. just trying to work out one issue01:23
cjwatsonpartman-md provides the normal RAID UI in the installer01:33
cjwatsonit won't be easy to install partman-auto-raid by hand due to an infelicity in how cdebconf works01:34
danpit created arrays01:34
cjwatsonif you nobble your installation source to include it, that would work01:35
danpi built the udeb and used udpkg -i to install it01:35
cjwatsonheh, actually you will probably be OK just as long as it never has to display an error01:35
cjwatsonif it has to display an error it will fail to find its templates and get very very confused01:35
cjwatsonbut otherwise, yeah, should be OK01:35
danpfor some reason it's trying to go up to /dev/md/10 though01:36
cjwatsonhmm, it's not been tested in Ubuntu ...01:36
cjwatsonit just munches through /proc/mdstat to find the next number01:36
danpyeah01:36
cjwatsonhow many entries were you expecting?01:37
danp0, 1, and 2. which it creates fine01:37
cjwatsonwhat does it create on the rest of them?01:37
cjwatsoncould I see your recipe?01:38
danpit 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
danpsure, sec01:38
danphttp://pastie.caboo.se/9315701:39
danpbasically straight from the debian example01:39
cjwatsonah, it's a consequence of the buggered templates01:39
cjwatsongive me a moment and I'll give you a workaround01:40
cjwatsonok, this is horrible, but add this to your preseed file:01:41
cjwatsond-i partman-auto-raid/raidnum string01:41
cjwatsonthat'll just create the template so that it doesn't unexpectedly get an error01:41
cjwatsonwouldn't be necessary if partman-auto-raid were installed normally01:42
danpahh, i was thinking about just manually setting that to 0 or 2 or whatever it wanted01:42
cjwatsonjust set it to blank and it should sort it out itself01:42
danpthanks! i'm giving it a go now01:43
danpperfect!01:45
danpi was curious to see, too, if it would get upset now that md devices existed already01:46
danpbut it seems to be fine01:46
cjwatsonI suspect it won't have wiped them01:48
cjwatsonso you might need to do that01:48
danpit didn't get a chance to mkfs them before01:48
cjwatsonthough I suppose it will have overwritten the partitions where they previously were - hmm, hope that doesn't cause them to change number01:49
danpnah01:49
cjwatsonoh well, should fall out in the UUID wash anyway01:49
danpi still just have 0, 1, and 201:49
cjwatsonok, cool01:49
danpand they are sync'ing as expected01:49
danpthank you very much01:49
danpi have a ton of machines that have dual internal SATA drives that i'm looking to reinstall01:49
cjwatsongood luck! do you have a means to do the udpkg -i automatically (preseed/early_command maybe)?01:53
danpyep01:53
danpit wasn't in what i pasted but that's what i did01:53
danpat first to try it i just cancelled DHCP (so i could get a pause) and installed it manually01: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-20ubiquity: 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!