Show Table of Contents
25.3.4. 为网络 Root 文件系统配置 System z 网络设备
要添加访问 root 文件系统所需的网络设备,您只要更改引导选项即可。引导选项可位于参数文件中(请参考 第 26 章 参数和配置文件),或者是
zipl.conf 的一部分,该文件位于使用 zipl 引导装载程序准备的 DASD 或者附加 FCP 的 SCSI LUN 中。这里无需重新创建 initramfs。
Dracut(mkinitrd 的继任程序,可提供 initramfs 中的功能用来依次替换 initrd)提供一个引导参数来在引导进程早期激活 System z 中的网络设备:
rd_ZNET=。
输入时,这个参数使用逗号分开的
NETTYPE(qeth、lcs、ctc)、两个(lcs,ctc)或者三个(qeth)设备总线 ID,以及由密钥-数值对组成,与网络设备 sysfs 属性对应的可选附加参数。这个参数配置和激活 System z 网络硬件。对 IP 地址和其他具体网络的配置同样适用于其他平台。详情请参考 dracut 文档。
在 boot 中为网络通道明确处理 cio_ignore。
通过 NFS 使用网络访问的 root 文件系统引导选项示例:
root=10.16.105.196:/nfs/nfs_root cio_ignore=all,!0.0.0009 rd_ZNET=qeth,0.0.0a00,0.0.0a01,0.0.0a02,layer2=1,portno=0,portname=OSAPORT ip=10.16.105.197:10.16.105.196:10.16.111.254:255.255.248.0:nfs‑server.subdomain.domain:eth0:none rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.