Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

file /var/adm/nfsv4/sm4.grace

Status
Not open for further replies.

ogniemi

Technical User
Nov 7, 2003
1,041
PL
I don't use NFSv4 and get strange error doing mksysb.
$ lssrc -g nfs
Subsystem Group PID Status
biod nfs inoperative
nfsd nfs inoperative
rpc.statd nfs inoperative
rpc.lockd nfs inoperative
rpc.mountd nfs inoperative
nfsrgyd nfs inoperative
gssd nfs inoperative


and here is the error:

Creating list of files to back up..
Backing up 65282 files...............backup: 0511-089 Cannot open ./var/adm/nfsv4/sm4.grace: A system call received a parameter that is not valid.
.......
- I know I can ignore it but how get it rid off?


-rw------- 1 root system 88 Jan 13 11:43 sm4.grace
# more sm4.grace
sm4.grace: A system call received a parameter that is not valid.
# file sm4.grace
sm4.grace: 0653-902 Cannot open the specified file for reading.

 
Create [tt]/etc/exclude.rootvg[/tt] file containing the line

[tt]^./var/adm/nfsv4/[/tt]

and use -e flag for mksysb:


from man mksysb: ;-)

-e
Excludes files listed in the /etc/exclude.rootvg file from being
backed up. The rules for exclusion follow the pattern matching
rules of the grep command.

If you want to exclude certain files from the backup, create the
/etc/exclude.rootvg file, with an ASCII editor, and enter the
patterns of file names that you do not want included in your
system backup image. The patterns in this file are input to the
pattern matching conventions of the grep command to determine
which files will be excluded from the backup. If you want to
exclude files listed in the /etc/exclude.rootvg file, select the
Exclude Files field and press the Tab key once to change the
default value to yes.

For example, to exclude all the contents of the directory called
scratch, edit the exclude file to read as follows:

/scratch/

For example, to exclude the contents of the directory called /tmp,
and avoid excluding any other directories that have /tmp in the
pathname, edit the exclude file to read as follows:

^./tmp/

All files are backed up relative to . (current working directory).
To exclude any file or directory for which it is important to have

the search match the string at the beginning of the line, use ^
(caret character) as the first character in the search string,
followed by . (dot character), followed by the filename or
directory to be excluded.

If the filename or directory being excluded is a substring of
another filename or directory, use ^. (caret character followed by
dot character) to indicate that the search should begin at the
beginning of the line and/or use $ (dollar sign character) to
indicate that the search should end at the end of the line.



HTH,

p5wizard
 
probably installing HACMP 5.4.1 it does some changes in nfsd SRC subsystem:

# lssrc -Ssnfsd
#subsysname:synonym:cmdargs:path:uid:auditid:standin:standout:standerr:action:multi:contact:svrkey:svrmtype:priority:signorm:sigforce:display:waittime:grpname:
nfsd::-gpx 1 -gp on -P /var/adm/nfsv4 3891:/usr/sbin/nfsd:0:0:/dev/null:/dev/console:/dev/console:-R:-Q:-S:0:0:20:30:31:-d:20:nfs:


On the other system running one the same AIX level but without HACMP installed "-gpx 1 -gp on -P /var/adm/nfsv4" is not there.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top