Today, in a lab environment, we tried the procedure to replace the mediator in an existing 2-node ontap select cluster. A student pasted from the lab guide the following command:
storage iscsi-initiator add-target -node select-05-01 -label mediator -target-type mailbox -target-portal 10.101.5.99 -target-name <iqn>
As a result 'storage iscsi-initiator show' no longer returned the storage iscsi initiators for select-05-01. So we tried to reboot the ontap select node and ended up in a bootloop. There we got an error message from the subject line.
I tried to boot_ontap menu. No luck. So I installed FreeBSD in a VM, added the 7 GiB disk from Ontap select, did a filesystem check on partition 3, mounted it, edited /etc/iscsi.conf and remove the offending entry:
mediator {
TargetAddress = 10.101.5.99
TargetName = <iqn>
TargetType = mailbox
}
Umounted and we're good to go. Less than an hour. But I would like to know if there is another way to access the varfs than using an external FreeBSD. Maybe there is something I can do at the loader prompt?