Large amount of GPT disks may cause slow-down in the boot process
This document (7023057) is provided subject to the disclaimer at the end of this document.
Environment
Situation
For the affected case, there are many contenders for the symlink "/dev/disk/by-partlabel/primary" that may result in a noticeable slow-down in the (re)start of the systemd-udevd daemon, which in its turn can have a negative impact on either the boot process or on upgrade of the systemd package.
In order to prevent such a slow-down from happening, SUSE released a temporary workaround that prevents the creation of the symlinks "/dev/disk/by-partlabel/primary". The workaround is provided in package udev-228.<?insert_versions?>.
The true solution however consists in preventing YaST from creating duplicate partition names and resetting the partition names from "primary" or "logical" to an empty string. See the "Resolution" section below for details.
To verify if a system is affected run the following commands:
udevadm info -e | grep -c 'ID_PART_ENTRY_NAME=primary'
udevadm info -e | grep -c 'ID_PART_ENTRY_NAME=logical'
If one of the reported numbers is greater than 100, it should be considered to fix the system as the workaround will be removed again in future SLES releases (16 and higher). By the time the workaround is removed, there should not be hundreds of "primary" partitions on a system any more.
Resolution
Where <device> is the disk device e.g. "sda" and $part_number indicates the partition number for which the label should be reset. Care should be taken to only do this on partitions that have the "primary" or "logical" label assigned.sgdisk -c $part_number:"" /dev/<device>
To prevent creation of partitions with the default labels "primary" and "logical" in the future it is needed to install the update packages parted-<?insert_versions?> and yast2-storage-<?insert_versions?> or later. New installations of SLE12 (up to SP3) can be done as usual, resetting partition lables after installation as described above. Alternatively a DUD (Driver Update Disk) with the updated packages can be obtained by contacting SUSE Technical Support, which will prevent creation of the duplicate partition tables during installation.
Cause
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7023057
- Creation Date: 07-Jun-2018
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com