0. Finish the roll forward against the current hotspare, including the last BUSY ai extent after the source has been shutdown and truncated,
viz: that all open transactions are cleaned out and recorded in the ai notes if possible.
Then against HOTSPARE: remove the ai files and add them back again
If already at the point of having 'rfutil -C mark backedup; rfutil -C aimage begin', then begin with step 1 else skip to step 2:
1. Disable after-imaging:
$ rfutil hotsparedb -C aimage end
2. Remove all the AI extents. The following command needs to be run for each AI extent until there are no ai extents remaining.
$ prostrct remove hotsparedb ai
3. Verify all ai extents have been removed by examining the resulting output from:
$ prostrct list hotsparedb
4. Add the required AI extents back as defined in the quoted .st file:
$ prostrct add hotsparedb addai.st
Example: addai.st
a . v 128000
a . v 128000
a . v 128000
a . v 128000
a . v 128000
5. Enable After-Imaging:
$ rfutil hotsparedb -C mark backedup
$ rfutil hotsparedb -C aimage begin
6. Take an online or offline PROBKUP for the new hotspare creation.
$ probkup hotsparedb hotsparedb100.bak