This article describes scenarios when "Mounting /dev/disk/by-label/efi_P failed - return code - 32" or "Mounting /dev/disk/by-label/efi_S failed - return code - 32" error messages could be seen and clarifies whether any steps should be taken.
The "Mounting /dev/disk/by-label/efi_P failed - return code - 32" error message may appear while doing a snapshot recovery.
root@device> request vmhost snapshot recovery re1 re1:--------------------------------------------------------------------------warning: Existing data on the target may be lostwarning: Proceeding with vmhost snapshotCurrent root details, Device sda, Label: jrootp_S, Partition: sda3Snapshot admin context from current boot disk to target disk ...Proceeding with snapshot on primary diskMounting device in preparation for snapshot...Mounting /dev/disk/by-label/efi_P failed - return code - 32Vmhost snapshot abortedSoftware snapshot failed root@device> request vmhost recovery partition re1 re1:--------------------------------------------------------------------------warning: All existing data on the target media will be lostwarning: Proceeding with vmhost snapshot partitionCurrent root details, Device sda, Label: jrootp_S, Partition: sda3sh /etc/install/mk-mtre-partition.sh PSetting JROOTB_SIZE_MAX=2048ERROR: Device /dev/ does not exist or is not writableUsage: mk-mtre-partition.sh DEVICE DEVICE_ROLE DEVICE: The device to write the image to, e.g. /dev/sdc DEVICE_ROLE: The role of the device, e.g. 'primary' or 'p', 'secondary' or 's' PKG_DIR: The dir for content to be picked fromPartitioning failed, vmhost snapshot aborted
An alarm could also be raised:
root@device> show chassis alarms 1 alarms currently active Alarm time Class Description xxxx-xxxx-xxxx UTC Minor VMHost 1 Boot from alternate set
The error message "Mounting /dev/disk/by-label/efi_<P|S> failed - return code - 32" typically indicates a problem with mounting the EFI system partition (ESP) during the boot process.
Possible Causes:
Troubleshooting:
Output of "show vmhost logs kern.log" and "show vmhost logs syslog" should be checked to identify the exact errors that were reported. For example, if vmhost snapshot creation fails and "Mounting /dev/disk/by-label/efi_S failed - return code - 32" error message is seen, the following DMA errors were reported:
show vmhost logs kern.log
show vmhost logs syslog
user@device> show vmhost logs kern.log | match "2025-03-26"2025-03-26T01:26:15.557743+00:00 nge001 kernel: ata6.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen2025-03-26T01:26:15.557770+00:00 nge001 kernel: ata6.00: failed command: WRITE DMA2025-03-26T01:26:15.557774+00:00 nge001 kernel: ata6.00: cmd ca/00:01:00:08:00/00:00:00:00:00/e0 tag 6 dma 512 out2025-03-26T01:26:15.557777+00:00 nge001 kernel: res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)2025-03-26T01:26:15.557780+00:00 nge001 kernel: ata6.00: status: { DRDY }2025-03-26T01:26:15.557783+00:00 nge001 kernel: ata6: hard resetting link2025-03-26T01:26:16.012739+00:00 nge001 kernel: ata6: SATA link up 6.0 Gbps (SStatus 133 SControl 300)2025-03-26T01:26:16.012760+00:00 nge001 kernel: ata6.00: configured for UDMA/1332025-03-26T01:26:16.012764+00:00 nge001 kernel: ata6.00: device reported invalid CHS sector 02025-03-26T01:26:16.012767+00:00 nge001 kernel: ata6: EH complete2025-03-26T01:26:46.273740+00:00 nge001 kernel: ata6.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen2025-03-26T01:26:46.273764+00:00 nge001 kernel: ata6.00: failed command: WRITE DMA2025-03-26T01:26:46.273768+00:00 nge001 kernel: ata6.00: cmd ca/00:01:00:08:00/00:00:00:00:00/e0 tag 8 dma 512 out2025-03-26T01:26:46.347314+00:00 nge001 kernel: res 40/00:01:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)2025-03-26T01:26:46.347317+00:00 nge001 kernel: ata6.00: status: { DRDY }2025-03-26T01:26:46.347319+00:00 nge001 kernel: ata6: hard resetting link2025-03-26T01:26:46.750729+00:00 nge001 kernel: ata6: SATA link up 6.0 Gbps (SStatus 133 SControl 300)2025-03-26T01:26:46.751725+00:00 nge001 kernel: ata6.00: configured for UDMA/1332025-03-26T01:26:46.751737+00:00 nge001 kernel: ata6: EH complete2025-03-26T01:27:16.988744+00:00 nge001 kernel: ata6.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen2025-03-26T01:27:16.988767+00:00 nge001 kernel: ata6.00: failed command: WRITE DMA2025-03-26T01:27:16.988771+00:00 nge001 kernel: ata6.00: cmd ca/00:01:00:08:00/00:00:00:00:00/e0 tag 12 dma 512 out2025-03-26T01:27:16.988774+00:00 nge001 kernel: res 40/00:01:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)2025-03-26T01:27:16.988778+00:00 nge001 kernel: ata6.00: status: { DRDY }2025-03-26T01:27:16.988781+00:00 nge001 kernel: ata6: hard resetting link2025-03-26T01:27:17.465858+00:00 nge001 kernel: ata6: SATA link up 6.0 Gbps (SStatus 133 SControl 300)2025-03-26T01:27:17.465872+00:00 nge001 kernel: ata6.00: configured for UDMA/1332025-03-26T01:27:17.465875+00:00 nge001 kernel: ata6: EH complete
Recovery:
To resolve the issue, we may need to follow the below workaround during the MW time:
> request vmhost snapshot recovery partition warning: All existing data on the target media will be lost Proceed ? [yes,no] (no) yes Creating snapshot on target disk from current boot disk . Primary disk is recovered now. Please issue "request vmhost reboot" to boot from the primary disk. Software snapshot done
2025-03-26 : Formatting changes; added more diagnostic commands
2024-12-25 : Article Created