Restoring iSCSI Target

Hi

After a recent powercut, my iSCSI targets disappeared and I’m trying to get them re-added without data loss.

There are 2 volumes and targets in there, what I’ve done so far:

  • SSH in and found the iscsi image names
  • Volume 1 - added a new target using the same name with a size of 1gb
  • The EX2 then re-added that iscsi Target at its original size of 4tb.

However, on the 2nd target I’m trying to add, there is 0GB space on that volume, so when I’m trying to create a target with the same name I’m getting a message of:
“Target size cannot be greater than 0”
and if I put zero then I get:
“Enter a positive integer”

Is there a way to add this target via SSH or is there another way round this that someone could suggest?

Thanks in advance

Hi,

You could refer to the following link: https://support-en.wd.com/app/answers/detail/a_id/14166