[Bug 631795] Re: Udev has a race condition with device mapper devices
Sergey
ru_lids at linuxmail.org
Wed Jun 20 08:33:45 UTC 2012
ubuntu server 12.04 x64
As well as markusj, i'm affected by issue with removing snapshot of
logical volume.
sudo /sbin/lvcreate -l 5895 -s -n tsbackup /dev/vg1/vdata
sudo /sbin/lvremove -f /dev/vg1/tsbackup
syslog: (twice)
udevd[14958]: inotify_add_watch(6, /dev/dm-1, 10) failed: No such file or directory
udevd[14958]: inotify_add_watch(6, /dev/dm-1, 10) failed: No such file or directory
Snapshot is deleted successfully. Only udev events.
On older server 10.04 x64 this error not present. Сonfiguration of both servers is identical.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/631795
Title:
Udev has a race condition with device mapper devices
Status in “linux” package in Ubuntu:
Triaged
Status in “udev” package in Ubuntu:
Triaged
Bug description:
When using lvm and/or dmraid devices, often times during boot up udev
prints messages like:
udevd-work[72]: inotify_add_watch(6, /dev/dm-6, 10) failed: No such
file or directory
I believe this is caused by a race condition somewhere causing udev to
attempt to access the newly created dm device before the dev node
actually appears in /dev. Sometimes it seems to get as far as running
blkid before the dev node appears, causing it to fail to identify the
UUID of the device and create the /dev/disk/by-uuid symlinks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/631795/+subscriptions
More information about the foundations-bugs
mailing list