Comment 11 for bug 14620

Revision history for this message
Matt Zimmerman (mdz) wrote :

(In reply to comment #10)
> > The fact that udev removes and creates the device node seems like a
> > symptom rather than the cause;
>
> Could you please explain technically how this could be a symptom and
> of what? Who and why could generate hotplug events for an internal
> disk?

udev responds to hotplug events generated by the kernel. hotplug events are
generated by all sorts of things, and not only for physical devices either.
Notably, hotplug events are generated when the kernel re-reads the partition
table on a block device. If something issued a BLKRRPART ioctl while ntfsresize
was running, for example, it would cause this kind of behaviour (and possibly
corruption as well).

> Data are being relocated intensively meanwhile udev removes the
> partition. Why? Perhaps a bug or udev config problem.

udev manages the device nodes in the filesystem, nothing more. It has nothing
to do with the reading or writing of data from the disk.