20.6. DASDs that are not part of the root file system
Direct Access Storage Devices (DASDs) that are not part of the root file system, that is, data disks, are persistently configured in the /etc/dasd.conf file. This file contains one DASD per line, where each line begins with the DASD’s bus ID.
When adding a DASD to the /etc/dasd.conf file, use key-value pairs to specify the options for each entry. Separate the key and its value with an equal (=) sign. When adding multiple options, use a space or a tab to separate each option. For example, the /etc/dasd.conf file contains:
0.0.0207
0.0.0200 use_diag=1 readonly=1
Changes to the /etc/dasd.conf file take effect after a system reboot or after a new DASD is dynamically added by changing the system’s I/O configuration (that is, the DASD is attached under z/VM).
Alternatively, to activate a DASD that you have added to the /etc/dasd.conf file, complete the following steps:
Remove the DASD from the list of ignored devices and make it visible using the
cio_ignoreutility:# cio_ignore -r device_numberwhere
device_numberis the DASD device number.For example, if the device number is
021a, run:# cio_ignore -r 021aActivate the DASD by writing to the device’s
ueventattribute:# echo add > /sys/bus/ccw/devices/dasd-bus-ID/ueventwhere
dasd-bus-IDis the DASD’s bus ID.For example, if the bus ID is
0.0.021a, run:# echo add > /sys/bus/ccw/devices/0.0.021a/uevent