Skip to content

Commit 1cc8199

Browse files
authored
Update time-sync.md
1 parent 9879c0e commit 1cc8199

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

articles/virtual-machines/linux/time-sync.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.service: virtual-machines
66
ms.collection: linux
77
ms.topic: how-to
88
ms.workload: infrastructure-services
9-
ms.date: 09/03/2021
9+
ms.date: 05/04/2022
1010
ms.author: cynthn
1111
---
1212

@@ -100,10 +100,7 @@ cat /sys/class/ptp/ptp0/clock_name
100100

101101
This should return `hyperv`, meaning the Azure host.
102102

103-
In Linux VMs with Accelerated Networking enabled, you may see multiple PTP devices listed because the Mellanox mlx5 driver also creates a /dev/ptp device.
104-
Because the initialization order can be different each time Linux boots, the PTP device corresponding to the Azure host might be /dev/ptp0 or it might be /dev/ptp1, which makes
105-
it difficult to configure chronyd with the correct clock source. To solve this problem, the most recent Linux images have a udev rule that creates the
106-
symlink /dev/ptp_hyperv to whichever /dev/ptp entry corresponds to the Azure host. Chrony should be configured to use this symlink instead of /dev/ptp0 or /dev/ptp1.
103+
In Linux VMs with Accelerated Networking enabled, you may see multiple PTP devices listed because the Mellanox mlx5 driver also creates a /dev/ptp device. Because the initialization order can be different each time Linux boots, the PTP device corresponding to the Azure host might be `/dev/ptp0` or it might be `/dev/ptp1`, which makes it difficult to configure `chronyd` with the correct clock source. To solve this problem, the most recent Linux images have a `udev` rule that creates the symlink `/dev/ptp_hyperv` to whichever `/dev/ptp` entry corresponds to the Azure host. Chrony should be configured to use this symlink instead of `/dev/ptp0` or `/dev/ptp1`.
107104

108105
### chrony
109106

0 commit comments

Comments
 (0)