Unsolved

1 Rookie

 • 

14 Posts

4220

March 31st, 2021 02:00

perccli - Ugood - status

Hi,

    I have a raid 5.

    One of the disks got predictive failure status and then I replaced it with another disk (hot swap).

    I did not shutdown the machine or reboot. I changed with the machine working online.

    The disk got into Ugood and did not got into the RAID to rebuild.

    Perccli status show: state Ugood and DG  equal F that I suppose is Foreign.

     How can I put the disk back to the Raid 5 array?

 

     Thank you for any help!

 

 

6 Operator

 • 

3K Posts

March 31st, 2021 04:00

Is the drive you replaced is a new drive or used in another server. If it is taken from a server and the drive was part of an existing virtual disk it will be shown as foreign drive. You need to clear the foreign config before using it for virtual disk on new server. Which server are you having it. You can clear the foreign config using controller BIOS, OMSA or iDRAC. 

1 Rookie

 • 

14 Posts

March 31st, 2021 05:00

Hi,

    I have a PowerEdge 2950. The disk was used at another server but I had reset it status using another

PowerEdge 2950 server. At this other server it had the "online" status. Very strange. Maybe It did not reset

the foreign status.

    The disk is mounted at the server. The server is active.

    It seems that it "didn't like" this disk (it's the same model and firmware) and put as foreign.

     Look the output of perccli commands:   Should I put offline and try another disk?

      perccli /c0  /eall /sall  show

      perccli /c0  /fall show

      perccli /c0 /fall show all

        

[root@localhost:/opt/lsi/perccli] ./perccli /c0 /eall /sall show
Controller = 0
Status = Success
Description = Show Drive Information Succeeded.

Drive Information :
=================

-------------------------------------------------------------------------
EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp
-------------------------------------------------------------------------
32:0 0 Onln 0 136.125 GB SAS HDD N N 512B ST3146855SS U
32:1 1 Onln 0 136.125 GB SAS HDD N N 512B MBA3147RC U
32:2 2 Onln 1 278.875 GB SAS HDD N N 512B ST3300655SS U
32:3 3 UGood F 278.875 GB SAS HDD N N 512B ST3300655SS U
32:4 4 Onln 1 278.875 GB SAS HDD N N 512B ST3300655SS U
32:5 5 Onln 1 278.875 GB SAS HDD N N 512B ST3300655SS U
-------------------------------------------------------------------------

EID-Enclosure Device ID|Slt-Slot No.|DID-Device ID|DG-DriveGroup
DHS-Dedicated Hot Spare|UGood-Unconfigured Good|GHS-Global Hotspare
UBad-Unconfigured Bad|Onln-Online|Offln-Offline|Intf-Interface
Med-Media Type|SED-Self Encryptive Drive|PI-Protection Info
SeSz-Sector Size|Sp-Spun|U-Up|D-Down/PowerSave|T-Transition|F-Foreign
UGUnsp-Unsupported|UGShld-UnConfigured shielded|HSPShld-Hotspare shielded
CFShld-Configured shielded|Cpybck-CopyBack|CBShld-Copyback Shielded

=================================================================================
=================================================================================


[root@localhost:/opt/lsi/perccli] ./perccli /c0 /fall show
Controller = 0
Status = Success
Description = Operation on foreign configuration Succeeded


FOREIGN CONFIGURATION :
=====================

-----------------------------------------
DG EID:Slot Type State Size NoVDs
-----------------------------------------
0 - RAID5 Frgn 836.625 GB 1
-----------------------------------------

NoVDs - Number of VDs in disk group|DG - Diskgroup
Total foreign drive groups = 1
===================================================================================
===================================================================================

[root@localhost:/opt/lsi/perccli] ./perccli /c0 /fall show all
Controller = 0
Status = Success
Description = Operation on foreign configuration Succeeded


Foreign Topology :
================

-----------------------------------------------------------------------------
DG Arr Row EID:Slot DID Type State BT Size PDC PI SED DS3 FSpace TR
-----------------------------------------------------------------------------
0 - - - - RAID5 Frgn N 836.625 GB dflt N N dflt N N
0 0 - - - RAID5 Frgn N 836.625 GB dflt N N dflt N N
0 0 0 32:3 3 DRIVE Frgn N 278.875 GB dflt N N dflt - N
0 0 1 - - DRIVE Msng - 278.875 GB - - - - - N
0 0 2 - - DRIVE Msng - 278.875 GB - - - - - N
0 0 3 - - DRIVE Msng - 278.875 GB - - - - - N
-----------------------------------------------------------------------------


Foreign VD List :
===============

-----------------------------
DG VD Size Type Name
-----------------------------
0 255 836.625 GB RAID5 vd1
-----------------------------

DG=Disk Group Index|Arr=Array Index|Row=Row Index|EID=Enclosure Device ID
DID=Device ID|Type=Drive Type|Onln=Online|Rbld=Rebuild|Dgrd=Degraded
Pdgd=Partially degraded|Offln=Offline|BT=Background Task Active
PDC=PD Cache|PI=Protection Info|SED=Self Encrypting Drive|Frgn=Foreign
DS3=Dimmer Switch 3|dflt=Default|Msng=Missing|FSpace=Free Space Present
TR=Transport Ready

 

 

 

 

   

6 Operator

 • 

3K Posts

March 31st, 2021 07:00

Can you reboot the server and go to PERC Controller BIOS and try to clear the foreign config and see whether that fixes the issue.

You can also try the same using perccli as well. I believe "perccli /c0 /fall delete" will delete all foreign config from controller 0. 

Note : It is recommended to backup your data before carrying out any such maintenance tasks.

1 Rookie

 • 

14 Posts

March 31st, 2021 07:00

Hi.

   Thank you. I'll make a backup and try to clear the foreign config without rebooting the machine with the command  "perccli /c0 /fall delete".

    After this command  should automatically rebuid the  RAID?

    What is the right way to reset the foreign status? I was using  the controller menu that can be reached during PowerEdge 2950 boot. It seems that it did not reset the disk status.

     How can I check if a disk is not in foreign status?

     I have a backup Poweredge 2950 server  that can be used for this procedure.

 

   Thank you.

 

 

No Events found!

Top