Port-xen archive

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

Re: xbd and large sectors



On Tue, 25 Jul 2023, Manuel Bouyer wrote:
> this should now be fixed with xbd_xenbus 1.134, just commited to HEAD.

Indeed, it is. And just to make sure: yes, it still works with 
512-byte-sector disks. \o/

Something else, but this may be material for a different thread on this 
list: is this intentional that "only" four disks can be used with xbd? 
During bootup 6 disks are present, but only 4 can be used.

$ dmesg | grep xbd
[     1.090047] xbd0 at xenbus0 id 51712: Xen Virtual Block Device Interface
[     1.100045] xbd0: using event channel 12
[     1.100045] xbd1 at xenbus0 id 51728: Xen Virtual Block Device Interface
[     1.110053] xbd1: using event channel 13
[     1.110053] xbd2 at xenbus0 id 51744: Xen Virtual Block Device Interface
[     1.120053] xbd2: using event channel 14
[     1.120053] xbd0: 8192 MB, 4096 bytes/sect x 2097152 sectors
[     1.120053] xbd0: backend features 0xc<PERSISTENT,INDIRECT>
[     1.130045] xbd3 at xenbus0 id 51760: Xen Virtual Block Device Interface
[     1.130045] xbd3: using event channel 15
[     1.140049] xbd4 at xenbus0 id 51776: Xen Virtual Block Device Interface
[     1.150046] xbd4: using event channel 16
[     1.150046] xbd1: 16384 MB, 4096 bytes/sect x 4194304 sectors
[     1.150046] xbd1: backend features 0xc<PERSISTENT,INDIRECT>
[     1.150046] xbd5 at xenbus0 id 51792: Xen Virtual Block Device Interface
[     1.160096] xbd5: using event channel 17
[     1.170053] xbd2: 8192 MB, 512 bytes/sect x 16777216 sectors
[     1.170053] xbd2: backend features 0xc<PERSISTENT,INDIRECT>
[     1.200051] xbd3: 16384 MB, 512 bytes/sect x 33554432 sectors
[     1.200051] xbd3: backend features 0xc<PERSISTENT,INDIRECT>
[     1.210052] xbd4: 512 MB, 4096 bytes/sect x 131072 sectors
[     1.210052] xbd4: backend features 0xc<PERSISTENT,INDIRECT>
[     1.230055] xbd5: 512 MB, 512 bytes/sect x 1048576 sectors
[     1.230055] xbd5: backend features 0xc<PERSISTENT,INDIRECT>

=> xbd0..3 are working OK, but xbd4 & xbd5 are not wired up:

$ fdisk xbd4; disklabel xbd4
fdisk: cannot opendisk xbd4d: No such file or directory
disklabel: xbd4d: No such file or directory

Christian.
-- 
BOFH excuse #414:

tachyon emissions overloading the system


Home | Main Index | Thread Index | Old Index