Start a Conversation

Unsolved

This post is more than 5 years old

1362

December 13th, 2015 22:00

Adding device errors Found an invalid device header signature

Hi

I am attempting to add a new disk to an SDS using this command:

scli --add_sds_device --sds_ip 10.2.201.197 --storage_pool_name esx --device_path /dev/sdd

It replies with:

Error: MDM failed command.  Status: Found an invalid device header signature

And /opt/emc/scaleio/mdm/bin/showevents.py -a reports:

1489  2015-12-14 01:44:52.430 MDM_CLI_CONF_COMMAND_RECEIVED INFO         Command add_sds_device received, User: 'admin'. [6469] SDS: Hostname: 10.2.201.197, SDS Device: name N/A path /dev/sdd, Storage Pool: esx, Test Mode: 'Test and activate' Test Time: 0

1490  2015-12-14 01:44:52.103 OPEN_SDS_DEVICE_FAILED    ERROR            Could not open a device on SDS: e00b633d00000000 (Path: /dev/sdd). Error message: Found an invalid device header signature

1491  2015-12-14 01:44:52.117 CLI_COMMAND_FAILED        WARNING          Command add_sds_device was not successful. Error code: Found an invalid device header signature [6469] ID: 0000000000000000

I can see the disk in /dev/ as sdd and fdisk shows no partitions. Can anyone guide me in the right direction?

Thanks

Andrew

2 Posts

December 14th, 2015 15:00

Turns out I replaced the disk without doing a sds_remove_device command. I couldn't add the new disk because it didn't match what the SDS knew. I couldn't add the old disk back in to remove it properly. Instead I removed the entire SDS from teh cluster and added it again.

Hope this helps someone!

1 Message

June 22nd, 2016 21:00

I had the same error with one of my disks (sdc) and wiping the first 100KB of the disk fixed the issue.

eg for sdc: "sudo dd if=/dev/zero of=/dev/sdc bs=102400 count=1"

I tried doing the first 1KB to wipe the MBR/partition table and that didn't work... threw a few more zero's on and was able to add the device

No Events found!

Top