- 论坛徽章:
- 0
|
Typically, the lpfc driver reads the configuration parameters from
lpfc.conf, during driver startup. Once the configuration parameters are
read, the lpfc driver does not re-read the driver parameters. This
feature is native to the Solaris operating system. However on Solaris
releases 9 or later, you can force the lpfc driver to re-read the
lpfc.conf configuration file using the update_drv system command.
Note
The
update_drv command does not change the parameters for the lpfc
instances that are already active in the system. The changes will be
applicable to any new lpfc instances that are attached afterwards.
Changes made by editing the lpfc.conf file and issuing an "update_drv"
command are only dynamic for Solaris 9 and later.
To modify the configuration parameters:
Login as root or su to root.
Edit the configuration parameters in the file /kernel/drv/lpfc.conf
Run update_drv –f lpfc to force the Solaris system to re-read lpfc.conf
To modify parameters for an adapter instance that is already active:
Login as root or su to root.
Run cfgadm and note down the corresponding to the lpfc instance.
Unconfigure the lpfc driver instance corresponding to .
Edit the adapter-specific parameters in the file /kernel/drv/lpfc.conf.
Run update_drv –f lpfc to force the Solaris system to re-read lpfc.conf.
Run cfgadm and configure the adapter instance back.
To modify parameters for an adapter that is yet to be added:
Login as root or su to root.
Run cfgadm and configure the new adapter instance.
Note down the adapter instance. The adapter instance is printed in the driver sign-on
messages.
Run cfgadm and unconfigure the new adapter instance.
Edit the adapter-specific parameters in the file /kernel/drv/lpfc.conf.
Run update_drv –f lpfc to force the Solaris system to re-read lpfc.conf.
Run cfgadm and configure the new adapter instance.
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/2389/showart_64008.html |
|