Getting Started Guide
64 为 Oracle RAC 安装准备共享存储
c.Partition number (1-4): 1 # The partition number
to be aligned (Partition number [1-4]: 1 # 要对齐的
分区编号)
d.New beginning of data (128-xxxxx, default 128):
128
注:1 区块 = 512 字节; 128 区块 * 512 字节 = 64KB
e.Expert command (m for help): w # write (Expert
command [m for help]: w # 写入)
注:128 区块 /64 KB 是 EqualLogic PS 系列的默认条带元素大小,而 256
区块 /256 KB 是 PowerVault MD 32xx/32xxi 存储阵列系列的默认条带元素
大小。
2
对需要对齐的所有磁盘重复步骤
1
。
3
使用设备映射程序时运行以下命令重新扫描节点一上的所有分区:
#> kpartx -a /dev/mapper/<devicename>
在所有其它节点上运行:
#> kpartx -l /dev/mapper/devicename>
注:如果您的设备名称不以“p1”结尾,则重新引导您的系统。正确的
名称惯例将附加一个“p1”并显示为
/dev/mapper/ACFSp1。
4
确认通过运行以下命令已对齐分区:
#> fdisk -ul /dev/< 块
_
设备 >
其中
<
块
_
设备
>
是块设备的名称。
以下示例是在已对齐的块设备上执行的命令的示例输出。如果您的分
区已正确对齐,则
128
将显示在您分区的
Start
(开始)列下。
Disk /dev/mapper/mpath70: 53.6 GB, 53697576960
bytes
255 heads, 63 sectors/track, 6528 cylinders, total
104878080 sectors
Units = sectors of 1 * 512 = 512 bytes
5
如果新创建且对齐的分区未显示,则重新引导系统。
DeviceBoot Start End Blocks Id System
/dev/mapper/mpat
h70p1
128 104872319 52436096 83 Linux