Why did a device which is in a hardware RAID1 stopped being accessible when one leg of the RAID had a failure?

Solution Verified - Updated -

Issue

  • After one of the legs in a hardware RAID1 got a failure, the corresponding device on the system wasn't accessible anymore
  • An error in one leg of a hardware RAID1 should be transparent to the operating system, why did the device stop being accessible?
  • The following messages were seen in the logs:
Jun  4 06:02:08 localhost kernel: smartpqi 0000:12:00.0: resetting scsi 1:1:0:2
Jun  4 06:02:08 localhost kernel: smartpqi 0000:12:00.0: reset of scsi 1:1:0:2: SUCCESS
Jun  4 06:02:08 localhost kernel: sd 1:1:0:2: [sdc] Medium access timeout failure. Offlining disk!
Jun  4 06:02:08 localhost kernel: sd 1:1:0:2: Device offlined - not ready after error recovery
Jun  4 06:02:08 localhost kernel: sd 1:1:0:2: [sdc] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_TIMEOUT
Jun  4 06:02:08 localhost kernel: sd 1:1:0:2: [sdc] CDB: Read(10) 28 00 21 79 7f 70 00 01 60 00
Jun  4 06:02:08 localhost kernel: blk_update_request: I/O error, dev sdc, sector 561610608
Jun  4 06:02:08 localhost kernel: sd 1:1:0:2: rejecting I/O to offline device
Jun  4 06:02:08 localhost kernel: sd 1:1:0:2: [sdc] killing request
...
Jun  4 06:02:10 localhost kernel: XFS (sdc1): metadata I/O error: block 0x6fd0f0d0 ("xlog_iodone") error 5 numblks 64
Jun  4 06:02:10 localhost kernel: XFS (sdc1): xfs_do_force_shutdown(0x2) called from line 1200 of file fs/xfs/xfs_log.c.  Return address = 0xffffffffc02f7ea0
Jun  4 06:02:10 localhost kernel: XFS (sdc1): Log I/O Error Detected.  Shutting down filesystem
Jun  4 06:02:10 localhost kernel: XFS (sdc1): Please umount the filesystem and rectify the problem(s)

Environment

Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.