Displaying 2 results from an estimated 2 matches for "nathannx".
Did you mean:
nathan
2015 Mar 12
2
Can't block-attach a file on a read only volume?
...this works on old xen but fails on 4.4:
xendev01 ~ # mkdir /mnt/test
xendev01 ~ # mount -t tmpfs - /mnt/test
xendev01 ~ # dd if=/dev/null of=/mnt/test/disk seek=100M bs=1
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.000201809 s, 0.0 kB/s
xendev01 ~ # /usr/sbin/xl block-attach nathannx "file:/mnt/test/disk" "xvdd4"
DEBUG libxl__blktap_devpath 37 aio:/mnt/test/disk
DEBUG libxl__blktap_devpath 40 /dev/xen/blktap-2/tapdev20
xendev01 ~ # xl block-detach nathannx 51764
DEBUG libxl__device_destroy_tapdisk 66 type=aio:/mnt/test/disk disk=:/mnt/test/...
2015 Mar 13
0
Can't block-attach a file on a read only volume?
On Thu, Mar 12, 2015 at 8:05 PM, Nathan March <nathan at gt.net> wrote:
> xendev01 ~ # mount -o remount,ro /mnt/test
>
>
>
> xendev01 ~ # /usr/sbin/xl block-attach nathannx "file:/mnt/test/disk"
> "xvdd4"
>
> DEBUG libxl__blktap_devpath 37 aio:/mnt/test/disk
>
> libxl: error: libxl.c:2149:device_disk_add: failed to get blktap devpath for
> 0xd3abd0
>
> libxl: error: libxl.c:1727:device_addrm_aocomplete: unable to (null) devi...