tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* No TAR soln so far
@ 2001-06-23  5:37 Computer Services Directorate
  0 siblings, 0 replies; 2+ messages in thread
From: Computer Services Directorate @ 2001-06-23  5:37 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------=_NextPart_000_00EB_01C0FBBF.CDF9CF40", Size: 1687 bytes --]

This is a multi-part message in MIME format.

------=_NextPart_000_00EB_01C0FBBF.CDF9CF40
Content-Type: text/plain;
	charset="windows-1256"
Content-Transfer-Encoding: quoted-printable

Thanks for the prompt response on the TAR issue.

However, I did fail to mention one thing. Following the "find" =
statements to create the list of "u01", "u02", etc. F/s, I=20
am using the "grep -v" to remove certain sub-directories from being =
backed up. How can I achieve this by using a mere "tar cv /u01 /u02 /u03 =
..."? i.e. how do I backup all these directories but also ensure that =
certain sub-dirs within some of these dirs are not backed up?


Harihar K




------=_NextPart_000_00EB_01C0FBBF.CDF9CF40
Content-Type: text/html;
	charset="windows-1256"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dwindows-1256" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Thanks for the prompt response on the =
TAR=20
issue.<BR><BR>However, I did fail to mention one thing. Following the =
"find"=20
statements to create the list of "u01", "u02", etc. F/s, I <BR>am using =
the=20
"grep -v" to remove certain sub-directories from being backed up. How =
can I=20
achieve this by using a mere "tar cv /u01 /u02 /u03 ..."? i.e. how do I =
backup=20
all these directories but also ensure that certain sub-dirs within some =
of these=20
dirs are not backed up?<BR><BR><BR>Harihar=20
K<BR><BR><BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_00EB_01C0FBBF.CDF9CF40--

^ permalink raw reply	[flat|nested] 2+ messages in thread
* No TAR soln so far
@ 2001-06-22  6:04 techbma () batelco ! com ! bh
  0 siblings, 0 replies; 2+ messages in thread
From: techbma () batelco ! com ! bh @ 2001-06-22  6:04 UTC (permalink / raw)
  To: tru64-unix-managers

Hi,

I had posted a problem few days ago (copy below), but have not found any convincing reply so far. An important point ment=
ioned is "if I run the same script on a non-cluster host DS10 m/c with same Unix, it works fine". Hence, the script is OK=
 and it happens only in a cluster environment. Any more suggestions please?

P.S: Unix versions on all m/cs are v5.1 with patchkit 2.

Harihar K

*************************************************************************

Have a problem with respect to tar on a TruCluster5.1.
 
We tried backup to tape using tar commond on our 2-node DS20 Cluster running Tru64 & TruCluster v5.1. Herein our script c=
reates a list of files to be backed up (these files cover 8-10 mounted RAID file systems holding Oracle 8.1.7 database fi=
les - Oracle Parallel Server being used) using the following:
find /u01 -print > /u111/logfiles/bkup.lst
find /u02 -print >> /u111/logfiles/bkup.lst
...
find /u06 -print >> /u111/logfiles/bkup.lst
find /u07 -print >> /u111/logfiles/bkup.lst
 
However, when we run this script with "tar cv </u111/logfiles/bkup.lst" to the default tape drive, it backs up files in /=
u01, and then goes back to backing up /u01 again (though the there is nothing wrong with the list of files in "bkup.lst")=
! This happens a few times before the backup process moves to /u02. As a result even before reaching /u03, it reaches the=
 end of tape. It may be noted that the cumulative files size in all these directories together do not exceed half the siz=
e of the tape. It may also be noted that if I run the same script on a non-cluster host DS10 m/c with same Unix, it works=
 fine. Hence, the problem seems to be with the Cluster set up only. Why could this happen?
 
NOTE: Also, if we use "cpio -ocvB" instead of tar in the same Cluster, backup is ok.
*************************************************************************



--------------------------------------------------------------------
Mail2Web - Check your email from the web at
http://www.mail2web.com/ .

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-06-23  5:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-23  5:37 No TAR soln so far Computer Services Directorate
  -- strict thread matches above, loose matches on Subject: below --
2001-06-22  6:04 techbma () batelco ! com ! bh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox