[indiana-discuss] beadm activate issue while upgrade to snv_94

Praveen Kumar praveen at sun.com
Wed Jul 30 09:48:27 PDT 2008


Dave Miner wrote:
> Praveen Kumar wrote:
>> I am running snv_93. I tried upgrading to snv_94. Even though I can 
>> use 'pkg image-update' on the image, I did the following so that I can 
>> choose the name of the BE instead of getting some arbitrary number 
>> suffix.
>>
>> $ pfexec beadm create opensolaris-snv_94
>> $ pfexec beadm mount opensolaris-snv_94 /mnt
>> $ pfexec pkg -R /mnt image-update -v
>> $ pfexec beadm unmount opensolaris-snv_94
>> $ pfexec beadm activate opensolaris-snv_94
>> beadm: Unable to activate opensolaris-snv_94
>>
> 
> A simpler method, which I use, is:
> 
> pkg image-update

In my case, this step would have failed to activate the new BE because 
of lack of disk space. This didn't solve the issue. I had to free up a 
lot of space. I uninstalled Sun Studio, OpenOffice, etc to make some 
room before I succeeded.

Thanks -
Praveen.

> beadm activate (old be)
> beadm rename (old be-1) (desired-be-name)
> beadm activate (desired-be-name)
> 
> (The above activate dance is a bug in renaming, IMHO).
> 
> Bug 1900 is the RFE for image-update to take a desired BE name as an 
> optional argument.



More information about the indiana-discuss mailing list