Sponsored Content
Full Discussion: "tar" Check sum error
Operating Systems AIX "tar" Check sum error Post 302082094 by rajlucky_raj on Monday 31st of July 2006 08:28:43 AM
Old 07-31-2006
Which command you are using for the same. Pls provide the full details
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

check input = "empty" and "numeric"

Hi how to check input is "empty" and "numeric" in ksh? e.g: ./myscript.ksh k output show: invalid number input ./myscript.ksh output show: no input ./myscript.ksh 10 output show: input is numeric (6 Replies)
Discussion started by: geoffry
6 Replies

2. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

3. HP-UX

ERROR: more than one instance of overloaded function "vprintf" has "C" linkage

Hi people! I've got this own library: -------------------------------------------- Personal.h -------------------------------------------- #ifdef __cplusplus extern "C" { #endif #include <stdio.h> #include <stdarg.h> #include <string.h> ... (0 Replies)
Discussion started by: donatoll
0 Replies

4. Shell Programming and Scripting

"sed" to check file size & echo " " to destination file

Hi, I've modified the syslogd source to include a thread that will keep track of a timer(or a timer thread). My intention is to check the file size of /var/log/messages in every one minute & if the size is more than 128KB, do a echo " " > /var/log/messages, so that the file size will be set... (7 Replies)
Discussion started by: jockey007
7 Replies

5. Solaris

How to check "faulty" or "stalled" print queues - SAP systems?

Hi all, First off, sorry for a long post but I think I have no other option if I need to explain properly what I need help for. I need some advise on how best to check for "faulty" or "stalled/jammed' print queues. At the moment, I have three (3) application servers which also acts as print... (0 Replies)
Discussion started by: newbie_01
0 Replies

6. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

7. UNIX for Dummies Questions & Answers

Unix "look" Command "File too large" Error Message

I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this: $ look "string" "/home/patrick/filename.txt" However, this gives me the following message: "look: /home/patrick/filename.txt: File too large" So, I have two... (14 Replies)
Discussion started by: shishong
14 Replies

8. Ubuntu

What is solution for this error "tar: Exiting with failure status due to previous errors"?

Does anyone know what is solution for this error ?tar: Exiting with failure status due to previous errors from last 3 days I am trying to take backup of home/user directory getting again and again same error please anyone give me solution (8 Replies)
Discussion started by: Akshay Hegde
8 Replies

9. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

10. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
VOS_RESTORE(1)						       AFS Command Reference						    VOS_RESTORE(1)

