rootvg引导列表的pathid问题咨询

# bootlist -m normal -ohdisk0 blv=hd5 pathid=1hdisk1 blv=hd5 pathid=0hdisk1是克隆过来的,然后镜像到hdisk0,然后bootlist -m normal hdisk0 hdisk1修改了引导列表,但是怎么一个是1,一个是0?请大神知道下,谢谢!显示全部
# bootlist -m normal -o
hdisk0 blv=hd5 pathid=1
hdisk1 blv=hd5 pathid=0


hdisk1是克隆过来的,然后镜像到hdisk0,然后bootlist -m normal hdisk0 hdisk1修改了引导列表,但是怎么一个是1,一个是0?请大神知道下,谢谢!收起
参与8

查看其它 6 个回答hello_unix的回答

hello_unixhello_unix信息技术经理西安
lspath  -t hdisk0
lspath -t hdisk1
命令敲完,可以看到pathid了
至于pathid有啥意义呢
In AIX 6.1 TL 6 (6100-06-00) a new feature was added to allow a system administrator to specify which paths would be used to boot from in a multipath environment. This was added by APAR IZ72620 (PTF U838753). The feature was also added to AIX 7.
BOOTLIST OUTPUT
The bootlist will now print the path ID of each path on output:

      # bootlist -om normal
      hdisk0 blv=hd5 pathid=0
      hdisk0 blv=hd5 pathid=1

In this example there are two paths to the boot disk.


SETTING THE BOOTLIST
To set the bootlist to specific paths, list each path on the command line:

      # bootlist -m normal hdisk0 blv=hd5 pathid=0 pathid=1
or
      # bootlist -m normal hdisk0 blv=hd5 pathid=0,1

Using this method paths can be ignored or deleted from the boot list. This may be necessary if there are more than 5 paths to a boot device, as the Open Firmware for pSeries systems only allows 5 devices (or paths) maximum in the boot list.

Path ordering is also maintained in the bootlist. If a user wishes to have paths 2, then 1, then 0 searched or booted from, using "pathid=2,1,0" will follow this ordering during the boot

具体要看ibm的官方文档
http://www-01.ibm.com/support/docview.wss?uid=isg3T1012688
互联网服务 · 2015-07-16
浏览3869

回答者

hello_unix
信息技术经理西安
擅长领域: 服务器存储灾备

hello_unix 最近回答过的问题

回答状态

  • 发布时间:2015-07-16
  • 关注会员:1 人
  • 回答浏览:3869
  • X社区推广