Re: 2.6.28 ext4, xen and lvm volume becomes ro after snapshot

From: Theodore Tso
Date: Fri Dec 26 2008 - 13:22:00 EST


Hmm... ok, to summarize, you are seeing this problem with 2.6.28 (have
you tried earlier kernel versions) when an LVM volume has a read/only
snapshot in existence and you try to mount the LVM volume using ext4.
If you mount the same LVM volume using ext3, you don't see any
problems. Is that correct?

Can you try mounting ext3 with barriers enabled? Booting with the
command linux option rootflags=barriers should do the trick. If that
fails, then it would indicate that trying to enable barriers in a Xen
guest while the host OS has created a snapshot of volume causes an I/O
error, thus leading errors which you are seeing.

- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/