solarg wrote:
Shawn Walker wrote:

solarg wrote:
hello all,
i've os2008.11 on a sun ultra20, and there are BE:
he...@ultra20:~# beadm list
BE Active Mountpoint Space Policy Created -- ------ ---------- ----- ------ ------- opensolaris-3 - - 108.81M static 2008-11-12 13:58
opensolaris-4 NR     /          15.66G  static 2008-12-12 11:23

after pointing to dev repo:
he...@ultra20:~# pkg authority
AUTHORITY                           URL
blastwave                           http://blastwave.network.com:10000/
dev.opensolaris (preferred)         http://pkg.opensolaris.org/dev/
opensolaris.org                     http://pkg.opensolaris.org:80/
sunfreeware.com                     http://pkg.sunfreeware.com:9000/
extra https://pkg.sun.com/opensolaris/extra/

i'm trying to update to os2009.06, but it fails:
he...@ultra20:~# pkg image-update
DOWNLOAD PKGS FILES XFER (MB) Completed 741/741 48449/48449 1101.86/1101.86

pkg: unable to create BE None
pkg: image-update cannot be done on live image

anybody knows how to correct this problem?

Hi, it's likely your mountpoints aren't quite right.

Try this to get more information:

BE_PRINT_ERR=true pfexec pkg image-update


he...@ultra20:~# BE_PRINT_ERR=true pfexec pkg image-update
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed 741/741 48449/48449 1101.86/1101.86

be_get_uuid: failed to get uuid property from BE root dataset user properties. be_copy_zones: failed to snapshot zone BE (rpool/export/catalogue4/ROOT/z...@zbe-1): dataset is busy
be_copy: failed to process zones
be_copy: destroying partially created boot environment
pkg: unable to create BE None
pkg: image-update cannot be done on live image

There was a ZFS issue that has now been fixed that could cause the dataset to report that it was busy when attempting to take a snapshot. It appears that this may be what you are hitting. To work around this try making sure all your zones are in the running state so that their datasets are mounted. Then try to do a beadm create of a new BE and see if it is able to create a new BE. If it can then you should be OK to try the image-update.

-evan


Also, what's the output of this:

zfs list




he...@ultra20:~# zfs list
NAME                               USED  AVAIL  REFER  MOUNTPOINT
rpool                             56.9G  14.0G    63K  /rpool
rpool/ROOT                        12.4G  14.0G    18K  /rpool/ROOT
rpool/ROOT/opensolaris-3           109M  14.0G  6.14G  legacy
rpool/ROOT/opensolaris-3/opt       145K  14.0G   884M  /opt
rpool/ROOT/opensolaris-4          12.3G  14.0G  5.69G  legacy
rpool/ROOT/opensolaris-4/opt      1.43G  14.0G   885M  /opt
rpool/apps                         520M  14.0G   520M  /local/apps
rpool/export                      43.4G  14.0G    42K  /export
rpool/export/catalogue4           4.93M  14.0G    37K  /export/catalogue4
rpool/export/catalogue4/ROOT      4.90M  14.0G    18K  legacy
rpool/export/catalogue4/ROOT/zbe  4.88M  14.0G   235M  legacy
rpool/export/csw                  8.13G  14.0G  8.13G  /export/csw
rpool/export/downloads              18K  14.0G    18K  /export/downloads
rpool/export/home                 9.56G  14.0G  9.56G  /export/home
rpool/export/install              5.19G  14.0G  5.19G  /export/install
rpool/export/jumpstart            8.08G  14.0G  8.08G  /export/jumpstart
rpool/export/linux                6.64G  14.0G  6.64G  /export/linux
rpool/export/local                 470M  14.0G    29K  /export/local
rpool/export/local/matlab7.1 470M 14.0G 470M /export/local/matlab7.1
rpool/export/logiciels              18K  14.0G    18K  /export/logiciels
rpool/export/master                232M  14.0G    21K  /export/master
rpool/export/master/ROOT           232M  14.0G    18K  legacy
rpool/export/master/ROOT/zbe       232M  14.0G   232M  legacy
rpool/export/sfw                  1005M  14.0G  1005M  /export/sfw
rpool/export/solaris              3.91G  14.0G  3.91G  /export/solaris
rpool/export/toto                  237M  14.0G    37K  /export/toto
rpool/export/toto/ROOT             236M  14.0G    18K  legacy
rpool/export/toto/ROOT/zbe         236M  14.0G   236M  legacy
rpool/jdsbld                        18K  14.0G    18K  /rpool/jdsbld
rpool/local                        572M  14.0G   572M  /usr/local


thanks for help,

gerard

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

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

Reply via email to