Unsolved

This post is more than 5 years old

1 Rookie

 • 

4 Posts

5702

September 11th, 2019 11:00

Foreign Managed disk

Hi,

We added 3 enclosures of 15K disk from a different Compellent system, and one of the disks is being shown as "Foreign Managed". How do we go about correcting this issue to allow the system to use this disk?

Regards,

Hugh McDaid

1 Rookie

 • 

3 Posts

February 21st, 2022 07:00

Ran into this today.

If you have access to CLI via serial:

1. shellaccess developer

2. disk show

3. Local for certain your disk by index. Confirm that it is in a ManagedForeign mode.

4. run command: disk unmanage

5. Manage disk like normal

1 Rookie

 • 

22 Posts

 • 

2 Points

July 26th, 2025 13:46

I factory reset a SC4020 using the serial port, and now the drives are stuck in ManagedForeign state. They were fine on this system before the factory reset. 

I've tried:

- disk clobber 1 ## for the first disk

- disk UnManage 1

- disk Manage 1

- disk set 1 3 Managed 

- disk set 1 3 3 ## ManagedForeign has a value of 4, so I assumed 3 would work. The same with 2 1 0

(all disk set fail with "Set Failure, Attribute is system write only")

- all the above with -systemwriteonly at the end

- disk unclobberall

- disk RekeyDisk 1

- reset the system to factory settings again

The Storage Manager Client is asking to create the Assigned disk folder (after submiting the license), I see the drives in there, but I cannot assign them to the folder, as they are marked as Foreign (Requested disk(s) must be unassigned for this operation, found assigned disk [index=1] in the request)

What should I do to move these drives from ManagedForeign to Unmanaged or Managed? 

The system is out of warranty. 

Moderator

 • 

4.2K Posts

 • 

21K Points

July 28th, 2025 02:07

Hi,

 

To move drives from ManageForeign to other status, you can try these steps, a few options to try:

 

Option 1:

  1. Unmanage the disks.

    • "disk unmanage where ManagementDiscipline ManagedForeign"

  2. Manage in all the disks using DSM.

  3. Start a restripe and monitor until complete.
     

Option 2:

  1. Relabel the drive.

    • "disk savelabel"

  2. Review to ensure that the labels are correct.

    • "disk showlabel"

  3. Unmanage the drives to change from "ManagedForeign" to "Unassigned."

    • "disk unmanage <diskIndex>"

  4. Manage in all the disks using DSM.

  5. Start a restripe and monitor until complete.

1 Rookie

 • 

22 Posts

 • 

2 Points

July 31st, 2025 06:45

Thank you Joey. disk unmanage works on a fully working system, when the system is not initialize however, I get an error saying that the command didn't execute (ReadOnly something). I got it working somehow, I don't remeber how. I think I changed the DesiredManagementDiscipline (option 82) to Unmanaged + lots of resets, I really don't know how I did it, but in the end it worked, disk were seen as Unmanaged. So now the system is stable. 

Moderator

 • 

4.2K Posts

 • 

21K Points

July 31st, 2025 07:13

Hi,

 

Thank you for the feedback update. 

No Events found!

Top