Never mind my last message, I had not properly logged out of the guest, as soon
as i did and re IPL'd it showed the proper permissions .
mylinux:~ # vmcp q privclass
Privilege classes for user mylinux
Currently: BG
Directory: BG
I followed your instructions and got the following :
mylinux:~ # vmcp att 1c04 to mylinux
FCP 1C04 ATTACHED TO mylinux 1C04
Then I brought it online :
chccwdev -e 1c04
Setting device 0.0.1c04 online Done
my next step i believe is configure it and LUN to access it correct ?
if so, please advice on how to do this.
Thanks again everyone / Mark Post
I am learning a lot from you all.
David A
On Sep 21, 2013, at 10:35 AM, David Armenta <[email protected]>
wrote:
> ok, I changed the privileges to BG on my user direct, and bounced the guest,
> I get the following below.
>
> mylinux:~ # vmcp q privclass
> Privilege classes for user mylinux
> Currently: G
> Directory: BG
>
> where else do i have to change privileges so the Currently has B as well ?
>
> Thanks again
>
> On Sep 21, 2013, at 9:59 AM, Mark Post <[email protected]> wrote:
>
>>>>> 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/
>
----------------------------------------------------------------------
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/