在采用asmlib时,确认物理磁盘的方法
在采用asmlib作为asm驱动时,此时,通过v$asm_disk视图无法确认具体物理磁盘:
1 2 3 4 5 6 | SQL> select disk_number,path from v$asm_disk 2 where group_number=1; DISK_NUMBER PATH ----------- ------------ 0 ORCL:VOL12 1 ORCL:VOL13 |
可以通过如下的几种方法实现:
1、dd方法:
1 2 3 4 5 6 7 8 | [root@rac1 ~]# dd if=/dev/sdb13 bs=1 count=45 |hexdump -c |more 45+0 records in 45+0 records out 45 bytes (45 B) copied, 9.4e-05 seconds, 479 kB/s 0000000 001 202 001 001 \0 \0 \0 \0 \0 \0 \0 200 253 243 245 371 0000010 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 0000020 O R C L D I S K V O L 1 2 000002d |