>>> On 9/21/2013 at 12:50 PM, David Armenta <[email protected]> 
>>> wrote: 
> I am a little confused on the proper way of attaching the FCP device to 
> another running guest. 
> from my reading / research I found the vmcp command, am i on the right track 
> ? 
> or can you or some explain how to properly do the attaching to another linux 
> guest ? 

You'll need to do that from a z/VM userid that has the proper CP privileges to 
execute the ATTACH command (class B).  You can determine if the guest has that 
via a "vmcp q privclass" command:
s390vsw005:~ # vmcp q privclass
Error: Could not open device /dev/vmcp: No such device
s390vsw005:~ # modprobe vmcp
s390vsw005:~ # vmcp q privclass
Privilege classes for user LINUX005
        Currently: BG
        Directory: BG

My particular guest has both class G and B.  Yours most likely will only have 
G, in which case you'll need to get the z/VM systems programmer involved.  If 
it does have B, then:
vmcp attach 1008 \* 1008

Or, if virtual device number is already in use for that guest:
vmcp attach 1008 \* someothernumber

You'll then need to bring the FCP adapter online and configure it and the LUN 
to access it.


Mark Post

Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to