flarcreate fails

I'm having a hell of a time trying to get an archive built. I've done it a million times before but on this box (fujitsu primepower 250R w/ Solaris 9) it keeps bombing.

command:

flarcreate -n "FJ9" -x /Backups -x /PatchAdmin -x /jumpstart -R / /jumpstart/FJ9.flar

output:

Full Flash

Checking integrity...

Integrity OK.

Running precreation scripts...

Precreation scripts done.

Determining the size of the archive...

/usr/sbin/flarcreate[152]: /tmp/cpout.11133: file already exists

ERROR: CPIO error during archive creation.

The archive will be approximately 0.54KB.

Creating the archive...

/usr/sbin/flarcreate[1080]: /jumpstart/FJ9.flar: file already exists

It does this everytime, even if I delete the "FJ9.flar" file. Plus, I end up with a bunch of files like this in /tmp:

flash.predeployment.11052.cpio*

flash.predeployment.11133.cpio*

flash.predeployment.11208.cpio*

Any ideas? Already have latest pathces including 113434-24.

[1351 byte] By [gumbico] at [2007-11-25 22:33:09]
# 1

Got the solution from Sun TSE:

edit /usr/sbin/flarcreate by adding the following line "set +o noclobber":

#!/bin/ksh

#

# ident "@(#)flarcreate.sh1.24 05/05/05 SMI"

#

# Copyright 2005 Sun Microsystems, Inc. All rights reserved.

# Use is subject to license terms.

#

set +o noclobber

########################################

# #

# flarcreate -- Create a Flash Archive #

# #

########################################

I had this problem on my Sun and Fujitsu (with both Solaris 8 and 9 at the latest patch revs)boxes and this fixed them all.

gumbico at 2007-7-5 2:48:42 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...