ADSM-L

Re: Restore help <urgent> Solved!

2015-10-04 17:30:26
Subject: Re: Restore help <urgent> Solved!
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU]On Behalf Of
To: ADSM-L AT VM.MARIST DOT EDU
nohup will work if you use the following syntax.

nohup /usr/lpp/adsm/bin/dsmc sched > /dev/null 2>&1 < /dev/null &

> -----Original Message-----
> From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU]On Behalf Of
> Gary Bowers
> Sent: Friday, May 12, 2000 8:15 AM
> To: ADSM-L AT VM.MARIST DOT EDU
> Subject: Re: Restore help <urgent> Solved!
>
>
> Ok, to all who want to know, AIX 4.3.3 has a bug or actaully a fix for
> nohup.  The problem has to do with standard IO redirection, and ADSM has
> been working fine off of a bug in prior releases.  Now they are pointing
> fingers as to who should fix it.
>
> Anyway the solution is not to use nohup.  Rather use at.
>
> Ex.
>
> echo "restore /tmp" | at now
>
> This works without fail.
>
> Gary
>
> -----Original Message-----
> From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU]On Behalf Of
> Mark Brown
> Sent: Thursday, May 11, 2000 8:07 PM
> To: ADSM-L AT VM.MARIST DOT EDU
> Subject: Re: Restore help <urgent>
>
>
> I've never gotton a restore to work from the command line and putting
> into
> the background even using nohup. There is some kind of prompt from the
> adsm
> client that causes the command to "hang". When I hit enter the process
> dies. However running it as a macro works fine:
>
> Make a file like   restore.mac  and add the following line:
>
> restore /mpf1/ -subdir=yes -replace=all -tapeprompt=no -quiet=yes >>
> /tmp/restore.log
>
>
> Then do  nohup dsmc macro restore.mac &
>
> Mark Brown
> mark AT cc.mcgill DOT ca
>
>
>
> "Slaughter, Bill" wrote:
> >
> > Are you being prompted for a password when you run the command manually?
> >
> > -----Original Message-----
> > From: Gary Bowers [mailto:gbowers AT ITRUS DOT NET]
> > Sent: Thursday, May 11, 2000 2:06 PM
> > To: ADSM-L AT VM.MARIST DOT EDU
> > Subject: Restore help <urgent>
> >
> > I am trying to get a system back up, and I am running a script that has
> the
> > following entries called restore.ksh.
> >
> > dsmc restore /mpf1/ -subdir=yes -replace=all -tapeprompt=no
> -quiet=yes >>
> > /tmp/restore.log 2>&1 </dev/null
> >
> > There are many of these, and a few echos to let me know what's being
> backed
> > up.
> >
> > I run the script as
> >
> > #nohup ./restore.ksh &
> >
> > It works fine, but when I exit the shell the process stays, but
> ADSM hangs
> > in a sendW.  Any ideas?
> >
> > Thanks again,
> >
> > Gary
<Prev in Thread] Current Thread [Next in Thread>