NAME
vos_restore - Converts an ASCII dump file into an AFS volume SYNOPSIS
vos restore -server <machine name> -partition <partition name> -name <name of volume to be restored> [-file <dump file>] [-id <volume ID>] [-overwrite (abort | full | incremental)] [-offline] [-readonly] [-creation (dump | keep | new)] [-lastupdate (dump | keep | new)] [-nodelete] [-cell <cell name>] [-noauth] [-localauth] [-verbose] [-encrypt] [-noresolve] [-help] vos res -s <machine name> -p <partition name> -na <name of volume to be restored> [-f <dump file>] [-i <volume ID>] [-ov (a | f | i)] [-of] [-r] [-cr (d | k | n)] [-la (d | k | n)] [-nod] [-c <cell name>] [-noa] [-lo] [-v] [-e] [-nor] [-h] DESCRIPTION
The vos restore command converts a volume dump file previously created with the vos dump command from ASCII into the volume format appropriate for the machine type indicated by the -server argument, and restores it as a read/write volume to the partition named by the -partition argument on that machine. The Volume Server assigns the volume name indicated with the -name argument, and resets the volume's creation timestamp to the time at which the restore operation begins (the creation timestamp is stored in the volume header and reported in the "Creation" field in the output from the vos examine and vos listvol commands.) Use the -file argument to name the dump file, or omit the argument to provide the file via the standard input stream, presumably through a pipe. The pipe can be named, which enables interoperation with third-party backup utilities. As described in the following list, the command can create a completely new volume or overwrite an existing volume. In all cases, the full dump of the volume must be restored before any incremental dumps. If there are multiple incremental dump files, they must be restored in the order they were created. o To create a new read/write volume, use the -name argument to specify a volume name that does not already exist in the Volume Location Database (VLDB), and the -server and -partition arguments to specify the new volume's site. It is best to omit the -id argument so that the Volume Location (VL) Server allocates a volume ID automatically. Do not include the -overwrite argument, because there is no existing volume to overwrite. o To overwrite an existing volume at its current site, specify its name and site with the -name, -server, and -partition arguments. The volume retains its current volume ID number unless the -id argument is provided. Specify the value "f" or "i" for the -overwrite argument to indicate whether the dump file is full or incremental, respectively. o To overwrite an existing volume and move it to a new site, specify its name and the new site with the -name, -server, and -partition arguments. The volume retains its current volume ID number unless the -id argument is provided. The volume is removed from its original site. Specify the value "f" for the -overwrite argument to indicate that the dump file is a full dump (it is not possible to restore an incremental dump and move the volume at the same time). If the volume named by the -name argument already exists and the -overwrite argument is omitted, the command interpreter produces the following prompt: Do you want to do a full/incremental restore or abort? [fia](a): Respond by entering one of the following values: o "f" if restoring a full dump file o "i" if restoring an incremental dump file o "a" or Return to cancel the restore operation CAUTIONS
If the -file argument is omitted, the issuer must provide all other necessary arguments, because the standard input stream is unavailable for responding to the command interpreter's prompts for missing information. In particular, the issuer must provide the -overwrite argument if overwriting an existing volume. OPTIONS
-server <server name> Identifies the file server machine onto which to restore the volume. Provide the machine's IP address or its host name (either fully qualified or using an unambiguous abbreviation). For details, see vos(1). -partition <partition name> Identifies the partition (on the file server machine specified by the -server argument) onto which to restore the volume. Provide the partition's complete name with preceding slash (for example, /vicepa) or use one of the three acceptable abbreviated forms. For details, see vos(1). -name <name of volume> Specifies the name under which to restore the volume. It can be up to 22 characters long, but cannot end with a ".readonly" or ".backup" extension. If the volume already exists, it is overwritten subject to the value of the -overwrite argument. -file <dump file> Names the dump file to restore. Incomplete pathnames are interpreted relative to the current working directory. Omit this argument to provide the dump file via the standard input stream. -id <volume ID> Specifies the volume ID number to assign to the restored volume. -overwrite (a | f | i) Specifies which type of dump file is being restored when overwriting an existing volume. Provide one of the following values: o "a" to terminate the restore operation. o "f" if restoring a full dump file. o "i" if restoring an incremental dump file. This value is not acceptable if the -server and -partition arguments do not indicate the volume's current site. This argument is mandatory if the -file argument is not provided. -offline Leaves the new volume flagged as off-line in the volume database. -readonly Flags the new volume as read-only in the volume database. -creation <dump | keep | new> Set the creation date of the new volume to the timestamp from the dumped volume (dump), from the target volume, if there is one (keep), or generate a new one using the current time (new). -lastupdate <dump | keep | new> Set the last updated date of the new volume to the timestamp from the dumped volume (dump), from the target volume, if there is one (keep), or generate a new one using the current time (new). -nodelete This option is available in OpenAFS clients 1.4.7 or later and 1.5.31 or later. This option can be used with OpenAFS server versions 1.4.1 or later and 1.5.0 or later. -cell <cell name> Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see vos(1). -noauth Assigns the unprivileged identity "anonymous" to the issuer. Do not combine this flag with the -localauth flag. For more details, see vos(1). -localauth Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The vos command interpreter presents it to the Volume Server and Volume Location Server during mutual authentication. Do not combine this flag with the -cell argument or -noauth flag. For more details, see vos(1). -verbose Produces on the standard output stream a detailed trace of the command's execution. If this argument is omitted, only warnings and error messages appear. -encrypt Encrypts the command so that the operation's results are not transmitted across the network in clear text. This option is available in OpenAFS versions 1.4.11 or later and 1.5.60 or later. -noresolve Shows all servers as IP addresses instead of the DNS name. This is very useful when the server address is registered as 127.0.0.1 or when dealing with multi-homed servers. This option is available in OpenAFS versions 1.4.8 or later and 1.5.35 or later. -help Prints the online help for this command. All other valid options are ignored. EXAMPLES
The following command restores the contents of the dump file /afs/abc.com/common/dumps/terry.dump to the /vicepc partition on the file server machine "fs3.abc.com". The restored volume is named "user.terry". % cd /afs/abc.com/common/dumps % vos restore -file terry.dump -server fs3.abc.com -partition c -name user.terry PRIVILEGE REQUIRED
The issuer must be listed in the /etc/openafs/server/UserList file on the machine specified with the -server argument and on each database server machine. If the -localauth flag is included, the issuer must instead be logged on to a server machine as the local superuser "root". SEE ALSO
restorevol(1), vos(1), vos_dump(1), vos_examine(1), vos_listvol(1) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 VOS_RESTORE(1)
All times are GMT -4. The time now is 12:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy