Multipath Multi-path device input and output error read and write errors

Source: Internet
Author: User

When the OCR disk was initialized, a disk read and write error was reported.

Error Input/output error when reading and writing test for multipath device

DD If=/dev/zero OF=/DEV/MAPPER/VOT1 bs=1mcount=1000

Dd:writing '/dev//mapper/vot1 ': input/output error

1+0 Records in

0+0 Records out

The reason is on the multiple path configuration, the production looks multipath–ll

VOT1 (360080e50001fa2d0000003ba5313e77d) dm-6 lsi,inf-01-00

[size=1.0g] [Features=0] [Hwhandler=0] [RW]

\_ round-robin 0 [prio=1][enabled]

\_1:0:1:4 SDN 8:208 [Active][ready]

\_ round-robin 0 [prio=1][enabled]

\_3:0:1:4 Sdad 65:208 [Active][ready]

\_ round-robin 0 [prio=1][enabled]

\_1:0:0:4 SDG 8:96 [Active][ready]

\_ round-robin 0 [prio=1][enabled]

\_3:0:0:4 SDW 65:96 [Active][ready]

You can see all the paths are enable, no active. Four links are ready states, but there is no data flow, not an active state. This is normal.

OCR2 (360080e50001fa2d00000046a53154d41) dm-11 lsi,inf-01-00

[size=1.0g] [Features=0] [Hwhandler=0] [RW]

\_ round-robin 0 [prio=1][active]

\_1:0:0:2 SDE 8:64 [Active][ready]

\_ round-robin 0 [prio=1][enabled]

\_3:0:1:2 Sdab 65:176 [Active][ready]

\_ round-robin 0 [prio=1][enabled]

\_1:0:1:2 SDL 8:176 [Active][ready]

\_ round-robin 0 [prio=1][enabled]

\_3:0:0:2 SDU 65:64 [Active][ready]

This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/OS/Linux/

The reason is that multipath does not recognize this device.

By default, Dm-multipath includes support for most general-purpose storage arrays that support Dm-multipath. Default configuration values refer to the Multipath.conf.defaults file, which includes supported devices. If you need to add a storage device that is not supported by default as a known multipath device, edit the/etc/multipath.conf file and insert the correct device information. For example, to add information about the HP Open-v series, the entries are as follows, where%n is the device name:

devices {

Device {

Vendor "HP"

Product "Open-v."

Getuid_callout "/lib/udev/scsi_id--whitelisted--device=/dev/%n"

}

}

All make sure to add devices

Author: csdn Blog Xu Changliang

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.