In regard to: [Networker] nsrstage references non-existant file (staging...:
I've seen several instances over the past few weeks where staging from
disk to tape just mysteriously hangs, even with space available on the
tape (as I've posted here about a time or two). Looking at the processes,
I see this one:
/usr/sbin/nsr/nsrstage -d -b stage -m -S -f /nsr/tmp/NSRSTAGE_CMD.5naOcL
Trouble is, /nsr/tmp/NSRSTAGE_CMD.5naOcL doesn't exist. I guess that might
explain why it's stalled... Or not: as per its man page, -d tells nsrstage
to delete the input file, but does it do that before it even starts to
stage? I assumed -d meant to delete the ssid file once staging completed.
Does it read the file, delete it and then start staging?
Quite possibly. I don't know the answer to your question, but I know how
I would find out if I were in your position.
Figure out which process is starting the nsrstage. Since it appears
you're on UNIX or Linux, you should be able to get that from the parent
pid of one of the hung nsrstage process.
Stop whatever hung staging is going on, and then attach to whatever the
parent process is with the truss command or your platform's equivalent
(strace on Linux). You want to be certain to "follow forks" (generally
the -f option to either truss or strace) and you probably want to save
the output to a temp file somewhere.
Then initiate a stage. truss or strace should show you where in the
list of things the process does the unlink() is happening.
Tim
--
Tim Mooney Tim.Mooney AT ndsu DOT
edu
Enterprise Computing & Infrastructure 701-231-1076 (Voice)
Room 242-J6, IACC Building 701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
To sign off this list, send email to listserv AT listserv.temple DOT edu and type
"signoff networker" in the body of the email. Please write to networker-request
AT listserv.temple DOT edu if you have any problems with this list. You can access the
archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|