RHEL 5中如何使用multipath配置ASMdisk

來源:互聯網
上載者:User

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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.