25.2.2.2. FCP LUNs That Are Not Part of the Root File System
FCP LUNs that are not part of the root file system, such as data disks, are persistently configured in the file
/etc/zfcp.conf. It contains one FCP LUN per line. Each line contains the device bus ID of the FCP adapter, the WWPN as 16 digit hexadecimal number prefixed with 0x, and the FCP LUN prefixed with 0x and padded with zeroes to the right to have 16 hexadecimal digits, separated by a space or tab. Entries in /etc/zfcp.conf are activated and configured by udev when an FCP adapter is added to the system. At boot time, all FCP adapters visible to the system are added and trigger udev.
Example content of /etc/zfcp.conf:
Modifications of
/etc/zfcp.conf only become effective after a reboot of the system or after the dynamic addition of a new FCP channel by changing the system's I/O configuration (for example, a channel is attached under z/VM). Alternatively, you can trigger the activation of a new entry in /etc/zfcp.conf for an FCP adapter which was previously not active, by executing the following commands:
- Use the
cio_ignorecommand to remove the FCP adapter from the list of ignored devices and make it visible to Linux:cio_ignore -r DeviceNumber
# cio_ignore -r DeviceNumberCopy to Clipboard Copied! Toggle word wrap Toggle overflow Replace DeviceNumber with the device number of the FCP adapter. For example:cio_ignore -r fcfc
# cio_ignore -r fcfcCopy to Clipboard Copied! Toggle word wrap Toggle overflow - To trigger the uevent that activates the change, issue:
echo add > /sys/bus/ccw/devices/Device.Bus.ID/uevent
echo add > /sys/bus/ccw/devices/Device.Bus.ID/ueventCopy to Clipboard Copied! Toggle word wrap Toggle overflow For example:echo add > /sys/bus/ccw/devices/0.0.fcfc/uevent
echo add > /sys/bus/ccw/devices/0.0.fcfc/ueventCopy to Clipboard Copied! Toggle word wrap Toggle overflow