SLES9 SP1

The following will dymically add DASD to a running zLinux guest. However, you will still have to shut the linux guest down to single user mode in order to umount a busy filesystem.


As MAINT on z/VM:
Add the new DASD to the guests stanza in USER DIRECT
DIRMAP USER DIRECT
DIRECTXA USER DIRECT

As GUEST on z/VM:
#CP LINK GUEST <new DASD device> <new DASD device> MW
(e.g. CP LINK JDX13AD1 155 155 MW)

As root on zLinux
chccwdev -e 0.0.0<new DASD device>
(e.g. chccwdev -e 0.0.0155)

Now you can do the usual dasdfmt/fdasd commands to the new DASD. (cat /proc/dasd/devices to check it’s device number).

e.g.

dasdfmt -y -f /dev/dasde -b 4096 -p
fdasd -a /dev/dasde

About troyski

I'm a freelance UNIX engineer working in the UK. I'm married to Tina and between us we have six children. I'm a bit of an Apple fan boy, and all the Windows machines in the house are a thing of the past now.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Post navigation