The maxfid is the last addressable frame on the disk. The what command outputs the current maxfid.
Any reference to a FID higher than maxfid results in the message:
Referencing illegal frame.
See Also
Boot Error Codes
FID
Scrubber
what Command