Informix Error -43010: Bad option usage: -f option requires a filename.
Cause and resolution
Bad option usage: -f option requires a filename.
The user entered the -f option and did not specify a filename. ON-Bar does not know which storage spaces to use in this command, so it cannot continue.
Specify the name of a file that contains the list of storage spaces ON-Bar should act upon, after the -f option, and rerun the command.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-43010 fires when ON-Bar's -f option is given without a filename — per the official
guidance, ON-Bar then has no way to know which storage spaces to act on.
- The
-foption used without a following filename, per the official guidance — the direct, only cause.
Solutions / Resolution
- Specify the name of a file listing the storage spaces after
-f, per the official guidance, and rerun the command.
Examples
Missing filename after -f
$ onbar -b -f
Bad option usage: -f option requires a filename.
$ onbar -b -f spaces.lst
Diagnostic Checks
- Check the
-foption's argument, and supply the storage-space list filename if missing.
Related Errors / Related Topics
- -43011 — "The -f command is ignored for whole system backup/restore and fake
backup." A related
-f-option restriction, on when the option is ignored rather than missing its argument. - -43023 — "Bad option usage: -n option requires a log number." The same class of
missing-argument error, for the
-noption instead.
ON-Bar's -f option was given without a filename — supply the storage-space list filename.