Re: [oi-dev] New BE every package update?

2012-04-16 Thread Milan Jurik

Hi,

On 15.04.2012 22:54, Alasdair Lumsden wrote:

On 15 Apr 2012, at 21:50, Milan Jurik wrote:
The reality is that I am flooded with several new BEs per day. My 
grub

list is increasing frequently. OK, I have to live with it :-)


There's also:

pkg --no-backup-be

:-D



Alan and Alasdair, thank you for hint. I was thinking pkg cannot 
surprise me anymore. I was mistaken :-)


Best regards,

Milan

___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev


[oi-dev] New BE every package update?

2012-04-15 Thread Milan Jurik
Hi,

is it expected with the latest prestable that new backup BE is created
even if minor binary is updated?

$ pfexec pkg install scantailor
Packages to update:   1
   Create boot environment:  Ne
Create backup boot environment: Ano

[...]

$ pkg contents scantailor
PATH
usr
usr/bin
usr/bin/scantailor
usr/bin/scantailor-cli
usr/share
usr/share/scantailor
usr/share/scantailor/translations
usr/share/scantailor/translations/scantailor_bg.qm
usr/share/scantailor/translations/scantailor_cs.qm
usr/share/scantailor/translations/scantailor_de.qm
usr/share/scantailor/translations/scantailor_es.qm
usr/share/scantailor/translations/scantailor_fr.qm
usr/share/scantailor/translations/scantailor_it.qm
usr/share/scantailor/translations/scantailor_ja.qm
usr/share/scantailor/translations/scantailor_pl.qm
usr/share/scantailor/translations/scantailor_pt_BR.qm
usr/share/scantailor/translations/scantailor_ru.qm
usr/share/scantailor/translations/scantailor_sk.qm
usr/share/scantailor/translations/scantailor_uk.qm
usr/share/scantailor/translations/scantailor_zh_TW.qm


$ beadm list
BE Active Mountpoint  Space Policy Created
libhal -  -   5,23G static 2012-03-27
20:46
nscd   -  -   675M  static 2012-04-11
21:35
oi-install -  -   18,0M static 2011-10-03
23:44
openindiana-  -   18,9M static 2011-10-07
19:07
openindiana-5  -  -   3,19G static 2012-02-17
20:51
openindiana-6  -  -   29,0M static 2012-02-17
23:05
openindiana-7  NR /   29,4G static 2012-04-12
21:42
openindiana-7-backup-1 -  -   6,32M static 2012-04-13
22:25
openindiana-7-backup-2 -  -   220K  static 2012-04-15
18:05
openindiana-7-backup-3 -  -   215K  static 2012-04-15
21:13
openindiana-7-backup-4 -  -   225K  static 2012-04-15
21:46

I was expecting BE snapshots through ZFS snapshots as it was. Not new
BE.

Best regards,

Milan


___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] New BE every package update?

2012-04-15 Thread Andrew Gabriel

Milan Jurik wrote:

Hi,

is it expected with the latest prestable that new backup BE is created
even if minor binary is updated?
  


Milan,

That's how it works in Solaris 11, certainly.

If the update will be straight into the running system, then the new BE 
is a snapshot before the update is applied.


If the update will be into a new boot environment (requiring a reboot to 
activate), then the backup is the current boot environment which is 
unchanged by the update.


Either way, you get a 'before' and an 'after' BE.


I was expecting BE snapshots through ZFS snapshots as it was. Not new BE.



How would you boot back to a ZFS snapshot if your update trashed the 
current BE?
That's exactly what a BE is for (and it's little more than a ZFS 
snapshot anyway).


--
Andrew

___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] New BE every package update?

2012-04-15 Thread Igor Pashev
It is a kind of intimation on stability and usability
of IPS and userland *trollface*

15.04.2012 23:51, Milan Jurik пишет:
 Hi,
 
 is it expected with the latest prestable that new backup BE is created
 even if minor binary is updated?
 
 $ pfexec pkg install scantailor
 Packages to update:   1
