asmcmdlsdsk和lsdg查看asmdisk和asmdiskgroup
查看服务器上总共有多少个asmdisk
[root@GI_Softwareonly_64 ~]# oracleasm listdisks
OCPDATA1
OCPDATA2
查看服务器上总共有多少个asmdisk
[oracle@GI_Softwareonly_64 dbs]$ asmcmd lsdsk --discovery
Path
/dev/oracleasm/disks/OCPDATA1
/dev/oracleasm/disks/OCPDATA2
查看服务器上总共有多少个asmdisk,以及每个asmdisk的具体信息(以下结果为两行,分别对应OCPDATA1、OCPDATA2,含每个磁盘的可用空间,原始空间等)
[oracle@GI_Softwareonly_64 dbs]$ asmcmd lsdsk -k -t --discovery
Total_MB Free_MB OS_MB Name Failgroup Failgroup_Type Library Label UDID Product Redund Create_Date Mount_Date Repair_Timer Path
3067 3015 3067 FRA_0000 FRA_0000 REGULAR System UNKNOWN 13-OCT-17 13-OCT-17 0 /dev/oracleasm/disks/OCPDATA1
0 0 3067 REGULAR System UNKNOWN 0 /dev/oracleasm/disks/OCPDATA2
查看已经在asmdiskgroup中的asmdisk
[oracle@GI_Softwareonly_64 dbs]$ asmcmd lsdsk
Path
/dev/oracleasm/disks/OCPDATA1
查看没有在asmdiskgroup的asmdisk(即没有被使用的asmdisk)
[oracle@GI_Softwareonly_64 dbs]$ asmcmd lsdsk --candidate
Path
/dev/oracleasm/disks/OCPDATA2
查看asmdiskgroup的信息(磁盘组的可用空间等)
[oracle@GI_Softwareonly_64 dbs]$ asmcmd lsdg --discovery -g
Inst_ID State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
1 MOUNTED EXTERN N 512 4096 1048576 3067 3015 0 3015 0 N FRA/
分享标题:asmcmdlsdsk和lsdg查看asmdisk和asmdiskgroup
本文链接:http://myzitong.com/article/gesoej.html
[root@GI_Softwareonly_64 ~]# oracleasm listdisks
OCPDATA1
OCPDATA2
查看服务器上总共有多少个asmdisk
[oracle@GI_Softwareonly_64 dbs]$ asmcmd lsdsk --discovery
Path
/dev/oracleasm/disks/OCPDATA1
/dev/oracleasm/disks/OCPDATA2
查看服务器上总共有多少个asmdisk,以及每个asmdisk的具体信息(以下结果为两行,分别对应OCPDATA1、OCPDATA2,含每个磁盘的可用空间,原始空间等)
[oracle@GI_Softwareonly_64 dbs]$ asmcmd lsdsk -k -t --discovery
Total_MB Free_MB OS_MB Name Failgroup Failgroup_Type Library Label UDID Product Redund Create_Date Mount_Date Repair_Timer Path
3067 3015 3067 FRA_0000 FRA_0000 REGULAR System UNKNOWN 13-OCT-17 13-OCT-17 0 /dev/oracleasm/disks/OCPDATA1
0 0 3067 REGULAR System UNKNOWN 0 /dev/oracleasm/disks/OCPDATA2
查看已经在asmdiskgroup中的asmdisk
[oracle@GI_Softwareonly_64 dbs]$ asmcmd lsdsk
Path
/dev/oracleasm/disks/OCPDATA1
查看没有在asmdiskgroup的asmdisk(即没有被使用的asmdisk)
[oracle@GI_Softwareonly_64 dbs]$ asmcmd lsdsk --candidate
Path
/dev/oracleasm/disks/OCPDATA2
查看asmdiskgroup的信息(磁盘组的可用空间等)
[oracle@GI_Softwareonly_64 dbs]$ asmcmd lsdg --discovery -g
Inst_ID State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
1 MOUNTED EXTERN N 512 4096 1048576 3067 3015 0 3015 0 N FRA/
分享标题:asmcmdlsdsk和lsdg查看asmdisk和asmdiskgroup
本文链接:http://myzitong.com/article/gesoej.html