solaris识别新加存储盘

The technique used will depend upon the type of storage device being added.  This doc may be used as a quick reference guide, however, you should look at the detailed procedures which are available for the specific server, (or storage) that is being allocated.

For any scsi attached jbod device, you can recreate the device trees "on the fly" by reloading the associated driver and re-creating the device trees. In this example, we re-create the device information for a "sd" managed SCSI disk drive in a JBOD array.

  • # devfsadm -i sd
  • # devfsadm -Cv

Some of the Internal disks in servers use the cfgadm utility to facilitate a disk replacment. Here is an example of replacing an internal failed disk.

  • # cfgadm -c unconfigure c1::dsk/c1t3d0 (used prior during removal)
  • # cfgadm -c configure  c1::dsk/c1t3d0

Some SAS connected disk drives are hot swapable via the mpt driver.

  • # devfsadm -i mpt
  • # devfsadm -Cv

Even iscsi uses the same technique.

  • # devfsadm -i iscsi
  • # devfsadm -Cv

Fiber Channel fabric attached devices use the cfgadm utility. In this example, lun 1 of fabric device 203400a0b82fbc5d is added to the server.

  •  # cfgadm -al -o show_FCP_dev
        c2::203400a0b82fbc5d,1         disk         connected    unconfigured   unknown
  • # cfgadm -c configure c2::203400a0b82fbc5d,1 

Direct attached fiber channel storage uses the luxadm utility. Some hardware specific commands may include.

  • # luxadm insert_device xxxxx
  • # luxadm -e force_lip  /xxxxxx
  • # devfsadm -i ssd
  • # devfsadm -Cv

The common theme to getting all storage dynamically allocated to the server is with the devfsadm command. If devfsadm does not create a device for you (in the formatutility), then its best to consult the hardware configuration and service manual for your particular server. 

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值