|
ASM实验:
- [root@station80 ~]# dd if=/dev/zero of=loop0.f bs=512M count=1
- 1+0 records in
- 1+0 records out
- 536870912 bytes (537 MB) copied, 12.7497 s, 42.1 MB/s
- [root@station80 ~]# dd if=/dev/zero of=loop1.f bs=512M count=1
- 1+0 records in
- 1+0 records out
- 536870912 bytes (537 MB) copied, 3.2221 s, 167 MB/s
- [root@station80 ~]# dd if=/dev/zero of=loop2.f bs=512M count=1
- 1+0 records in
- 1+0 records out
- 536870912 bytes (537 MB) copied, 3.83847 s, 140 MB/s
复制代码
/etc/rc.local
- su - oracle -c "emctl start dbconsole"
- losetup /dev/loop0 /root/loop0.f
- losetup /dev/loop1 /root/loop1.f
- losetup /dev/loop2 /root/loop2.f
复制代码
| GROUP_NUMBER | DISK_NUMBER | COMPOUND_INDEX | INCARNATION | MOUNT_STATUS | HEADER_STATUS | MODE_STATUS | STATE | REDUNDANCY | LIBRARY | OS_MB | TOTAL_MB | FREE_MB | HOT_USED_MB | COLD_USED_MB | NAME | FAILGROUP | LABEL | PATH | UDID | PRODUCT | CREATE_DATE | MOUNT_DATE | REPAIR_TIMER | READS | WRITES | READ_ERRS | WRITE_ERRS | READ_TIME | WRITE_TIME | BYTES_READ | BYTES_WRITTEN | PREFERRED_READ | HASH_VALUE | HOT_READS | HOT_WRITES | HOT_BYTES_READ | HOT_BYTES_WRITTEN | COLD_READS | COLD_WRITES | COLD_BYTES_READ | COLD_BYTES_WRITTEN | VOTING_FILE | SECTOR_SIZE | FAILGROUP_TYPE | 1 | 0 | 0 | 0 | 3916017407 | CLOSED | PROVISIONED | ONLINE | NORMAL | UNKNOWN | ASM Library - Generic Linux, version 2.0.4 (KABI_V2) | 512 | 0 | 0 | 0 | 0 | | | ASMLOOP0 | ORCL:ASMLOOP0 | | | | | 0 | | | | | | | | | | 0 | | | | | | | | | N | 512 | REGULAR | 2 | 0 | 1 | 1 | 3916017408 | CLOSED | PROVISIONED | ONLINE | NORMAL | UNKNOWN | ASM Library - Generic Linux, version 2.0.4 (KABI_V2) | 512 | 0 | 0 | 0 | 0 | | | ASMLOOP1 | ORCL:ASMLOOP1 | | | | | 0 | | | | | | | | | | 0 | | | | | | | | | N | 512 | REGULAR | 3 | 0 | 2 | 2 | 3916017409 | CLOSED | PROVISIONED | ONLINE | NORMAL | UNKNOWN | ASM Library - Generic Linux, version 2.0.4 (KABI_V2) | 512 | 0 | 0 | 0 | 0 | | | ASMLOOP2 | ORCL:ASMLOOP2 | | | | | 0 | | | | | | | | | | 0 | | | | | | | | | N | 512 | REGULAR | 4 | 1 | 0 | 16777216 | 3916017402 | CACHED | MEMBER | ONLINE | NORMAL | UNKNOWN | ASM Library - Generic Linux, version 2.0.4 (KABI_V2) | 7000 | 7000 | 5812 | 0 | 1188 | ASMDISK01 | ASMDISK01 | ASMDISK01 | ORCL:ASMDISK01 | | | 2019/5/9 6:27:17 | 2019/6/3 11:38:59 | 0 | 9312 | 10661 | 0 | 0 | 21.532 | 128.597604 | 159275008 | 157551104 | U | 2419742279 | 0 | 0 | 0 | 0 | 9258 | 7966 | 158050304 | 146512384 | N | 512 | REGULAR | 5 | 1 | 1 | 16777217 | 3916017403 | CACHED | MEMBER | ONLINE | NORMAL | UNKNOWN | ASM Library - Generic Linux, version 2.0.4 (KABI_V2) | 7000 | 7000 | 5807 | 0 | 1193 | ASMDISK02 | ASMDISK02 | ASMDISK02 | ORCL:ASMDISK02 | | | 2019/5/9 6:27:17 | 2019/6/3 11:38:59 | 0 | 5201 | 10242 | 0 | 0 | 12.315 | 102.40296 | 102243328 | 158339584 | U | 4202050432 | 0 | 0 | 0 | 0 | 5152 | 7623 | 102038528 | 147612160 | N | 512 | REGULAR | 6 | 1 | 2 | 16777218 | 3916017404 | CACHED | MEMBER | ONLINE | NORMAL | UNKNOWN | ASM Library - Generic Linux, version 2.0.4 (KABI_V2) | 7000 | 7000 | 5809 | 0 | 1191 | ASMDISK03 | ASMDISK03 | ASMDISK03 | ORCL:ASMDISK03 | | | 2019/5/9 6:27:17 | 2019/6/3 11:38:59 | 0 | 7085 | 10942 | 0 | 0 | 17.898 | 143.056318 | 124054016 | 151681024 | U | 1953166726 | 0 | 0 | 0 | 0 | 7035 | 8247 | 122837504 | 140642304 | N | 512 | REGULAR | 7 | 1 | 3 | 16777219 | 3916017405 | CACHED | MEMBER | ONLINE | NORMAL | UNKNOWN | ASM Library - Generic Linux, version 2.0.4 (KABI_V2) | 7000 | 7000 | 5814 | 0 | 1186 | ASMDISK04 | ASMDISK04 | ASMDISK04 | ORCL:ASMDISK04 | | | 2019/5/9 6:27:17 | 2019/6/3 11:38:59 | 0 | 11912 | 5557 | 0 | 0 | 28.962 | 84.921 | 209954816 | 108309504 | U | 1884472472 | 0 | 0 | 0 | 0 | 11885 | 5479 | 209844224 | 107990016 | N | 512 | REGULAR | 8 | 2 | 0 | 33554432 | 3916017406 | CACHED | MEMBER | ONLINE | NORMAL | UNKNOWN | ASM Library - Generic Linux, version 2.0.4 (KABI_V2) | 10000 | 10000 | 7412 | 0 | 2588 | ASMDISK05 | ASMDISK05 | ASMDISK05 | ORCL:ASMDISK05 | | | 2019/5/9 6:29:42 | 2019/6/3 11:38:59 | 0 | 376 | 11333 | 0 | 0 | 10.277 | 45.724 | 6700544 | 223339008 | | 300271707 | 0 | 0 | 0 | 0 | 271 | 8617 | 4247040 | 212206080 | N | 512 | REGULAR |
- create diskgroup highdata high redundancy
- failgroup fg1 disk 'ORCL:ASMLOOP0' name highdata1 size 512M
- failgroup fg2 disk 'ORCL:ASMLOOP1' name highdata2 size 512M
- failgroup fg3 disk 'ORCL:ASMLOOP2' name highdata3 size 512M
- attribute 'au_size'='2M';
复制代码
|
|