You cannot LINK real DASD but you can ATTACH real DASD as a virtual address
to your Linux guest. You can run LINK command from your guest and ATTACH
command from any authorised user (normally a user with a privilege class B;
MAINT normally has that authorisation).
Both LINK and ATTACH commands will survive Linux re-boot but not LOGOFF of
your guest virtual machine. To make things permanent, you have to add a LINK
directory control statement (to make LINK command permanent) and DEDICATE
directory control statement (to make ATTACH command permanent) to the user
directory entry for that guest and then compile the directory and bring it
online using a method implemented on your site (DIRECTXA, DIRMAINT,
VM:Secure, ...). Be mindful of the order of operands for DEDICATE - it's
"DEDICATE vdev rdev", i.e. the reverse of what you specify for ATTACH.

Ivica

On Sun, Jun 1, 2008 at 1:56 PM, Martin, Terry R. (CMS/CTR) (CTR) <
[EMAIL PROTECTED]> wrote:

> Hi Alan,
>
> Thanks for the info. One other question. Can I LINK the real DASD device
> address AS a virtual address? LINK * 513D 800. I asked this because up
> to this point I have presented the DASD to the Linux guest via the USER
> DIRECTORY entry as VIRTUAL addresses so I would like to stay consistent
> when I LINK them dynamically while the guest is active.
>
> If the guest is re-booted will the LINKED DASD is be there after the
> re-boot or would I need to re-LINK?
>
> Does it matter whether I issue the LINK via the MAINT user or does it
> have to be done from the guest itself?
>
> This is my first attempt at z/VM and z/Linux so if the questions sound
> elementary until I sort this all out, I apologize.
>
> Thanks, Terry
>
> -----Original Message-----
> From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
> Behalf Of Alan Ackerman
> Sent: Saturday, May 31, 2008 10:00 PM
> To: [email protected]
> Subject: Re: Presenting Additional ECKD devices to Linux Guest
> Dynamically
>
> On Sat, 31 May 2008 15:29:56 -0400, Martin, Terry R. (CMS/CTR) (CTR)
> <[EMAIL PROTECTED]> wrote:
>
> >Hi
> >
> >
> >
> >I am running z/VM 5.3 with a RedHat 4.6 z/Linux (Kernel level 2.6.9-67)
> >guest. I need to give this guest some more ECKD DASD. I want to do this
> >dynamically. As far as I knew to accomplish this I should only need to
> >add the devices to the User Directory bring that new Directory online
> >(DIRECTXA USER). At this point on the Linux side they need to do some
> >things to see the new device.
>
> Updating the directory for a virtual machine has no effect on the
> virtual=
>  machine, until the virtual
> machine is next logged on. For a virtual machine that is already logged
> o=
> n, you will have to log off
> and log back on again.
>
> If you want the virtual machine to stay logged on, you can either ATTACH
> =
> the device to the virtual
> machine, or ATTACH it to SYSTEM and then LINK to it from the virtual
> mach=
> ine.
>
> Alan Ackerman
> Alan (dot) Ackerman (at) Bank of America (dot) com
>

Reply via email to