Operating System - HP-UX
1754059 Members
3897 Online
108811 Solutions
New Discussion юеВ

What is the option of loadfile? is there a "man loadfile"?

 
SOLVED
Go to solution
Tuan Nguyen_2
Frequent Advisor

What is the option of loadfile? is there a "man loadfile"?

hi,

I have used "loadfile" from the recovery shell several times, but this time I don't know what the following means (reading it from a pdf):

"loadfile -l INSTCMDS /opt/raidsa/bin/saconfig"
what -l means? the parameter INSTCMDS, is this the DVD driver? are there other options, parameters inside loadfile? At the moment I don't have access to the "recovery shell", so please help.

Best regards,
Tuan
6 REPLIES 6
Torsten.
Acclaimed Contributor

Re: What is the option of loadfile? is there a "man loadfile"?

What do you want to do?

The tool is related to the smart array controller configuration. It may be a good idea to work with the smart setup cd and boot from this instead.
see
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?locBasepartNum=is-18189-9тМй=English

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Tuan Nguyen_2
Frequent Advisor

Re: What is the option of loadfile? is there a "man loadfile"?

I just want to know MORE about the option/parameters (google/pdf does have it :-( ) of the commander loadfile.
Torsten.
Acclaimed Contributor

Re: What is the option of loadfile? is there a "man loadfile"?

The recovery shell has a very "poor" environment and uses a RAM based fs. In order to use several commands, you have to load them into the RAM. The number is limited. It's used for "emergency recovery" only - and for the initial config of a smart array controller recently.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Michael Roberts_3
Honored Contributor
Solution

Re: What is the option of loadfile? is there a "man loadfile"?

loadfile options:

usage: /opt/ignite/lbin/loadfile [-vtqu] [-f source/source_net_dir] [-l LIF-file] file(s)...
/opt/ignite/lbin/loadfile [-r | -R] [-qc] [-f source/source_net_dir] [-l LIF-file] > out
/opt/ignite/lbin/loadfile -T [-q] [-f source/source_net_dir] [-l LIF-file]
-v => verbose output
-t => table of contents only (don't load files)
-q => quiet mode
-u => indicate that the tar-archive is uncompressed
-r => write the LIF file to stdout, stopping at first null character
-R => write the whole LIF file to stdout (including nulls)
-c => raw data is compressed - uncompress while writing (-R only)
-T => test for the existence of specified LIF file
-f => specifies the source device or, when SOURCE=NET, specifies the
directory to access on the server. (default: $SOURCE/$SOURCE_NET_DIR)
-l => specifies the name of the LIF file to access.
If not specified, default: is $SOURCE_LIF_FILE (usually SYSCMDS).
For network sources, if the lif file does not start with '/', then
the path of $DEFAULT_RELEASE_DIR will be prepended for SYSCMDS, and
Rel_$INST_OS_RELEASE will be prepended for all other relative files.
Thus, SYSCMDS comes from the target-release specific directory, and
all others (like INSTCMDS) comes from the install-kernel release dir.
files => a list of files/directories to extract from the LIF file which is
expected to be a compressed tar-archive.

So valid arguments to '-l' would be INSTCMDS, SYSCMDS, RECCMDS. NB. that if you specify "INSTCMDS" and are on an Itanium system loadfile will automatically add the 'IA' suffix. It will do this for SYSCMDS and RECCMDS also.
etouq ot hguone revelc ton m'i
Tuan Nguyen_2
Frequent Advisor

Re: What is the option of loadfile? is there a "man loadfile"?

Many thanks to Torsten & Michael. Michael it is what I am looking for (and thanks for the path :-) ). Torsten, yes, I will only use loadfile for the emergency recovery and setup of the RAID only.
Thanks
Tuan
Tuan Nguyen_2
Frequent Advisor

Re: What is the option of loadfile? is there a "man loadfile"?

Thanks