[caasp-beta] transactional updates
Thorsten Kukuk
kukuk at suse.com
Fri Mar 31 07:38:32 MDT 2017
On Fri, Mar 31, Bo Jin wrote:
> Hi,
> I still want to better understand "transaction updates".
>
> From the available docu so far I know the the transactional-update script is
> looking if any new updates are available, if yes then a read only snapshot
> of btrfs root fs will be created. Then the script will execute the updates.
> After updates the ro snapshot will be marked as active/default and machine
> needs to be rebooted.
>
> My question is where does the rpm goto during updates? Into the ro snapshot?
Yes, except that it is not ro. After creating the snapshot, it will be
switched to read-write, than zypper up is called inside of the snapshot,
and afterwards it is switched back to read-only.
There is a generic talk from me from FOSDEM this year:
https://fosdem.org/2017/schedule/event/transactional_update_with_btrfs/
The for your interesting part starts at about 9:50.
Thorsten
--
Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & CaaSP
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)
More information about the caasp-beta
mailing list