Port-xen archive

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

Re: HEAD UP possible disk corruption for linux guests



At Wed, 19 Jun 2024 11:44:11 +0200, Manuel Bouyer <bouyer%antioche.eu.org@localhost> wrote:
Subject: HEAD UP possible disk corruption for linux guests
>
> Hello
> be warned that on a NetBSD dom0 running netbsd-10 or HEAD (anything with
> xbdback_xenbus.c 1.83 or newer, really), a linux domU may corrupt its
> virtual disk with a real risk of data loss (been there ...)
> The problem is that rev 1.83 oversimplifed the xbd implementation and
> doens't properly handle some request allowed by the xbd protocol.
> This should be fixed with xbdback_xenbus.c 1.105 which I just commited.

Hmmm....  I guess I need to test to see if this fixes the FreeBSD use of
xbd for LVM-backed storage too!  The timelines for 1.83 vs the 1.97 I
was testing when I discovered the FreeBSD problem don't quite line up on
first glance, but I don't know for sure what revision was in use for
last working dom0 I was running back then -- it didn't seem it could be
older than 1.83, but maybe it was.  I don't have a copy of it any more.

It might take me some days to do this though....

--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgpgO9Pr1b6eA.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index