the solution in the previous comment does not work for me...

we are using ubuntu12.04 as xen dom0,  and lvm as xen storage.  when shutting 
down a domU we got these error in the syslog。and I found udev using the lvm LV 
device and prevent me from removing it some seconds afterward
--------------- /var/log/syslog ----------
Nov 15 21:34:09 e6 logger: /etc/xen/scripts/xen-hotplug-cleanup: 
XENBUS_PATH=backend/vif/4/0
Nov 15 21:34:12 e6 udevd[4964]: inotify_add_watch(6, /dev/dm-3, 10) failed: No 
such file or directory
Nov 15 21:34:12 e6 udevd[4964]: inotify_add_watch(6, /dev/dm-3, 10) failed: No 
such file or directory
Nov 15 21:34:12 e6 udevd[4972]: inotify_add_watch(6, /dev/dm-4, 10) failed: No 
such file or directory
Nov 15 21:34:12 e6 udevd[4972]: inotify_add_watch(6, /dev/dm-4, 10) failed: No 
such file or directory
Nov 15 21:34:12 e6 udevd[4972]: inotify_add_watch(6, /dev/dm-2, 10) failed: No 
such file or directory
Nov 15 21:34:12 e6 udevd[4972]: inotify_add_watch(6, /dev/dm-2, 10) failed: No 
such file or directory
---------------------------
I don't know why udev is atempting to watch the dm (LV) device.  

I found in /lib/udev/rules.d/60-persistent-storage-dm.rules  and edit out or 
comment the line :
-------------
OPTIONS+="watch"
------------- 
it seemed the problem is gone, and I found no side-effect at the present

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/581566

Title:
  udevd inotify_add_watch no such directory error for physical volumes

To manage notifications about this bug go to:
https://bugs.launchpad.net/dmraid/+bug/581566/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to