PowerFlex storcli add vd command complains "hard drive does not have appropriate attributes"

Summary: Storcli add vd command complains "hard drive does not have appropriate attributes"

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Scenario

This can happen when a disk is pulled from the enclosure and put back in, without following the correct procedure.

This can happen on VxRack Node and other systems using LSI controller and storcli.

Symptoms

The error on storcli adds the vd command:

 # /opt/MegaRAID/storcli/storcli64 /c0 add vd type=raid0 drives=252:2 direct wb ra
Controller = 0
Status = Failure
Description = physical disk does not have appropriate attributes

In the "storcli /c0 show" output, 252:2's state is "UBad" and DG is "F":

 # /opt/MegaRAID/storcli/storcli64 /c0 show
...
PD LIST :
=======
----------------------------------------------------------------------------
EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp
----------------------------------------------------------------------------
252:0 13 Onln 4 372.093 GB SATA SSD N N 512B INTEL SSDSC2BA400G3 U
252:1 12 Onln 0 837.843 GB SAS HDD Y N 512B ST900MM0026 U
252:2 11 UBad F 837.843 GB SAS HDD Y N 512B ST900MM0026 U
252:4  8 Onln 1 837.843 GB SAS HDD Y N 512B ST900MM0026 U
252:5  9 Onln 2 837.843 GB SAS HDD Y N 512B ST900MM0026 U
252:6 10 Onln 3 837.843 GB SAS HDD Y N 512B ST900MM0026 U

 

Impact

Unable to use the disk.

Cause

When a disk is pulled and put back in, the controller might consider this disk's configuration "foreign" (DG=F). This prevents the controller from using the disk, and attempts to add VD on this PD will fail.

 

Resolution

The foreign configuration must be deleted before the controller can use the PD.

Note: this operation invalidates data on the disk. This should not cause issues for ScaleIO as there will be two copies for all data.

1. Clear the "Ubad" state of the PD if any:

# /opt/MegaRAID/storcli/storcli64 /c0/e252/s2 set good
Controller = 0
Status = Success
Description = Set Drive Good Succeeded.

2. Verify the foreign configuration with "storcli /c0/fall show"

# /opt/MegaRAID/storcli/storcli64 /c0/fall show
Controller = 0
Status = Success
Description = Operation on foreign configuration Succeeded
FOREIGN CONFIGURATION :
=====================
-----------------------------------------
DG EID:Slot Type  State       Size NoVDs
-----------------------------------------
 0 -        RAID0 Frgn  837.843 GB     1
-----------------------------------------
NoVDs - Number of VDs in disk group|DG - Diskgroup
Total foreign drive groups = 1

3. Delete the foreign configuration with "storcli /c0/fall del"

# /opt/MegaRAID/storcli/storcli64 /c0/fall del
Controller = 0
Status = Success
Description = Successfully deleted foreign configuration

After that "storcli /c0 show" will show the PD in the UGood state with a valid DG number, and the PD can be used for the "add vd" command again.

Affected Products

PowerFlex appliance connectivity
Article Properties
Article Number: 000281642
Article Type: Solution
Last Modified: 06 Feb 2025
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.