Using a file as blockdevice for vscsi host

Ingvar Hagelund ingvar at
Mon Aug 21 23:30:27 EST 2006

I think someone, sometime told me something about using a file as vscsi
device in a (Linux) vio server. Is this possible?

I tried this, but it doesn't seem to work:

vios# dd if=/dev/zero of=/path/to/sysvol bs=1M count=9000
viod# cd sys/bus/vio/devices/30000020/bus0
vios# echo 2 > num_targets
vios# cd target1
vios# echo /path/to/sysvol > device
vios# echo b > type
vios# echo 1 > active
vios# echo $?
vios# cat active


Blogs are the new usenet
(Mike of

More information about the Linuxppc-dev mailing list