tech-kern archive

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

Re: I think I've found why Xen domUs can't mount some file-backed disk images! (vnd(4) hides labels!)



bouyer%antioche.eu.org@localhost (Manuel Bouyer) writes:

>The size of the disk is indeed 790528 in the xenstore (and the dom0's
>kernel message) but I don't know where this comes from.

>The file is definitively 791121 sectors long:

vnd computes a fake geometry based on 1MB cylinders.

791121 truncated to full Megabytes is 790528 (772 MB).

The easiest is probably to pad the file to 773 MB (791552 sectors).



Home | Main Index | Thread Index | Old Index