AIR import fails with status code 191 on target SpanFS cluster
After configuring Auto Image Replication (AIR) between two SpanFS clusters, you may encounter a status code 191 during import operations at the target domain. It indicates that the disk pool and disk volume are not properly configured to recognize the replication source.
Cause:
The target domain may be missing replication metadata. If the following command shows disk volumes without a Replication Source field, it means the disk pool and disk volume need to be updated:
nbdevquery -listdv -stype SpanFS -U
Example output with the missing replication source:
Disk Pool Name : dp Disk Type : SpanFS Disk Volume Name : lsu4 ... Num Repl Sources : 0 Replication Source : [missing]
Resolution:
To resolve the issue, update both the disk volume and disk pool using the following steps:
Identify the disk pool and disk volume names:
nbdevquery -listdv -stype SpanFS -U
Update the disk volume:
nbdevconfig -updatedv -dv <disk_volume_name> -dp <disk_pool_name> -stype SpanFS
Update the disk pool:
nbdevconfig -updatedp -dp <disk_pool_name> -stype SpanFS
After these steps, run the nbdevquery command again to verify the update. You should now see the Replication Source field populated, indicating successful configuration.
Example updated output:
Disk Pool Name : dp Disk Volume Name : lsu4 ... Num Repl Sources : 1 Replication Source : <source_cluster>:<volume_name>