日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

oracleasm 建立时出错

發布時間:2024/4/15 编程问答 31 豆豆
生活随笔 收集整理的這篇文章主要介紹了 oracleasm 建立时出错 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

準備建立RAC,在測試使用ASM 時,遇到建立 ASM時總是出錯。

后經測試發現,主要問題還是在分區時選擇項目出錯了。

當分區的類型為:EXTENDED時,不能通過。

?? Device Boot????? Start???????? End????? Blocks?? Id? System
/dev/sdd1?????????????? 1???????? 102????? 104432??? 5? Extended

?

當修改成:

?

?? Device Boot????? Start???????? End????? Blocks?? Id? System
/dev/sdd1?????????????? 1???????? 102????? 104432?? 83? Linux

?

后,問題解決。

?

下面為總個過程

?

?


[root@testdb 11.2.0]# /etc/init.d/oracleasm createdisk VOLB /dev/sdd1
Marking disk "VOLB" as an ASM disk:??????????????????????? [FAILED]

[root@testdb 11.2.0]# fdisk -l

Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

?? Device Boot????? Start???????? End????? Blocks?? Id? System
/dev/sda1?? *?????????? 1??????? 1912??? 15358108+? 83? Linux
/dev/sda2??????????? 1913??????? 2549???? 5116702+? 83? Linux
/dev/sda3??????????? 2550??????? 2811???? 2104515?? 82? Linux swap
/dev/sda4??????????? 2812??????? 5221??? 19358325??? 5? Extended
/dev/sda5??????????? 2812??????? 5221??? 19358293+? 83? Linux
Warning: invalid flag 0x0000 of partition table 5 will be corrected by w(rite)

Disk /dev/sdb: 106 MB, 106954752 bytes
64 heads, 32 sectors/track, 102 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

?? Device Boot????? Start???????? End????? Blocks?? Id? System
/dev/sdb1?????????????? 1???????? 102????? 104432??? 5? Extended

Disk /dev/sdc: 106 MB, 106954752 bytes
64 heads, 32 sectors/track, 102 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

?? Device Boot????? Start???????? End????? Blocks?? Id? System
Warning: invalid flag 0x0000 of partition table 5 will be corrected by w(rite)

Disk /dev/sdd: 106 MB, 106954752 bytes
64 heads, 32 sectors/track, 102 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

?? Device Boot????? Start???????? End????? Blocks?? Id? System
/dev/sdd1?????????????? 1???????? 102????? 104432??? 5? Extended


[root@testdb 11.2.0]# fdisk /dev/sdd
Warning: invalid flag 0x0000 of partition table 5 will be corrected by w(rite)

Command (m for help): d
Selected partition 1

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
[root@testdb 11.2.0]# fdisk -l

Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

?? Device Boot????? Start???????? End????? Blocks?? Id? System
/dev/sda1?? *?????????? 1??????? 1912??? 15358108+? 83? Linux
/dev/sda2??????????? 1913??????? 2549???? 5116702+? 83? Linux
/dev/sda3??????????? 2550??????? 2811???? 2104515?? 82? Linux swap
/dev/sda4??????????? 2812??????? 5221??? 19358325??? 5? Extended
/dev/sda5??????????? 2812??????? 5221??? 19358293+? 83? Linux
Warning: invalid flag 0x0000 of partition table 5 will be corrected by w(rite)

Disk /dev/sdb: 106 MB, 106954752 bytes
64 heads, 32 sectors/track, 102 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

?? Device Boot????? Start???????? End????? Blocks?? Id? System
/dev/sdb1?????????????? 1???????? 102????? 104432??? 5? Extended

Disk /dev/sdc: 106 MB, 106954752 bytes
64 heads, 32 sectors/track, 102 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

?? Device Boot????? Start???????? End????? Blocks?? Id? System

Disk /dev/sdd: 106 MB, 106954752 bytes
64 heads, 32 sectors/track, 102 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

?? Device Boot????? Start???????? End????? Blocks?? Id? System
[root@testdb 11.2.0]# fdisk /dev/sdd

Command (m for help): n
Command action
?? e?? extended
?? p?? primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-102, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (1-102, default 102): 102

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
[root@testdb 11.2.0]# fdisk -l

Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

?? Device Boot????? Start???????? End????? Blocks?? Id? System
/dev/sda1?? *?????????? 1??????? 1912??? 15358108+? 83? Linux
/dev/sda2??????????? 1913??????? 2549???? 5116702+? 83? Linux
/dev/sda3??????????? 2550??????? 2811???? 2104515?? 82? Linux swap
/dev/sda4??????????? 2812??????? 5221??? 19358325??? 5? Extended
/dev/sda5??????????? 2812??????? 5221??? 19358293+? 83? Linux
Warning: invalid flag 0x0000 of partition table 5 will be corrected by w(rite)

Disk /dev/sdb: 106 MB, 106954752 bytes
64 heads, 32 sectors/track, 102 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

?? Device Boot????? Start???????? End????? Blocks?? Id? System
/dev/sdb1?????????????? 1???????? 102????? 104432??? 5? Extended

Disk /dev/sdc: 106 MB, 106954752 bytes
64 heads, 32 sectors/track, 102 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

?? Device Boot????? Start???????? End????? Blocks?? Id? System

Disk /dev/sdd: 106 MB, 106954752 bytes
64 heads, 32 sectors/track, 102 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

?? Device Boot????? Start???????? End????? Blocks?? Id? System
/dev/sdd1?????????????? 1???????? 102????? 104432?? 83? Linux


[root@testdb 11.2.0]# /etc/init.d/oracleasm createdisk VOLB /dev/sdd1
Marking disk "VOLB" as an ASM disk:??????????????????????? [? OK? ]
[root@testdb 11.2.0]#

總結

以上是生活随笔為你收集整理的oracleasm 建立时出错的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。