FreeBSD-current/Xen and block device enumeration

Adrian Chadd adrian at freebsd.org
Mon May 18 17:00:34 UTC 2009


This config:

disk = [
        'phy:/dev/hosting2_data2/XEN_freebsd_root,0x01,w',
        'phy:/dev/hosting2_data2/XEN_freebsd_swap,0x02,w'
        ]


Gives this output in dmesg:

xbd0: 10240MB <Virtual Block Device> at device/vbd/1 on xenbus0
GEOM: new disk xbd0
xbd1: 512MB <Virtual Block Device> at device/vbd/2 on xenbus0
WARNING: WITNESS option enabled, expect reduced performance.
GEOM: new disk xbd0

and then ls -l /dev/xbd* :

freebsd_domu# ls -l /dev/xbd*
crw-r-----  1 root  operator    0,  41 May 18 02:51 /dev/xbd0
crw-r-----  1 root  operator    0,  41 May 18 02:51 /dev/xbd0

Hm, I wonder whats busted!



Adrian


More information about the freebsd-xen mailing list