From: Ingvar Hagelund <ingvar@linpro.no>
To: linuxppc-dev@ozlabs.org
Subject: Using a file as blockdevice for vscsi host
Date: Mon, 21 Aug 2006 15:30:27 +0200 [thread overview]
Message-ID: <44E9B573.1090403@linpro.no> (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
--
Blogs are the new usenet
(Mike of UserFriendly.org)
reply other threads:[~2006-08-21 13:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44E9B573.1090403@linpro.no \
--to=ingvar@linpro.no \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).