SUMMARY: flarcreate fails with ERROR: unable to write archive

From: Martin, Jeff <Jeff.Martin_at_tais.toshiba.com>
Date: Wed Jun 22 2011 - 17:48:36 EDT
Thanks for all the suggestions on how to address this.

In the end, I was able to get the archive created by omitting the -S and
-H options.

I really have no idea why that would cause it to fail other than it
being a live system with lots going on.

I will test exactly which one caused it.

Also noted, the -X /tmp/exclude partly worked, some files were excluded
but others were not.



-S

         Skip the disk space check and do not write archive  size

         data  to  the  archive.  Without -S, flarcreate builds a

         compressed archive in memory before writing the  archive

         to disk, to determine the size of the archive. This size

         information is written to the header of the  archive  in

         the files_archived_size field and is used during archive

         deployment on the client to ensure enough disk space  is

         available  on  the client. Use -S to skip this step. The

         result of the use of -S is a significant decrease in the

        time it takes to create an archive.



-H

         Do not generate hash identifier.



appdev03 # flarcreate -n appdev03 -a "author" -X /tmp/exclude
/tools/apd03flar

Full Flash

Checking integrity...

Integrity OK.

WARNING:  fdo: Ignoring duplicate filter entry. Choosen entry will be:
/opt/orca/var -

WARNING:  fdo: Ignoring duplicate filter entry. Choosen entry will be:
/opt/orca/var -

Running precreation scripts...

Precreation scripts done.

Determining the size of the archive...

cpio: "var/tmp/21502_00000001" ?

<snip>

cpio: "var/tmp/13950_00000001" ?

cpio: Error with fstatat() of "opt/appworx/log/RmiServer1106151040.log",
errno 2, No such file or directory

<snip for brevity>

cpio: Cannot open directory scm/harvest/database, errno 2, No such file
or directory

23658121 blocks

72 error(s)

The archive will be approximately 11.28GB.

Creating the archive...

cpio: File size of "var/log/sshd.log" has increased by 126

cpio: "var/tmp/21502_00000001" ?

<snip for brevity>

cpio: "var/tmp/13950_00000001" ?

cpio: Error with fstatat() of
"opt/home/oracle/scripts/Nagios/pending/appdev03!filesystem!_tmp!2011062
2110201!ok", errno 2, No such file or directory

cpio: Error with fstatat() of
"opt/home/oracle/scripts/Nagios/pending/appdev03!process!ora_pmon_appwor
x!20110622110201!ok", errno 2, No such file or directory



31727106 blocks

53 error(s)

Archive creation complete.



-rw-r--r--   1 nobody   nobody   16244281598 Jun 22 11:22 apd03flar









________________________________
This message may contain confidential information.  If you are not the
intended recipient of this e-mail, do not disseminate, distribute or copy this
e-mail and delete this e-mail from your system.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Jun 22 17:48:54 2011

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:18 EST