一般情况下,只能在系统的OBP状态下通过”devalias”或”nvalias”命令定义物理引导设备的别名,但在安装了VxVM软件的系统中,可以利用VxVM内置的”vxeeprom”命令在线定义或撤消某个引导设备的别名,参考以下实例:
# eeprom nvramrc
nvramrc=devalias testdisk /pci@9c,700000/pci@1/pci@1/scsi@2/disk@2,0:a
devalias disk1 /pci@9c,700000/pci@1/pci@1/scsi@2/disk@1,0:a
devalias disk /pci@9c,700000/pci@1/pci@1/scsi@2/disk@0,0:a
# vxeeprom devunalias disk1
# vxeeprom devunalias testdisk
# vxeeprom devalias sol9 /pci@9c,700000/pci@1/pci@1/scsi@2/disk@2,0:a
# vxeeprom devalias sol10 /pci@9c,700000/pci@1/pci@1/scsi@2/disk@1,0:a
# eeprom boot-device=”disk sol9 sol10”
# eeprom nvramrc
nvramrc=devalias sol10 /pci@9c,700000/pci@1/pci@1/scsi@2/disk@1,0:a
devalias disk /pci@9c,700000/pci@1/pci@1/scsi@2/disk@0,0:a
devalias sol9 /pci@9c,700000/pci@1/pci@1/scsi@2/disk@2,0:a
阅读(2515) | 评论(0) | 转发(0) |