Red Hat Enterprise Linux 9 Essentials Book now available.
Purchase a copy of Red Hat Enterprise Linux 9 (RHEL 9) Essentials
Red Hat Enterprise Linux 9 Essentials Print and eBook (PDF) editions contain 34 chapters and 298 pages
25.3.2.2. Persistently adding an LCS device
Cio_ignore is handled transparently for persistent device configurations and you do not need to free devices from the ignore list manually.
To add an LCS device persistently, follow these steps:
Create a configuration script as file in /etc/sysconfig/network-scripts/ with a name like ifcfg-ethn where n is an integer starting with 0. The file should look similar to the following:
Modify the value of PORTNAME to reflect the LCS port number (portno) you would like to use. You can add any valid lcs sysfs atttribute and its value to the optional OPTIONS parameter. Refer to Section 25.3.1.3, “Persistently adding a qeth device” for the syntax.
Set the DEVICE parameter as follows:
DEVICE=ethn
Issue an ifup command to activate the device:
# ifup ethn
Changes to an ifcfg file only become effective after rebooting the system. You can trigger the activation of a ifcfg file for network channels by executing the following commands:
Use the cio_ignore command to remove the LCS device adapter from the list of ignored devices and make it visible to Linux: