AIX:扫描新硬件
在AIX中,如果硬件上有所变动,可以通过:cfgmgr去刷新当前AIX中的硬件信息。
具体如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
root@aix:/ # lspv hdisk0 00cd7651bf1cd905 rootvg active hdisk1 00cc37c298f35cbb rootvg active hdisk2 00cd7661b5479fc2 rootvg active hdisk3 00cd7651b521c300 rootvg active hdisk4 00cd76515d26cced datavg active hdisk5 00cd76517f129ed2 datavg active hdisk9 00cd7651812de1cc datavg active hdisk6 00cd7651f5cc22f4 datavg active hdisk7 00cd7651f920d8e3 datavg active hdisk8 00cd76515a4936b8 datavg active hdisk10 00cd7651cf913b39 datavg active hdisk11 00cd76510af824ee datavg active hdisk12 00cd765133e8e886 datavg active root@aix:/ # root@aix:/ # cfgmgr Method error (/usr/lib/methods/cfgefscsi -l fscsi1 ): 0514-061 Cannot find a child device. root@aix:/ # root@aix:/ # lspv hdisk0 00cd7651bf1cd905 rootvg active hdisk1 00cc37c298f35cbb rootvg active hdisk2 00cd7661b5479fc2 rootvg active hdisk3 00cd7651b521c300 rootvg active hdisk4 00cd76515d26cced datavg active hdisk5 00cd76517f129ed2 datavg active hdisk9 00cd7651812de1cc datavg active hdisk6 00cd7651f5cc22f4 datavg active hdisk7 00cd7651f920d8e3 datavg active hdisk8 00cd76515a4936b8 datavg active hdisk10 00cd7651cf913b39 datavg active hdisk11 00cd76510af824ee datavg active hdisk12 00cd765133e8e886 datavg active hdisk13 none None root@uaix:/ # |
——————————
Done。