Virtual SCSI

From GoFacts

Revision as of 11:20, 4 July 2007 by Bautt (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Steps

  • HMC: Assign vSCSI server adapter to VIO server, remember the slot number Image:Vio-settings-virt-io-debian-scsi-marked.png
  • HMC: Assign vSCSI client adapter to client LPAR, link the slot with the VIO server Image:Lpar-settings-virt-io-debian-scsi-marked.png
  • VIO: Create a device (volume, disk partition or loopback file) on the VIO server
  • VIO: Configure vSCSI Server on the VIO Server to point to the device created

Virtual SCSI commands (using Linux VIO)

  • Load vscsi server module
modprobe –v ibmvscsis
  • Create a block device you are going to share, for example disk partition, logical volume, or loopback mounted file
  • Now link this device to the virtual disk (in this case slot number 5):
cd /sys/devices/vio/30000005/bus0/target0
echo /dev/sdc1 > device
echo b > type
echo 0 > ro
echo 1 > active

See also: Debian vio and SUSE_Vio

Personal tools