xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Killian De Volder <killian.de.volder@scarlet.be>
To: xen-devel@lists.xen.org
Subject: Re: Xen and 4K Sectors (was blkback and bcache)
Date: Wed, 29 Aug 2012 09:28:29 +0200	[thread overview]
Message-ID: <503DC49D.4090903@scarlet.be> (raw)
In-Reply-To: <503D3646.7020800@abpni.co.uk>


[-- Attachment #1.1: Type: text/plain, Size: 1557 bytes --]

Word of warning:
Since you are messing with 4k size bocks:

If you add a 4k dm device to a 512b dm device, the dm becomes a 4k device.
If you combine this with a phy:// disk and you are using a Windows it starts trashing your data.

I don't think this bug has been fixed yet, but strictly speaking, it's windows not supporting block-size changes on the fly.

On 28-08-12 23:21, Jonathan Tripathy wrote:
> On Mon, Aug 13, 2012 at 01:25:07PM +0000, James Harper wrote:
> >/  >  /
> >/  >  I think the problem is definitely related to the 4K sector issue./
> >/  >  /
> >/  >  qemu appears to always present 512 byte sectors, thus only booting from a/
> >/  >  512 byte sector partition table. Once the PV drivers take over though it all/
> >/  >  falls down because PV drivers are passed a 4K sector size and nothing/
> >/  >  matches up anymore./
> >/  >
>
> /Hi James,
>
> I'm curious as to how you came to the conclusion that qemu always presents 512 byte sectors?
> When using bcache formatted to a 4k sector size, Windows Server 2008 just flat out refuses to install...
> This is true regardless of whether I'm passing an LV directly to the DomU (phy), or whether I'm using tap::aio or file.
>
> When formatting the bcache to 512 byte size, Windows tries to install. I say "tries" as then my system kernel
> panics and reboots, but that's a bcache issue (I've posted the trace to the bcache list).
>
> Thanks
>
>
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel


[-- Attachment #1.2: Type: text/html, Size: 2663 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  parent reply	other threads:[~2012-08-29  7:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-28 21:21 Xen and 4K Sectors (was blkback and bcache) Jonathan Tripathy
2012-08-29  7:00 ` James Harper
2012-08-29  7:28 ` Killian De Volder [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-08-13 13:16 James Harper
2012-08-13 13:25 ` James Harper
2012-08-13 18:43   ` Pasi Kärkkäinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=503DC49D.4090903@scarlet.be \
    --to=killian.de.volder@scarlet.be \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).