My Oracle Support Banner

OL4 - Unable to break LVM mirror with device name "dm_task_run failed, errno = 4, Interrupted system call" (Doc ID 2098066.1)

Last updated on AUGUST 04, 2018

Applies to:

Linux OS - Version Oracle Linux 4.5 to Oracle Linux 4.8 [Release OL4U5 to OL4U8]
Information in this document applies to any platform.

Symptoms

On OL4 trying to reduce a LVM mirror by specifying device mapper name would fail with following error. i.e it reports no lvm mirrors found on the specified pv's

# lvconvert -m0 /dev/data/u04 /dev/dm-37 /dev/dm-28
No free extents on physical volume "/dev/dm-37"
No mirror images found using specified PVs.

On the syslog following messages would be logged at the same time.

/var/log/messages.2:Nov 22 04:06:34 localhost lvm[13698]: dm_task_run failed, errno = 4, Interrupted system call
/var/log/messages.2:Nov 22 04:06:35 localhost lvm[13698]: dm_task_run failed, errno = 4, Interrupted system call
/var/log/messages.2:Nov 22 04:06:36 localhost lvm[13698]: dm_task_run failed, errno = 4, Interrupted system call
/var/log/messages.2:Nov 22 04:06:37 localhost lvm[13698]: dm_task_run failed, errno = 4, Interrupted system call

OS version and lvm mirror status output

Enterprise Linux Enterprise Linux AS release 4 (October Update 5)

Linux kernel release: 2.6.9-55.0.0.0.2.ELlargesmp x86_64
System type: Physical; Dell PowerEdge R900 Serial#:
device-mapper-1.02.17-3.el4-i386
lvm2-2.02.21-5.el4-x86_64

# lvs -a -o +devices

u04 data mwi-ao 330.00G u04_mlog 100.00 u04_mimage_0(0),u04_mimage_1(0) < ------- Mirrored volume


[u04_mimage_0] data iwi-ao 330.00G /dev/dm-37(23040)                    < ------- Mirrored disks                       
[u04_mimage_0] data iwi-ao 330.00G /dev/dm-28(0)
[u04_mimage_1] data iwi-ao 330.00G /dev/dm-23(26880)
[u04_mlog] data lwi-ao 4.00M /dev/dm-22(3)

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.