xcp
xcp copied to clipboard
LVM: set archive=1 in /etc/lvm/lvm.conf
From /etc/lvm/lvm.conf:
backup {
# Configuration option backup/archive.
# Maintain an archive of old metadata configurations.
# Think very hard before turning this off.
archive = 0
think very hard before turning this off Why is archive off in xcp-ng?
This comes from XenServer's packaging of lvm. It's explicitly disabled with:
sed -i 's/archive = .*/archive = 0/' $RPM_BUILD_ROOT/%{_sysconfdir}/lvm/lvm.conf
So there is a reason, but I don't see any comments or changelog entries which explains why, and there is no public repository whose history we could look at.
There is no XenServer public bugtracker for these package sources, but you may try to reach the main people involved in this decision on the repository for Storage Manager: https://github.com/xapi-project/sm/issues
Also CCing @Wescoeur in case he knows something I don't.
I don't know what the real reason for this change is, but it may prevent rollback to a specific position to ensure there is no problem on the sm side (e.g. LVHDSR).
Opened https://github.com/xapi-project/sm/issues/635