[indiana-discuss] running bootadm update-archive ?

Detlef Drewanz Detlef.Drewanz at Sun.COM
Fri Feb 29 13:52:54 PST 2008


Dave Miner wrote, On 02/27/08 22:55:
> Detlef Drewanz wrote:
>> Hi,
>> what special instructions do I have to follow to run "bootadm 
>> update-archive" on Indiana2 ? Because this is in zfsboot it looks 
>> different.
>>
>> And because I managed indiana2 to install as domU in xvm, it destroys 
>> my   installed image when it runs first "bootadm update-archive". 
>> After that I can not longer boot. Any ideas what should changed.
>>
> 
> There shouldn't be anything special that I'm aware of.  We use "bootadm 
> update-archive" to generate the boot archive at installation.  What's 
> the problem you're having?

Dave,
there are two things happening:
1. bootadm update-archive do not finishes his work. It blocks in a 
"find" which is started from bootadm. One can see this with ptree to 
find the right find. I trussed this find and only see a "sleep" - 
waiting for something. If I kill this find, it's going ahead, but this 
someting to do right ?

2. the follow-up bootadm will finish the work, but then the next reboot 
shows that the boot_archive is inconsistent. I made a trick and made a 
copy of this. So if it fails to boot I use boot_archive.old (see grub 
edit function during boot) to bring the system up and restart bootadm 
again (+ kill find). When that finishes and I reboot it works. I found 
out that I generally had to bootadm twice.

BTW: This only happens for me in: Indiana2 in xvm DomU, zvol as disc for 
domU.

regards
Detlef

-- 
Detlef Drewanz            Systems Engineer/OS Ambassador
Sun Microsystems GmbH     Phone: (+49 30) 747096 856
Komturstrasse 18a         mailto:detlef.drewanz at sun.com
D-12099 Berlin            http://blogs.sun.com/solarium
---
Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder,Wolfgang Engels,Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering



More information about the indiana-discuss mailing list