Show Table of Contents
25.3.4. 為網路 Root 檔案系統配置 System z 網路裝置
若要新增一個存取 root 檔案系統時必要的網路裝置,您只需要更改開機選項即可。開機選項可位於參數檔案中(請參閱 章 26, 參數與配置檔案)或是位於透過 zipl 開機載入程式準備的 DASD 或連接了 FCP 的 SCSI LUN 上的
zipl.conf 中。您無須重新建立 initramfs。
Dracut(繼承了 mkinitrd,提供了 initramfs 功能並取代了 initrd)提供了在 System z 上,開機程序起始時啟用網路裝置的開機參數:
rd_ZNET=。
此參數接受以逗號區隔開的一列
NETTYPE(qeth、lcs、ctc)、兩組(lcs、ctc)或三組(qeth)裝置 bus ID,以及選用性的額外參數,這些參數包含了與網路裝置 sysfs 屬性相應的金鑰值配對。此參數可配置和啟用 System z 網路硬體。IP 位址的配置與其它網路特屬工作的運作方式與在其它平台上相同。欲取得更多詳細資訊,請參閱 dracut 的文件。
網路頻道的 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.