正常操作步骤:
首先确认主机与DS4000磁盘阵列已经正确连接,并且在盘阵中已经做好磁盘设置以及Mapping,可以正确识别主机HBA卡WWN号;按照如下步骤检查:
1.
在AIX主机操作系统中,使用命令
lsdev –Cc disk,检查磁盘状态,看磁盘状态是否都为Available状态;
2. 使用命令 lsdev –Cc |grep dac,检查两个控制器dac0、dac1的状态是否为Available状态;
3. 使用命令 lspv
查看所有磁盘是否有正确的PVID
在进行磁阵配置的过程中,需要知道各个主机的HBA光纤卡的WWN号,进行磁阵上的LUN的映射。
HBA卡的WWN有两种:
Node WWN(WWNN):每个HBA卡有其独有的Node WWN。
Port WWN(WWPN):HBA卡上每个port有其独一无二的Port WWN。
通讯是通过port进行的,多数情况下需要使用WWPN而不是WWNN。
在AIX系统中HBA卡对应的设备是fcs。
先通过lsdev获取系统中识别有几块HBA卡;
# lsdev -C |grep fcs
fcs0 Available 00-08 FC Adapter
#
查看HBA卡的网络地址wwn
# lscfg -vl fcs0
fcs0 U787F.001.DPM0Z1T-P1-C4-T1 FC Adapter
Part Number.................80P6455
EC Level....................A
Serial Number...............1F65050364
Manufacturer................001F
Feature Code/Marketing ID...197E
FRU Number.................. 80P6455
Brand.......................H0
Device Specific.(ZM)........3
Network Address.............10000000C9601478
ROS Level and ID............02881914
Device Specific.(Z0)........1001206D
Device Specific.(Z1)........00000000
Device Specific.(Z2)........00000000
Device Specific.(Z3)........03000909
Device Specific.(Z4)........FF801315
Device Specific.(Z5)........02881914
Device Specific.(Z6)........06831914
Device Specific.(Z7)........07831914
Device Specific.(Z8)........20000000C9601478
Device Specific.(Z9)........TS1.90A4
Device Specific.(ZA)........T1D1.90A4
Device Specific.(ZB)........T2D1.90A4
Device Specific.(YL)........U787F.001.DPM0Z1T-P1-C4-T1
#
确认SAN交换机端口的状态是否正确;端口速率,端口状态
连接到磁盘阵列上查看以前的mapping映射是否正确,对应的HBA是否正确。如果正确
# lspv
hdisk0 00022b06aae12497 rootvg active
hdisk2 00022b06086071fe rootvg active
hdisk1 none None
hdisk5 none None
hdisk6 none None
# lsdev -Cc disk
hdisk0 Available 04-08-00-4,0 16 Bit LVDSCSI Disk Drive
hdisk1 Available 04-08-00-5,0 16 Bit LVDSCSI Disk Drive
hdisk2 Available 04-08-00-8,0 16 Bit LVDSCSI Disk Drive
hdisk3 Defined 00-08-02 1815 DS4800 Disk Array Device
hdisk4 Defined 00-08-02 1815 DS4800 Disk Array Device
hdisk5 Available 00-08-02 1815 DS4800 Disk Array Device
hdisk6 Available 00-08-02 1815 DS4800 Disk Array Device
# lsdev | grep dac
dac0 Defined 00-08-02 1815 DS4800 Disk Array Controller
dac1 Available 00-08-02 1815 DS4800 Disk Array Controller
dac2 Defined 00-08-02 1815 DS4800 Disk Array Controller
dac3 Defined 00-08-02 1815 DS4800 Disk Array Controller
dac4 Available 00-08-02 1815 DS4800 Disk Array Controller
#
# cfgmgr
# lsdev -Cc disk
hdisk0 Available 04-08-00-4,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 04-08-00-5,0 16 Bit LVD SCSI Disk Drive
hdisk2 Available 04-08-00-8,0 16 Bit LVD SCSI Disk Drive
hdisk3 Defined 00-08-02 1815 DS4800 Disk Array Device
hdisk4 Defined 00-08-02 1815 DS4800 Disk Array Device
hdisk5 Available 00-08-02 1815 DS4800 Disk Array Device
hdisk6 Available 00-08-02 1815 DS4800 Disk Array Device
#
#
# lsdev -Cc disk
hdisk0 Available 04-08-00-4,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 04-08-00-5,0 16 Bit LVD SCSI Disk Drive
hdisk2 Available 04-08-00-8,0 16 Bit LVD SCSI Disk Drive
hdisk3 Defined 00-08-02 1815 DS4800 Disk Array Device
hdisk4 Defined 00-08-02 1815 DS4800 Disk Array Device
hdisk5 Available 00-08-02 1815 DS4800 Disk Array Device
hdisk6 Available 00-08-02 1815 DS4800 Disk Array Device
#
#
# lsvg
encurvg
rootvg
cardoravg
# lsvg cardoravg
0516-010 : Volume group must be varied on; use varyonvg command.
#
#
# lsvg
encurvg
rootvg
cardoravg
# lsvg -o
rootvg
# lspv
hdisk0 00022b06aae12497 rootvg active
hdisk2 00022b06086071fe rootvg active
hdisk1 none None
hdisk5 none None
hdisk6 none None
#
#
# lquerypv -h /dev/hdisk1
00000000 00000000 00000000 00000000 00000000 |................|
00000010 00000000 00000000 00000000 00000000 |................|
00000020 00000000 00000000 00000000 00000000 |................|
00000030 00000000 00000000 00000000 00000000 |................|
00000040 00000000 00000000 00000000 00000000 |................|
00000050 00000000 00000000 00000000 00000000 |................|
00000060 00000000 00000000 00000000 00000000 |................|
00000070 00000000 00000000 00000000 00000000 |................|
00000080 00000000 00000000 00000000 00000000 |................|
00000090 00000000 00000000 00000000 00000000 |................|
000000A0 00000000 00000000 00000000 00000000 |................|
000000B0 00000000 00000000 00000000 00000000 |................|
000000C0 00000000 00000000 00000000 00000000 |................|
000000D0 00000000 00000000 00000000 00000000 |................|
000000E0 00000000 00000000 00000000 00000000 |................|
000000F0 00000000 00000000 00000000 00000000 |................|
# lquerypv -h /dev/hdisk5
00000000 C9C2D4C1 00000000 00000000 00000000 |................|
00000010 00000000 00000000 00000000 00000000 |................|
00000020 00000000 00000000 00000000 00000000 |................|
00000030 00000000 00000000 00000000 00000000 |................|
00000040 00000000 00000000 00000000 00000000 |................|
00000050 00000000 00000000 00000000 00000000 |................|
00000060 00000000 00000000 00000000 00000000 |................|
00000070 00000000 00000000 00000000 00000000 |................|
00000080 00022B06 216F173A 00000000 00000000 |..+.!o.:........|
00000090 00000000 00000000 00000000 00000000 |................|
000000A0 00000000 00000000 00000000 00000000 |................|
000000B0 00000000 00000000 00000000 00000000 |................|
000000C0 00000000 00000000 00000000 00000000 |................|
000000D0 00000000 00000000 00000000 00000000 |................|
000000E0 00000000 00000000 00000000 00000000 |................|
000000F0 00000000 00000000 00000000 00000000 |................|
# lquerypv -h /dev/hdisk6
00000000 C9C2D4C1 00000000 00000000 00000000 |................|
00000010 00000000 00000000 00000000 00000000 |................|
00000020 00000000 00000000 00000000 00000000 |................|
00000030 00000000 00000000 00000000 00000000 |................|
00000040 00000000 00000000 00000000 00000000 |................|
00000050 00000000 00000000 00000000 00000000 |................|
00000060 00000000 00000000 00000000 00000000 |................|
00000070 00000000 00000000 00000000 00000000 |................|
00000080 0001EAC5 E0B7E60A 00000000 00000000 |................|
00000090 00000000 00000000 00000000 00000000 |................|
000000A0 00000000 00000000 00000000 00000000 |................|
000000B0 00000000 00000000 00000000 00000000 |................|
000000C0 00000000 00000000 00000000 00000000 |................|
000000D0 00000000 00000000 00000000 00000000 |................|
000000E0 00000000 00000000 00000000 00000000 |................|
000000F0 00000000 00000000 00000000 00000000 |................|
# lspv
hdisk0 00022b06aae12497 rootvg active
hdisk2 00022b06086071fe rootvg active
hdisk1 none None
hdisk5 none None
hdisk6 none None
#
#
# lsdev -Cc disk
hdisk0 Available 04-08-00-4,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 04-08-00-5,0 16 Bit LVD SCSI Disk Drive
hdisk2 Available 04-08-00-8,0 16 Bit LVD SCSI Disk Drive
hdisk3 Defined 00-08-02 1815 DS4800 Disk Array Device
hdisk4 Defined 00-08-02 1815 DS4800 Disk Array Device
hdisk5 Available 00-08-02 1815 DS4800 Disk Array Device
hdisk6 Available 00-08-02 1815 DS4800 Disk Array Device
# rmdev -dl hdisk5
hdisk5 deleted
# rmdev -dl hdisk6
hdisk6 deleted
# cfgmgr
#
#
# lspv
hdisk0 00022b06aae12497 rootvg active
hdisk2 00022b06086071fe rootvg active
hdisk1 none None
hdisk5 00022b06216f173a cardoravg
hdisk6 0001eac5e0b7e60a encurvg
# lsvg -o
rootvg
#
#
导入vg运行数据库启动脚本
#
# lspv
hdisk0 00022b06aae12497 rootvg active
hdisk2 00022b06086071fe rootvg active
hdisk1 none None
hdisk5 00022b06216f173a cardoravg active
hdisk6 0001eac5e0b7e60a encurvg
# lspv
hdisk0 00022b06aae12497 rootvg active
hdisk2 00022b06086071fe rootvg active
hdisk1 none None
hdisk5 00022b06216f173a cardoravg active
hdisk6 0001eac5e0b7e60a encurvg
# ps -ef | grep ora
oracle 237628 1 0 08:20:32 - 0:00 ora_reco_jycard
oracle 278552 1 0 08:20:32 - 0:00 ora_dbw0_jycard
oracle 307308 1 0 08:20:31 - 0:00 ora_mman_jycard
oracle 331944 1 0 08:20:32 - 0:00 ora_d000_jycard
oracle 360542 1 0 08:20:32 - 0:00 ora_s000_jycard
oracle 377030 1 0 08:20:32 - 0:00 ora_smon_jycard
oracle 381134 1 0 08:20:31 - 0:00 ora_pmon_jycard
oracle 397520 1 0 08:20:32 - 0:00 ora_ckpt_jycard
oracle 413904 1 0 08:20:32 - 0:00 ora_mmnl_jycard
oracle 418010 1 0 08:20:32 - 0:00 ora_lgwr_jycard
oracle 422112 1 0 08:20:32 - 0:00 ora_mmon_jycard
oracle 450678 1 0 08:20:31 - 0:00 ora_psp0_jycard
root 520358 352418 0 08:47:02 pts/2 0:00 grep ora
#
#
#
备注:如何改变pv none none状态?
方法一:
1、lsdev -Cc disk --看看盘是不是active的状态。
2、rmdev -dl hdisk1 从系统中删除hdisk1
3、cfgmgr 重新认盘
4、lspv 查看磁盘状态
看看,如果还是显示none
方法二:用chdev -l hdisk1 -a pv=yes看看能不能够认到pvid
本文深入探讨了AI在音视频处理领域的应用,包括视频分割、语义识别、自动驾驶等关键技术,以及如何利用这些技术实现AR、SLAM等功能。
1569

被折叠的 条评论
为什么被折叠?



