All of lore.kernel.org
 help / color / mirror / Atom feed
* Using a file as blockdevice for vscsi host
@ 2006-08-21 13:30 Ingvar Hagelund
  0 siblings, 0 replies; only message in thread
From: Ingvar Hagelund @ 2006-08-21 13:30 UTC (permalink / raw)
  To: linuxppc-dev

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


-- 
Blogs are the new usenet
(Mike of UserFriendly.org)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-08-21 13:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-21 13:30 Using a file as blockdevice for vscsi host Ingvar Hagelund

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.