frecover | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

frecover

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 11-17-2000
molonede molonede is offline
Registered User
 
Join Date: Nov 2000
Last Activity: 7 September 2004, 2:51 PM EDT
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Data

Started an frecover from Sam, with a recovery scope and a different destination.
Here is what is happening.

Starting file recovery...
frecover(5423): incorrect volume mounted;
frecover(5424): expected volume 1, and got 2
frecover(5433): Do you wish to continue using this volume? (^[yY]/^[nN]) y
frecover(5434): attempting to resynchronize after volume header

Nothing seems to be happening. I've been waiting about a half hour. No new files, and the frecover process is in sleep mode with little to no cpu usage.

Any ideas on what is going on, or what I can do to find out if it is actually working?
Sponsored Links
    #2  
Old 11-17-2000
PxT's Avatar
PxT PxT is offline Forum Advisor  
Registered User
 
Join Date: Oct 2000
Last Activity: 7 May 2009, 12:22 PM EDT
Location: Sacramento, CA
Posts: 909
Thanks: 0
Thanked 4 Times in 4 Posts
Assuming that you do have volume one mounted, here is something from the frecover man page which might help:

<I>
Care should be taken to match the names specified by the include and exclude options with the names in the index on the tape. Since the files are stored on the backup in lexographic order as defined by the LANG or LC_COLLATE environment variable, frecover uses the exact path names to determine when a partial recovery is complete, and when an earlier tape needs to be loaded. If a user's specification of a file to be recovered is misspelled, this may cause confusing messages, such as frecover asking for the previous volume, when volume one is mounted.
</I>

Sponsored Links
    #3  
Old 11-17-2000
molonede molonede is offline
Registered User
 
Join Date: Nov 2000
Last Activity: 7 September 2004, 2:51 PM EDT
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Nope everything is fine on the file name specs. I know that the data I am searching for is not on the first tape and probably starts on the second, and since it was already in the drive. I just started the process thinking that it could resync the headers fine. But for some reason it seems to be stuck.
    #4  
Old 11-17-2000
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
 
Join Date: Sep 2000
Last Activity: 2 October 2014, 9:07 AM EDT
Location: Asia pacific region
Posts: 13,023
Thanks: 522
Thanked 875 Times in 402 Posts
Question Man page for frecover?

Please format and post the man page for frecover, or post a URL to an on-line version of the man page. -Thanks.

[Edited by Neo on 11-17-2000 at 07:10 PM]
Sponsored Links
    #5  
Old 11-17-2000
PxT's Avatar
PxT PxT is offline Forum Advisor  
Registered User
 
Join Date: Oct 2000
Last Activity: 7 May 2009, 12:22 PM EDT
Location: Sacramento, CA
Posts: 909
Thanks: 0
Thanked 4 Times in 4 Posts
You can find just about any man page by searching google.com for '<I>command</I> man'.

frecover man page is here: http://www.devresource.hp.com/STK/ma...ecover_1m.html

It is an HP-UX specific command.
Sponsored Links
    #6  
Old 11-22-2000
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
 
Join Date: Sep 2000
Last Activity: 2 October 2014, 9:07 AM EDT
Location: Asia pacific region
Posts: 13,023
Thanks: 522
Thanked 875 Times in 402 Posts
Thanks for the man page pointer. Here are my current thoughts of what I would do if this was my problem and some background discussion.

First of all, in my years of HPUX experience, I always tried to avoid using SAM. SAM does many commands when you execute a function and it is hard to debug errors, as you are discovering.

Back away from SAM, decide what you are going to do, use the HP documentation and man pages and do it, step-by-step without SAM in between you and the environment. This has always been my method-of-operating in an HPUX environment. That is not to say that SAM is 'not good' because I use it to add users, groups and other less complex tasks. However,
for non-trivial tasks or tasks that are giving errors, I immediately move from SAM to the command line.

Now, assume you are at the command line. Take a look at the files and their permissions, write them down, etc. Start your reconfiguration step-by-step. If that does not work and you get errors, for example with frecover(); I would use a system call tracing utility to find out what is the exact HPUX system call returning the error and the arguments being passed to the system call. Sometimes the return codes of the systems call are much more informative that the text messages in the console. You will have to read the detailed man pages of the system calls to get this information. Somethings you will have to go into the header files in the associated system libs and look for the #defines in the right includes to get the next level of details.

I don't recall the name of the HPUX system call trace utility, something like ptrace() or strace() or something like that. There is one however, and learning to use it will become one of your greatest sysadmin debugging tools.

However, in many cases, just executing the task from the command line, step-by-step, in a controlled manner, with lead to a discovery of the problem. It may not be necessary to go a level deeper into system call tracing; but you will surely learn a lot about your environment getting out from under SAM and into the nuts-and-bolts of the task at hand.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
frecover problem mrviking HP-UX 9 04-11-2008 03:42 PM
question about fbackup/frecover yeti00 HP-UX 6 03-04-2008 04:25 AM
frecover command need help urgent please touny HP-UX 4 04-19-2007 01:17 AM
frecover on HP 11.11 gummysweets UNIX for Dummies Questions & Answers 2 08-10-2005 10:20 AM
frecover salhoub HP-UX 1 07-13-2004 11:00 AM



All times are GMT -4. The time now is 10:29 AM.