Ethan Quach wrote:
> 
> 
> Pete Dennis wrote:
>> Shawn Walker wrote:
>>  
>>> Pete Dennis wrote:
>>>    
>>>> Bart Smaalders wrote:
>>>>      
>>>>> petede wrote:
>>>>>        
>>>>>> Folks,
>>>>>>
>>>>>> I am trying to pkg image-update on an snv_96 image in a VirtualBox 
>>>>>> environment
>>>>>> and it fails with:
>>>>>>
>>>>>> pkg: unable to create BE none
>>>>>> pkg: image-update cannot be done on a live image
>>>>>>
>>>>>> When the pkg process was started there were no BE's apart from 
>>>>>> opensolaris-1
>>>>>> at the end of the failure I have another BE: opensolaris-2 which is
>>>>>> mounted on /tmp/.be.....
>>>>>>
>>>>>> The pkg version is: 1b1547cb8655
>>>>>>
>>>>>> Any  thoughts ?
>>>>>>           
>>>>> How big is your virtual disk?
>>>>>         
>>>> I have three disks defined:
>>>>
>>>> - IDE primary Master: 16Gb
>>>> - IDE primary slave: 509Mb
>>>> - IDE secondary slave: 509Mb
>>>>
>>>> from within the machine It says 9.40G is available.
>>>>
>>>> However the zpool status does say the rpool is using an older
>>>> on-disk format.
>>>>
>>>> I'll do a zpool upgrade and then retry the image-update.
>>>>       
>>> Be careful of that zpool upgrade; that can cause a different issue. 
>>> Search the mailing list archive first.
>>>
>>>     
>>
>> Alas the same error occurred - unable to create BE None.
>>
>> I wonder if this is memory thing - the VM only has 1Gb allocated
>> to it...
>>   
> 
> I hate ask for this, but since this is and older build -- 96 ...
> 
> Can you set BE_PRINT_ERR=true, and rerun. Also,
> What's your zfs list and zfs mount look like.
> 

Here it is:

be_mount_callback: failed to mount dataset rpool/ROOT/opensolaris-2/opt at 
/tmp/.be.pIaqyb/opt: directory is not empty
be_mount: failed to mount BE (opensolaris-2) on /tmp/.be.pIaqyb
be_update_vfstab: failed to mount BE (opensolaris-2)
be_copy: failed to update new BE's vfstab (opensolaris-2)
pkg: unable to create BE None
pkg: image-update cannot be done on live image

and the zfs mount
rpool/ROOT/opensolaris-1                /
rpool/export                            /export
rpool/export/home                       /export/home
rpool/                                  /rpool
rpool/ROOT                              /rpool/ROOT
rpool/ROOT/opensolaris-2                /tmp/.be.pIaqyb

And looking in the directory:

/tmp/.be.pIaqyb/opt I find I have a VirtualBoxAdditions directory
containing a bunch of stuff.

(I've not included the zfs list output - but will send later).

ta
pete
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to