Colin,
I am assuming you are using your zPDT system here due to your mention of Linux.
It appears that the manager stanza in the devmap does not support readonly for
awsckd devices.
However, the awsmount command does appear to support readonly. (This is copied
from SG24-8205.)
awsmount dev-address {-b | --bsf [n] }
{-c | --compress }
{-f | --fsf [n] }
{-s | --rew }
{-t | --wtm [n] }
{-x | --run }
{-u | --unmount }
{-r | --ro | --readonly }
{-w | --rw | --readwrite }
{-q | --query }
{{-o | --replace} file-name [-r|--ro|-w|--rw] }
{{-m | --mount } file-name [-r|--ro|-w|--rw] }
{-d | --disc | --disconnect }
So you should supply awsckd device statements with no filename specified and
then after your awstart has completed you should be able to mount the devices
you need using awsmount and specify readonly. These commands can be scripted if
needed.
I think that MVS will issue various messages complaining about not being able
to update the volumes in question. I remember seeing this is situations where
MVS volumes were readonly due to MVS running under z/VM and the devices being
specified as readonly in the z/VM guest definition. I don't recall the
messages, but you'll soon find them!
Lennie Dymoke-Bradshaw
https://rsclweb.com
‘Dance like no one is watching. Encrypt like everyone is.’
-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Colin Paice
Sent: 13 July 2021 19:40
To: [email protected]
Subject: Can I define a disk as read only to z/OS?
I am migrating to the latest levels of ADCD ( C4* instead of A4*). During the
migration I would like to be able to mount the A4* volumes on the C4 system,
but mount them read only.
I can change the Linux disk to be access mode 444, but if I want to IPL from
A4* I need to change it back again.
The z/OS documentation mentions usingn read-only disks, but I can't see how to
do it. I dont think I can do it from the HCD
OA50068: NEW FUNCTION - PROVIDE READ-ONLY ACCESS FOR SYNCHRONOUS PPRC SECONDARY
DEVICES <https://www.ibm.com/support/pages/apar/OA50068> Looks like it is only
for PPRC.
Do I just have to live with changing the access mods to/from 444.
Colin
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN