Hi Colin
On Sun, May 05, 2019 at 12:12:00AM +0100, Colin Watson wrote:
> > I also ran into this on upgrading from stretch to buster. Fortunately I
> > was keeping enough of an eye on console output from the upgrade that I
> > was able to find this bug and I worked around it as you describe here.
> In case it's useful information to anyone, since the system ID appears
> to contain a seconds-since-epoch value, I can deduce that I created the
> VG on 2004-05-18, which makes sense given the sorts of things I was
> doing at the time. I would have been running either woody or the
> current state of sarge in development at the time.
Is is possible this VG was converted from lvm1? In the year 2004 lvm2
existed but was rather new. I found code to generate exactly this
format of system id in the lvm1 support code of lvm2/2.01.14 (the oldest
version I was able to find easily).
| lvm_snprintf(s, NAME_LEN, "%s%s%lu", prefix, cmd->hostname, time(NULL)
Support to make any use of this value was is rather new and was added
for stretch.
Regards,
Bastian
--
No one may kill a man. Not for any purpose. It cannot be condoned.
-- Kirk, "Spock's Brain", stardate 5431.6