Re: Naming of subvolumes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2012-10-25 at 16:09 +0100, Leonidas Spyropoulos wrote:
> On another note. How would you implement that logic (make a snapshot
> before upgrade) without the lib? Would you wrap package manager into a
> wrapper or patch package manager to call snapshot and the upgrade.
> In both cases you will need to parse stdout, stderr from the snapshot
> creation.

I'm intending to add the snapshot stuff in the logic described here:
https://gitorious.org/packagekit/packagekit/blobs/master/contrib/systemd-updates/README.txt

> Also would you automatically roll back to before snapshot if something
> goes wrong or give option to user? Can you categorise errors on
> upgrades according ti fatality to the system?

If *anything* in the upgrade fails and we've already started the package
transaction then we'd roll back to the previous known-good snapshot.

Richard.

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux