another interesting idea (zfs based upgrades)

Jonathan Dieter jdieter at gmail.com
Thu Mar 26 18:52:07 UTC 2009


On Thu, 2009-03-26 at 14:30 -0400, Seth Vidal wrote:
> 
> On Thu, 26 Mar 2009, Neal Becker wrote:
> 
> > http://tech.xerces.com/unbreakable-upgrades-zfs-and-apt-get.geek
> >
> 
> Here's how this would work in the yum world:
> 
> 1. if any package from @core (or any of their deps) are being upgraded 
> then run an lvm snapshot and store it/add it to grub
> 2. proceed with update
> 
> If anyone would like to write the lvm snapshot rootfs and store/add it to 
> grub I can write the yum plugin to do the rest.
> 
> It's not radically exciting code.
> 
> In yum you wouldn't even need to stop the yum update command and ask the 
> user to run a separate program.

My experience with lvm snapshotting was that it slowed down disk speeds
significantly.  I would expect that filesystem based snapshotting (which
btrfs will have) might be more efficient.  Or we could make sure the
snapshot is only left long enough to make sure the updates work.

Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20090326/7752e838/attachment.sig>


More information about the fedora-devel-list mailing list