裸裝置與塊裝置的區別
raw device 與 block device有什麼區別呢?
以下內容引自 401132.1 文件
•What is a raw device?
Raw device are character devices...
•What is a raw device?
Raw device are character devices which allows byte level access to the device. Character devices (/dev/raw/raw9) are *UN-BUFFERRED** devices. This means that there is not need to pass attributes like O_DIRECT when accessing character devices since all I/O is unbufferred IO.
•What is block device?
Block devices provide block level access to the device. Block devices unlike character devices (/dev/sde9) are **BUFFERED** devices. This means the application program has to explicitly pass the O_DIRECT attribute to turn off caching. If the O_DIRECT attribute is not passed, I/O will be cached (linux buffer cache).
•How are raw devices created?
On linux, raw devices have to be created before it can be used. This is done by mapping the block device to the raw device by adding an entry in the /etc/sysconfig/rawdevices file and bind the mapping. Detailed instructions are in the Oracle installation guide.
•So which one (RAW or Block) is recommended?
Oracle 10g supports both raw devices and block devices for OCR, Voting disk & Database files so it is really a matter of choice. Raw devices need to be manually created each time a new file needs to be added. There is no performance benefits of Raw devices versus Block devices or vice versa. It should be pointed out that Linux vendors are planning on removing raw devices from future linux distributions and hence for the long term, Customers may want to go with block devices.
在oracle10g中,如果要使用塊裝置做為ocr/votedisk,需要費一下週折。其出發點是先使用裸裝置符號,其後再去更換;
而在更換過程中要小心,可能會毀了OCR。
具體參考 390880 文件
OCR Corruption after Adding/Removing voting disk to a cluster when CRS stack is running [ID 390880.1]
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/271063/viewspace-1056634/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- AIX中的裸裝置AI
- raw 裸裝置資料檔案更改其他raw裸裝置位置
- linux-中塊裝置檔案和字元裝置檔案的本質區別Linux字元
- Linux裸裝置總結Linux
- linux udev裸裝置繫結Linuxdev
- DM7使用裸裝置搭建DMRAC
- DM8 使用裸裝置搭建DMRAC
- 記錄一則AIX使用裸裝置安裝OracleRAC的問題AIOracle
- 基於裸裝置的ASM磁碟組擴容方案ASM
- 裝置原理與操作
- 裝置分配與回收
- 自動化裝置測試與自動化測試的區別
- rhel 7.x 使用 udev scsi rules 配置裸裝置dev
- js判斷裝置型別JS型別
- PHP 獲取裝置型別PHP型別
- 裝置樹的引入與體驗
- vmware + 裸裝置 + crs + oracle10g RAC搭建步驟(二):安裝linuxOracleLinux
- Ockam為物聯網裝置帶來區塊鏈無伺服器身份識別區塊鏈伺服器
- 裝置地址
- 使用lsblk命令列出系統中的塊裝置命令列
- 實用的 IEC61850 裝置裝置模擬器
- 字元裝置驅動 —— 字元裝置驅動框架字元框架
- Linux下基於裸裝置建立10g資料庫Linux資料庫
- ios裝置管理工具讓你的ios裝置與電腦互通更方便iOS
- 乾貨 | 裝置快速上雲,輕鬆搞定裝置與雲端通訊
- 無法識別usb裝置怎麼辦_win10無法識別usb裝置的解決方法Win10
- 滅火器充裝裝置
- 裝置製造商如何實現菸草裝置的遠端監控與高效運維運維
- 華為裝置OSPF單區域配置
- Windows核心程式設計:第10章 同步裝置IO與非同步裝置IOWindows程式設計非同步
- 海康Ehome2.0與5.0裝置接入EasyCVR影片匯聚平臺時的配置區別VR
- 裝置id openpolit
- 網路裝置
- 裝置適配
- Linux裝置樹的傳遞及Kernel中對裝置樹的分析Linux
- 如何透過裝置基站獲取裝置經緯度
- Linux中的主次裝置Linux
- linux核心原始碼閱讀-塊裝置驅動Linux原始碼
- Android與物聯網裝置通訊-利用UDP廣播來做裝置查詢AndroidUDP