VxVM : Resolving the Intermittent Disk errors by clearing the failing flag on a disk

If I/O errors are intermittent rather than persistent, VxVM sets the failing flag on a disk, rather than detaching the disk. Such errors can occur due to the temporary removal of a cable, controller faults, a partially faulty LUN in a disk array, or a disk with a few bad sectors or tracks.

If the hardware fault is not with the disk itself ( e.g. controller problem), you can use the vxedit command to unset the “failing” flag after correcting the course of the I/O error.


1. Use the vxdisk list command to find out which disks are failing:

# vxdisk list

DEVICE TYPE DISK GROUP STATUS

c1t1d0s2 auto:sliced mydg01 mydg online

c1t2d0s2 auto:sliced mydg02 mydg online failing

c1t3d0s2 auto:sliced mydg03 mydg online

. . .

2. Use the vxedit set command to clear the flag for each disk that is marked as failing (in this example, mydg02):

# vxedit set failing=off mydg02

3. Use the vxdisk list command to verify that the failing flag has been cleared:

# vxdisk list

DEVICE TYPE DISK GROUP STATUS

c1t1d0s2 auto:sliced mydg01 mydg online

c1t2d0s2 auto:sliced mydg02 mydg online

c1t3d0s2 auto:sliced mydg03 mydg online

. . .


Ramdev

Ramdev

I have started unixadminschool.com ( aka gurkulindia.com) in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' unixadminschool.com. You can connect me at - https://www.linkedin.com/in/unixadminschool/

What is in your mind, about this post ? Leave a Reply

Close
  Our next learning article is ready, subscribe it in your email

What is your Learning Goal for Next Six Months ? Talk to us