Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7683417
  • 博文数量: 637
  • 博客积分: 10265
  • 博客等级: 上将
  • 技术积分: 6165
  • 用 户 组: 普通用户
  • 注册时间: 2004-12-12 22:00
文章分类

全部博文(637)

文章存档

2011年(1)

2010年(1)

2009年(3)

2008年(12)

2007年(44)

2006年(156)

2005年(419)

2004年(1)

分类:

2005-12-28 22:42:43

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:

  1. Login as root or su to root.

  2. Edit the configuration parameters in the file /kernel/drv/lpfc.conf

  3. 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:

  1. Login as root or su to root.

  2. Run cfgadm and note down the corresponding to the lpfc instance.

  3. Unconfigure the lpfc driver instance corresponding to .

  4. Edit the adapter-specific parameters in the file /kernel/drv/lpfc.conf.

  5. Run update_drv –f lpfc to force the Solaris system to re-read lpfc.conf.

  6. Run cfgadm and configure the adapter instance back.

To modify parameters for an adapter that is yet to be added:

  1. Login as root or su to root.

  2. Run cfgadm and configure the new adapter instance.

  3. Note down the adapter instance. The adapter instance is printed in the driver sign-on messages.

  4. Run cfgadm and unconfigure the new adapter instance.

  5. Edit the adapter-specific parameters in the file /kernel/drv/lpfc.conf.

  6. Run update_drv –f lpfc to force the Solaris system to re-read lpfc.conf.

  7. Run cfgadm and configure the new adapter instance.




阅读(3489) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~