My Oracle Support Banner

afd_label reports "No devices to be labeled" even when the device exists at OS level (Doc ID 2588581.1)

Last updated on MAY 20, 2020

Applies to:

Oracle Database - Standard Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

Existing AFD configuration and trying to label a new partitioned device with afd_label reports "No devices to be labeled" even when the device exists with proper ownership and permissions 

asmcmd afd_label MGMT2 /dev/xvdg1
No devices to be labeled.
ASMCMD-9513: ASM disk label set operation failed.

asmcmd afd_label MGMT2 /dev/xvdg1 --migrate
No devices to be labeled.
ASMCMD-9513: ASM disk label set operation failed.

AFD configuration and state are proper.

asmcmd afd_lstate
ASMCMD-9526: The AFD state is 'LOADED' and filtering is 'ENABLED' on host 'xxxxxxxxxx'

afddriverstate supported
AFD-9200: Supported

cat /etc/oracleafd.conf
afd_diskstring='/dev/xvd*'

ls -lrt /dev/xvdg*

brw-rw----. 1 grid oinstall 202, 97 Aug 28 17:27 /dev/xvdg1
brw-rw----. 1 root disk 202, 96 Aug 27 15:35 /dev/xvdg

Changes

fdisk the new storage device and created a new partition.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.