Matt,
Here are the notes I have for an earlier SLES11 release.
How to dynamically add a MDISK to zLinux
Usually the MDISK definition is added to USER.DIRECT and then the Guest
must logoff and logon in order to pick up the new definition. This article
explains how to dynamically add the MDISK to the running Guest. Don't just
attach the DASD as later on when you do logoff/logon you will start at a
different cylinder. Our Guest is SLES11, you will need to make the
appropriate name of your Guest below.
1. Logon to MAINT
2. Attach rdev to maint
==> q da free
==> att F306 *
3. Start CPFMTXA and FORMAT the DASD
==> CPFMTXA F306
FORMAT
000 END
F306 <Note: This is the label>
YES
END
4. Reattach the DASD
==> DET F306
==> ATT F306 SYSTEM
==> Q DASD
DASD F306 CP SYSTEM F306 0
5. Add the entry to the Guest USER.DIRECT and compile
MDISK 0300 3390 0001 10016 F306 MR SLES11 SLES11 SLES11
==> DIRECTXA
6. Link the MDISK from the running Guest SLES11
# modprobe vmcp
# vmcp link SLES11 300 1100 mr
1. Verify the DASD is present on the console
#CP Q DASD
DASD 1100 3390 F306 R/O 10016 CYL ON DASD F306 SUBCHANNEL =
0021
1. Bring the MDISK online
# chccwdev -e 0.0.1100
Setting device 0.0.1100 online
Done
Mike O'Reilly
IBM Linux Change Team
"Dazzo, Matt"
<[email protected]>
Sent by: Linux on To
390 Port [email protected]
<[email protected] cc
IST.EDU>
Subject
Unable to get device online
03/11/2015 12:29
PM
Please respond to
Linux on 390 Port
<[email protected]
IST.EDU>
Seems to be the day for device issues on the forum. We are running RHEL 5.5
on zvm, I am trying to get a additional mdisk online to extend a vgroup.
This is a mod-27, I did these same steps last week for a new vgroup and it
worked fine. Would like to mention I am very new to linux and at a loss
what to try next. Thanks Matt
Steps taken so far in vm;
cpfmtxa - that appeared to run fine.
xedit user direct and added mdisk. MDISK 207 3390 0001 32759 LN4F85 MR
READ WRITE MULTIPLE
There is a generic entry on the vm system config file for all LN/ volumes.
Restart zvm - I understand the user direct can be dynamically added but
that did not work the last time I went to add a mdisk so I did a restart.
linux
Restart the linux server.
chccwdev -e 0207
Then get Device 0.0.0207 not found.
----------------------------------------------------------------------
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/