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) writes:

>> If I now create a zvol with 10G size and start a NetBSD 10.1 (PV mode) 
>> the zvol appears in the DomU, but the disk size inside the DomU is only 
>> 25% (2^2??). I tried with different zvol blockvolsizes but without any 
>> effect.

16G -> 2G is factor 8.

Can you check what Dom0 passes to the hypervisor?

Get Domain ID with 'xl list'

# xl list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  1024     1     r-----     353.1
test10                                       4  1024     2     -b----      72.4

-> the guest is ID 4

Query xenstore for backend devices of that domain id like:

# xenstore-ls /local/domain/0/backend/vbd/4 | grep -e params -e sector
 params = "/home/xen/test10.img"
 sectors = "8388608"
 sector-size = "512"
 params = "/dev/zvol/dsk/tank/test"
 sectors = "4194304"
 sector-size = "4096"




Home | Main Index | Thread Index | Old Index