- Launched an instance of latest Xenial AMI in us-west-1 (ami-2afbde4a, kernel 4.4.0-1013-aws) with 8GB root EBS volume
- Created a second EBS volume, 100GB, and attached as /dev/sdf.
- Ran sudo udevadm monitor --kernel --udev and resized both volumes. No udev events were registered.
I repeated the test with the test kernel in comment #1 (4.4.0-1016-aws). Upon resizing both volumes, this output was captured:
KERNEL[100.355617] change /devices/vbd-768/block/xvda (block)
UDEV [100.373979] change /devices/vbd-768/block/xvda (block)
KERNEL[127.255821] change /devices/vbd-51792/block/xvdf (block)
UDEV [127.269313] change /devices/vbd-51792/block/xvdf (block)
The volume modifications were causing udev events to be emitted.
I performed this test in EC2:
- Launched an instance of latest Xenial AMI in us-west-1 (ami-2afbde4a, kernel 4.4.0-1013-aws) with 8GB root EBS volume
- Created a second EBS volume, 100GB, and attached as /dev/sdf.
- Ran sudo udevadm monitor --kernel --udev and resized both volumes. No udev events were registered.
I repeated the test with the test kernel in comment #1 (4.4.0-1016-aws). Upon resizing both volumes, this output was captured: vbd-768/ block/xvda (block) vbd-768/ block/xvda (block) vbd-51792/ block/xvdf (block) vbd-51792/ block/xvdf (block)
KERNEL[100.355617] change /devices/
UDEV [100.373979] change /devices/
KERNEL[127.255821] change /devices/
UDEV [127.269313] change /devices/
The volume modifications were causing udev events to be emitted.