Displaying 1 result from an estimated 1 matches for "lvmstuff".
Did you mean:
llvmstuff
2011 Nov 18
2
newbie question re block-attach on ubuntu 11.10
...trying to start another VM at the moment,
just playing around with mounting block devices,
and had trouble with block-attach:
$ dd if=/dev/zero of=foo.img bs=1024k seek=64 count=0
0+0 records in
0+0 records out
0 bytes (0 B) copied, 1.6493e-05 s, 0.0 kB/s
$ sudo xm block-attach 0 file://home/dank/lvmstuff/foo.img /dev/xvda1 w 0
$ sudo xm block-list 0
Vdev BE handle state evt-ch ring-ref BE-path
51713 0 0 1 -1 -1 /local/domain/0/backend/vbd/0/51713
$ sudo mkfs.ntfs /dev/xvda1
Failed to access ''/dev/xvda1'': No such file or directory
The device doesn''t exist; did you specify...