#6931: LVM2.2.02.132
-------------------------+------------------------------
Reporter: fo | Owner: pierre.labastie
Type: enhancement | Status: assigned
Priority: normal | Milestone: 7.9
Component: BOOK | Version: SVN
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by pierre.labastie):
Tried a couple of things, but no joy...
- Remove test/shell/lvcreate-large-raid.sh. Got:
{{{
458 tests: 121 passed, 306 skipped, 21 broken, 10 failed
}}}
- Created an ext4 filesystem on a regular partition (not LVM). Mounted
/tmp on it. Exactly the same result.
- I noticed that my kernel options had:
{{{
# CONFIG_MD_LINEAR is not set
# CONFIG_MD_RAID0 is not set
CONFIG_MD_RAID1=y
CONFIG_MD_RAID10=y
CONFIG_MD_RAID456=y
CONFIG_MD_MULTIPATH=y
}}}
So I decided to set both MD_LINEAR and MD_RAID0. No change...
- There is no file telling what failed. I tried:
{{{
grep -r failed: test/results
}}}
Got:
{{{
ndev-vanilla:shell_lock-blocking.sh.txt:[ 0:10]
@TESTDIR@/var/lock/lvm/P_orphans: flock failed: Resource temporarily
unavailable
ndev-vanilla:shell_pvcreate-operation.sh.txt:[ 0:01]
@[email protected]: stat failed: No such file or directory
ndev-vanilla:shell_pvcreate-operation.sh.txt:[ 0:01]
@[email protected]: stat failed: No such file or directory
ndev-vanilla:shell_pvcreate-operation.sh.txt:[ 0:01]
@[email protected]: stat failed: No such file or directory
ndev-vanilla:shell_lvcreate-repair.sh.txt:[ 0:01] # device-mapper: create
ioctl failed: Device or resource busy
ndev-vanilla:shell_lvcreate-repair.sh.txt:[ 0:01] device-mapper: create
ioctl on @PREFIX@vg-lvol0LVM-
UDsVoUddAI18tR1FlR2PWRC1uykTVVHy07F6rBR1t5shmMVyH3gc5LhjQ9E0QlSY failed:
Device or resource busy
ndev-vanilla:shell_lvcreate-repair.sh.txt:## DEBUG: ioctl/libdm-
iface.c:1870 device-mapper: create ioctl on @PREFIX@vg-lvol0LVM-
UDsVoUddAI18tR1FlR2PWRC1uykTVVHy07F6rBR1t5shmMVyH3gc5LhjQ9E0QlSY failed:
Device or resource busy
ndev-vanilla:shell_mirror-vgreduce-removemissing.sh.txt:[ 0:04]
27,8949,1426140495,-;udevd[7041]: inotify_add_watch(7, /dev/dm-13, 10)
failed: No such file or directory
ndev-vanilla:shell_mirror-vgreduce-removemissing.sh.txt:[ 0:06]
27,8957,1428159816,-;udevd[7041]: inotify_add_watch(7, /dev/dm-12, 10)
failed: No such file or directory
ndev-vanilla:shell_activate-missing.sh.txt:[ 0:00]
27,909,235863666,-;udevd[19276]: inotify_add_watch(7, /dev/dm-12, 10)
failed: No such file or directory
ndev-vanilla:shell_system_id.sh.txt:[ 0:01] WARNING: /etc/machine-id:
fopen failed: No such file or directory
ndev-vanilla:shell_system_id.sh.txt:[ 0:01] WARNING: /etc/machine-id:
fopen failed: No such file or directory
ndev-vanilla:shell_system_id.sh.txt:[ 0:01] WARNING: /etc/machine-id:
fopen failed: No such file or directory
ndev-vanilla:shell_system_id.sh.txt:[ 0:01] WARNING: /etc/machine-id:
fopen failed: No such file or directory
ndev-vanilla:shell_system_id.sh.txt:[ 0:01] WARNING: /etc/machine-id:
fopen failed: No such file or directory
ndev-vanilla:shell_system_id.sh.txt:[ 0:01] WARNING: /etc/machine-id:
fopen failed: No such file or directory
ndev-vanilla:shell_system_id.sh.txt:[ 0:01] WARNING: etc/lvm_test.conf:
fopen failed: No such file or directory
ndev-vanilla:shell_system_id.sh.txt:[ 0:01] WARNING: etc/lvm_test.conf:
fopen failed: No such file or directory
ndev-vanilla:shell_system_id.sh.txt:[ 0:01] WARNING: etc/lvm_test.conf:
fopen failed: No such file or directory
ndev-vanilla:shell_system_id.sh.txt:[ 0:01] WARNING: etc/lvm_test.conf:
fopen failed: No such file or directory
ndev-vanilla:shell_system_id.sh.txt:[ 0:01] WARNING: etc/lvm_test.conf:
fopen failed: No such file or directory
ndev-vanilla:shell_system_id.sh.txt:[ 0:01] WARNING: etc/lvm_test.conf:
fopen failed: No such file or directory
ndev-vanilla:shell_system_id.sh.txt:[ 0:01] WARNING: etc/lvm_test.conf:
fopen failed: No such file or directory
ndev-vanilla:shell_system_id.sh.txt:[ 0:01] WARNING: etc/lvm_test.conf:
fopen failed: No such file or directory
ndev-vanilla:shell_system_id.sh.txt:[ 0:01] WARNING: etc/lvm_test.conf:
fopen failed: No such file or directory
ndev-vanilla:shell_system_id.sh.txt:[ 0:01] WARNING: etc/lvm_test.conf:
fopen failed: No such file or directory
ndev-vanilla:shell_system_id.sh.txt:[ 0:01] WARNING: etc/lvm_test.conf:
fopen failed: No such file or directory
ndev-vanilla:shell_system_id.sh.txt:[ 0:01] WARNING: etc/lvm_test.conf:
fopen failed: No such file or directory
ndev-vanilla:shell_lvchange-syncaction-raid.sh.txt:[ 0:03] # device-
mapper: message ioctl on failed: Device or resource busy
ndev-vanilla:shell_lvchange-syncaction-raid.sh.txt:[ 0:06] # device-
mapper: message ioctl on failed: Device or resource busy
ndev-vanilla:shell_lvchange-syncaction-raid.sh.txt:[ 0:06] device-
mapper: message ioctl on LVM-
Nl5za6CMkW20k8fAMaHrcVndTH5Szt37e6WFM30fo6KTrsSwXPyRn2Uac1YgQhOX failed:
Device or resource busy
ndev-vanilla:shell_lvchange-syncaction-raid.sh.txt:## DEBUG: ioctl/libdm-
iface.c:1870 device-mapper: message ioctl on LVM-
Nl5za6CMkW20k8fAMaHrcVndTH5Szt37e6WFM30fo6KTrsSwXPyRn2Uac1YgQhOX failed:
Device or resource busy
ndev-vanilla:shell_lvchange-syncaction-raid.sh.txt:## Line: 38 # device-
mapper: message ioctl on failed: Device or resource busy
ndev-vanilla:shell_lvchange-syncaction-raid.sh.txt:## Line: 66 # device-
mapper: message ioctl on failed: Device or resource busy
ndev-vanilla:shell_name-mangling.sh.txt:[ 0:00] device-mapper: reload
ioctl on @PREFIX@abc failed: Invalid argument
}}}
Note that the /etc/machine-id, which is warned as missing, is a systemd
thing...
I found in /test/shell/lvchange-syncaction-raid.sh:
{{{
# FIXME
# Some delay - there is currently race in upstream kernel
# Some delay - there is currently race in upstream kernel
# test may occasionaly fail with:
# device-mapper: message ioctl on failed: Device or resource busy
#
# Heinz's kernel seems to fix this particular issue but
# has some other problem for now
}}}
More in a moment (some real job duty now).
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/6931#comment:16>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page