|
|
|
|
|
by sweettea
3226 days ago
|
|
In my work identity, we saw a similar problem in our testing, where blkid would cause undesired IO on fresh devices. Eventually, we disabled blkid scanning our device mapper devices upon state changes with a file /etc/udev/59-no-scanning-our-devices.rules containing:
ENV{DM_NAME}=="ourdevice", OPTIONS:="nowatch" Alternately, you could call 'udevadm settle' after device creation before doing anything else, which will let blkid get its desired IO done, I think. |
|