When you use raw devices for database file storage, Oracle writes data directly to the partition or volume, bypassing the operating system file system layer. For this reason, you can sometimes achieve performance gains by using raw devices. However, because raw devices can be difficult to create and administer, and because the performance gains over modern file systems are minimal, Oracle recommends that you choose Automatic Storage Management or file system storage in preference to raw devices.
Linux下使用裸设备存储选项安装oracle时可以参照以下方式进行配置
此例中linux下有/dev/sda /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf/dev/sda 用于操作系统软件安装
/dev/sdb 用于做ocr disk
/dev/sdc 用于做votingdisk
/dev/sdd /dev/sde /dev/sdf 用于做共享磁盘存储,每块磁盘按照指定大小(500M)划分分区
磁盘分区情况如下
[root@node1 ~]# fdisk -l
Disk /dev/sda: 16.1 GB, 16106127360 bytes
255 heads, 63 sectors/track, 1958 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 514048+ 83 Linux
/dev/sda2 833 1958 9044595 83 Linux
/dev/sda3 65 701 5116702+ 83 Linux
/dev/sda4 702 832 1052257+ 5 Extended
/dev/sda5 702 832 1052226 82 Linux swap / Solaris
Partition table entries are not in disk order
Disk /dev/sdb: 536 MB, 536870912 bytes
64 heads, 32 sectors/track, 512 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 512 524272 83 Linux
Disk /dev/sdc: 536 MB, 536870912 bytes
64 heads, 32 sectors/track, 512 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 512 524272 83 Linux
Disk /dev/sdd: 3221 MB, 3221225472 bytes
255 heads, 63 sectors/track, 391 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 1 391 3140676 5 Extended
/dev/sdd5 1 62 497952 83 Linux
/dev/sdd6 63 124 497983+ 83 Linux
/dev/sdd7 125 186 497983+ 83 Linux
/dev/sdd8 187 248 497983+ 83 Linux
/dev/sdd9 249 310 497983+ 83 Linux
/dev/sdd10 311 391 650601 83 Linux
Disk /dev/sde: 3221 MB, 3221225472 bytes
255 heads, 63 sectors/track, 391 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sde1 1 391 3140676 5 Extended
/dev/sde5 1 74 594342 83 Linux
/dev/sde6 75 148 594373+ 83 Linux
/dev/sde7 149 222 594373+ 83 Linux
/dev/sde8 223 296 594373+ 83 Linux
/dev/sde9 297 391 763056 83 Linux
Disk /dev/sdf: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdf1 1 1044 8385898+ 5 Extended
/dev/sdf5 1 62 497952 83 Linux
/dev/sdf6 63 124 497983+ 83 Linux
/dev/sdf7 125 186 497983+ 83 Linux
/dev/sdf8 187 248 497983+ 83 Linux
/dev/sdf9 249 310 497983+ 83 Linux
/dev/sdf10 311 372 497983+ 83 Linux
/dev/sdf11 373 434 497983+ 83 Linux
/dev/sdf12 435 496 497983+ 83 Linux
/dev/sdf13 497 558 497983+ 83 Linux
/dev/sdf14 559 620 497983+ 83 Linux
/dev/sdf15 621 682 497983+ 83 Linux
Disk /dev/sdg: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes