what does udevtrigger do?
Hi all,
I have some logical disks assigned to my server(RHEL 5.5) from the iSCSI storage for which I have multiple paths. But I am not able to see the correct subpath count as in the file /dev/disk/by-path/ip-192.168.x.x-iscsi-iqn-xxxx However, when I add the udevtrigger command in /etc/rc.local, I am able to see the correct paths. Can someone please let me know, what udevtrigger exactly does to correct the paths count in /dev/disk/by-path/ Thanks for your help in advance :) |
udevtrigger: Request device events from the kernel. Primarily used to replay events at system coldplug time.
In other words triggers setup of devices based on kernel events, meaning it adds/removes/changes devices nodes (rights, ownership, acl) and links in /dev, based on some pre-existing rules, usually found in /lib/udev/rules.d and /etc/udev/rules.d |
Quote:
|
Quote:
ISCSI devices aren't handled the same way as other devices are. |
Quote:
Thanks for ur help. I do not have RHEL support. My question is why do I need to run udevtrigger when I have not made any changes in /etc/lib/rules.d/****.rules to make the entries correct in /dev/disk/by-path/... |
Then most probably there is a bug which presents itself as not getting ADD/CHANGE kernel events or somehow a broken rule or broken udev. Usually when you run udevtrigger manually is (or should be) based on CHANGE kernel events (by default). This is not 100% sure, as you do have a old version of RH and of course udev.
Trigger can be use for all types of actions, but usually if the ACTION is not mentioned, there is a default, which should be CHANGE, but I'm not 100% sure on this. |
OK, udevtrigger version 095 doesn't seem to have the option of change the ACTION, which might mean it will work on any ACTION (change/add).
Basically it means that something doesn't work right (it might be kernel, or iscsi kernel module, or udev) What you could do is use 'udevtrigger and the udevsettle': Code:
udevtrigger man udevtrigger man udevsettle |
Quote:
Quote:
|
All times are GMT -5. The time now is 06:02 AM. |