Skip to contentSkip to conversation

Using a file as blockdevice for vscsi host

DISCUSSION Ingvar Hagelund 1 participant 1 message Aug 21, 2006

lore
Share & tools
lore
#0 lore raw

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 $?
1
vios# cat active
0

Ingvar

Signature · 2 lines
Blogs are the new usenet
(Mike of UserFriendly.org)