info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Anomally in backing up repository using tar


From: Christopher.Fouts
Subject: RE: Anomally in backing up repository using tar
Date: Tue, 23 Nov 2004 10:41:03 -0500


>-----Original Message-----
>From: address@hidden 
>[mailto:address@hidden On Behalf Of Todd Denniston
>Sent: Tuesday, November 23, 2004 10:34 AM
>To: Fouts Christopher (IFNA MP DC)
>Cc: address@hidden
>Subject: Re: Anomally in backing up repository using tar
>
>
>address@hidden wrote:
>> 
>> I have a cron job that runs every 11:00pm that tars
>> the whole cvsroot tree
>>         > tar -czv /path/cvsroot.tar /cvsroot
>> It runs but I have an anomally in my tar files. 8/10
>> I get a file size of around 2MB, but 2/10, I get one
>> at 450MB. I don't bother locking the repository since
>> I only have 4 users, and I KNOW that none of us are
>> using it. Any explanation to this anomally from CVS's
>> point of view?
>
>tar -tzvf /path/cvsroot.tar 
>and look for the realy big file, or the one you did not expect.
>
>if df /cvsroot |tail -1 |awk '{print $1}'| grep \:\/ > 
>/dev/null 2>&1 ;  then echo "nfs"; else  echo "not nfs"; fi If 
>/cvsroot is on nfs, let us know.
>
>-- 
>Todd Denniston
>Crane Division, Naval Surface Warfare Center (NSWC Crane) 
>Harnessing the Power of Technology for the Warfighter
>

Thanks. The /cvsroot (repository) is NOT NFS mounted. However,
the location of the tar file is. IOW, in my example, /path is
NFS mounted.

-chris




reply via email to

[Prev in Thread] Current Thread [Next in Thread]