Create boot environment:  Ne
 Create backup boot environment: Ano
 
 [...]
 
 $ pkg contents scantailor
 PATH
 usr
 usr/bin
 usr/bin/scantailor
 usr/bin/scantailor-cli
 usr/share
 usr/share/scantailor
 usr/share/scantailor/translations
 usr/share/scantailor/translations/scantailor_bg.qm
 usr/share/scantailor/translations/scantailor_cs.qm
 usr/share/scantailor/translations/scantailor_de.qm
 usr/share/scantailor/translations/scantailor_es.qm
 usr/share/scantailor/translations/scantailor_fr.qm
 usr/share/scantailor/translations/scantailor_it.qm
 usr/share/scantailor/translations/scantailor_ja.qm
 usr/share/scantailor/translations/scantailor_pl.qm
 usr/share/scantailor/translations/scantailor_pt_BR.qm
 usr/share/scantailor/translations/scantailor_ru.qm
 usr/share/scantailor/translations/scantailor_sk.qm
 usr/share/scantailor/translations/scantailor_uk.qm
 usr/share/scantailor/translations/scantailor_zh_TW.qm
 
 
 $ beadm list
 BE Active Mountpoint  Space Policy Created
 libhal -  -   5,23G static 2012-03-27
 20:46
 nscd   -  -   675M  static 2012-04-11
 21:35
 oi-install -  -   18,0M static 2011-10-03
 23:44
 openindiana-  -   18,9M static 2011-10-07
 19:07
 openindiana-5  -  -   3,19G static 2012-02-17
 20:51
 openindiana-6  -  -   29,0M static 2012-02-17
 23:05
 openindiana-7  NR /   29,4G static 2012-04-12
 21:42
 openindiana-7-backup-1 -  -   6,32M static 2012-04-13
 22:25
 openindiana-7-backup-2 -  -   220K  static 2012-04-15
 18:05
 openindiana-7-backup-3 -  -   215K  static 2012-04-15
 21:13
 openindiana-7-backup-4 -  -   225K  static 2012-04-15
 21:46
 
 I was expecting BE snapshots through ZFS snapshots as it was. Not new
 BE.
 
 Best regards,
 
 Milan
 



___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] New BE every package update?

2012-04-15 Thread Milan Jurik
Hi Andrew,

Andrew Gabriel píše v ne 15. 04. 2012 v 21:27 +0100:
 Milan Jurik wrote:
  Hi,
 
  is it expected with the latest prestable that new backup BE is created
  even if minor binary is updated?

 
 Milan,
 
 That's how it works in Solaris 11, certainly.
 
 If the update will be straight into the running system, then the new BE 
 is a snapshot before the update is applied.
 
 If the update will be into a new boot environment (requiring a reboot to 
 activate), then the backup is the current boot environment which is 
 unchanged by the update.
 
 Either way, you get a 'before' and an 'after' BE.
 
  I was expecting BE snapshots through ZFS snapshots as it was. Not new BE.
 
 
 How would you boot back to a ZFS snapshot if your update trashed the 
 current BE?
 That's exactly what a BE is for (and it's little more than a ZFS 
 snapshot anyway).
 

I remembered there were ZFS snapshosts taken earlier, so it was (at
least theoretically) possible to revert to some ZFS snapshot manually
and I lived with last builds of Solaris only shortly so I missed this
change. Previously only core bits were installed to new BE, no backup
BE were created.

The reality is that I am flooded with several new BEs per day. My grub
list is increasing frequently. OK, I have to live with it :-)

Best regards,

Milan


___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] New BE every package update?

2012-04-15 Thread Alasdair Lumsden
On 15 Apr 2012, at 21:50, Milan Jurik wrote:
 The reality is that I am flooded with several new BEs per day. My grub
 list is increasing frequently. OK, I have to live with it :-)

There's also:

pkg --no-backup-be

:-D

___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] New BE every package update?

2012-04-15 Thread Alan Coopersmith
On 04/15/12 01:50 PM, Milan Jurik wrote:
 The reality is that I am flooded with several new BEs per day. My grub
 list is increasing frequently. OK, I have to live with it :-)

Or you could use the --no-backup-be flag to pkg or beadm destroy the ones
you know you'll never go back to.

-- 
-Alan Coopersmith-  alan.coopersm...@oracle.com
 Oracle Solaris Engineering - http://blogs.oracle.com/alanc

___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev