Listing the DCSSs that map to a particular device

Red Hat Enterprise Linux 9.2 z/VM guest

Read the seglist sysfs attribute to find out how DCSS devices in Linux® map to DCSSs as defined in z/VM.

Procedure

To list the DCSSs that map to a DCSS device, issue a command of this form:
# cat /sys/devices/dcssblk/<dcss-name>/seglist
where <dcss-name> is the DCSS name that represents the DCSS device.

Examples

In this example, DCSS device MYDCSS maps to a single DCSS, MYDCSS.
# cat /sys/devices/dcssblk/MYDCSS/seglist
MYDCSS
In this example, DCSS device MYDCSS2 maps to three contiguous DCSSs, MYDCSS1, MYDCSS2, and MYDCSS3.
# cat /sys/devices/dcssblk/MYDCSS2/seglist
MYDCSS2
MYDCSS1
MYDCSS3