RHEL 5中如何使用multipath配置ASMdisk
副标题[/!--empirenews.page--] fdisk查看磁盘 [root@db11g ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.9 (Tikanga) [root@db11g ~]# [root@db11g ~]# [root@db11g ~]# fdisk -l Disk /dev/sda: 32.2 GB, 32212254720 bytes 255 heads, 63 sectors/track, 3916 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 3916 31350847+ 8e Linux LVM Disk /dev/sdb: 17.1 GB, 17179869184 bytes 255 heads, 63 sectors/track, 2088 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk /dev/sdb doesn't contain a valid partition table Disk /dev/sdc: 10.7 GB, 10737418240 bytes 255 heads, 63 sectors/track, 1305 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk /dev/sdc doesn't contain a valid partition table 获取scsi id [root@db11g ~]# /sbin/scsi_id -g -u -s /block/sdb SATA_VBOX_HARDDISK_VB3c0bb909-10aab3a0_ [root@db11g ~]# /sbin/scsi_id -g -u -s /block/sdc SATA_VBOX_HARDDISK_VB3edd7dc1-fd831bf4_ 在RHEL6下使用以下命令 scsi_id --whitelisted --replace-whitespace –-device=/dev/sdb 安装multipath rpm包 [root@db11g ~]# yum install device-mapper* Loaded plugins: rhnplugin, security This system is not registered with ULN. You can use up2date --register to register. ULN support will be disabled. Setting up Install Process Package device-mapper-multipath-0.4.9-56.0.3.el5.x86_64 already installed and latest version Package device-mapper-multipath-libs-0.4.9-56.0.3.el5.x86_64 already installed and latest version Package device-mapper-event-1.02.67-2.el5.x86_64 already installed and latest version Package device-mapper-1.02.67-2.el5.x86_64 already installed and latest version Package device-mapper-1.02.67-2.el5.i386 already installed and latest version Nothing to do (编辑:佛山站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |