Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Xen DomU zvol disk sizes
sebastian%xenoserver.net@localhost (Sebastian Ponitka) writes:
>Am 2025-12-19 16:45, schrieb mlelstv%serpens.de@localhost:
>> That's why it would help to identify what kind of disk
>> geometry is seen and passed to the hypervisor.
>This is the output of the xenstore-ls, but I can not see any geometry
>informations:
Here it is:
>bash-5.3# xenstore-ls
> params = "/zredpool/xenstore/test/root.img"
> sectors = "20971520"
> sector-size = "512"
> params = "/dev/zvol/dsk/zredpool/test"
> sectors = "4194304"
> sector-size = "512"
The Dom0 already sends out these sizes, and with
512 bytes per sector, there is no translation that
could wrong for the DomU.
To verify if this matches the internal ZFS data you
can dump the vdev labels on the ZFS disks like:
zdb -l /dev/rwd0
This dumps all 4 labels on wd0 with the values
ashift: -> sector size == 2^ashift
asize: -> number of bytes (a multiple of sector size)
ashift must be 9 for you.
With netbsd-10.1 this should all be correct, but maybe
ZFS was set up with an earlier version ?
Home |
Main Index |
Thread Index |
Old Index