快捷搜索:   nginx

Oracle Enterprise Linux 和 iSCSI 上构建您自己的 Oracle RAC(2)

从 linux2 运行以下命令:

# partprobe# fdisk -lDisk /dev/hda: 40.0 GB, 40000000000 bytes255 heads, 63 sectors/track, 4863 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/hda1 * 1 13 104391 83 Linux/dev/hda2 14 4863 38957625 8e Linux LVMDisk /dev/sda: 124.4 GB, 124486942720 bytes255 heads, 63 sectors/track, 15134 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sda1 1 15134 121563823+ 83 LinuxDisk /dev/sdb: 124.4 GB, 124486942720 bytes255 heads, 63 sectors/track, 15134 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sdb1 1 15134 121563823+ 83 LinuxDisk /dev/sdc: 2147 MB, 2147483648 bytes67 heads, 62 sectors/track, 1009 cylindersUnits = cylinders of 4154 * 512 = 2126848 bytes Device Boot Start End Blocks Id System/dev/sdc1 1 1009 2095662 83 LinuxDisk /dev/sdd: 124.4 GB, 124486942720 bytes255 heads, 63 sectors/track, 15134 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sdd1 1 15134 121563823+ 83 LinuxDisk /dev/sde: 124.4 GB, 124486942720 bytes255 heads, 63 sectors/track, 15134 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sde1 1 15134 121563823+ 83 Linux

最后,您应该在两个 Oracle RAC 节点上运行以下命令,以验证 udev 为每个新分区创建了新的符号链接:

# (cd /dev/disk/by-path; ls -l *openfiler* | awk '{FS=" "; print $9 " " $10 " " $11}')ip-192.168.2.195:3260-iscsi-iqn.2006-01.com.openfiler:rac1.asm1 -> ../../sdeip-192.168.2.195:3260-iscsi-iqn.2006-01.com.openfiler:rac1.asm1-part1 -> ../../sde1ip-192.168.2.195:3260-iscsi-iqn.2006-01.com.openfiler:rac1.asm2 -> ../../sddip-192.168.2.195:3260-iscsi-iqn.2006-01.com.openfiler:rac1.asm2-part1 -> ../../sdd1ip-192.168.2.195:3260-iscsi-iqn.2006-01.com.openfiler:rac1.asm3 -> ../../sdbip-192.168.2.195:3260-iscsi-iqn.2006-01.com.openfiler:rac1.asm3-part1 -> ../../sdb1ip-192.168.2.195:3260-iscsi-iqn.2006-01.com.openfiler:rac1.asm4 -> ../../sdaip-192.168.2.195:3260-iscsi-iqn.2006-01.com.openfiler:rac1.asm4-part1 -> ../../sda1ip-192.168.2.195:3260-iscsi-iqn.2006-01.com.openfiler:rac1.crs -> ../../sdcip-192.168.2.195:3260-iscsi-iqn.2006-01.com.openfiler:rac1.crs-part1 -> ../../sdc1

上面的清单显示,udev 确实为每个新分区创建了新的设备名称。在本指南后面部分,当我们为 OCFS2 和 ASMlib 配置卷时,将使用这些新的设备名称。

/dev/iscsi/asm1/part1 /dev/iscsi/asm2/part1 /dev/iscsi/asm3/part1 /dev/iscsi/asm4/part1 /dev/iscsi/crs/part1
顶(0)
踩(0)

您可能还会对下面的文章感兴趣:

最新评论