From owner-freebsd-questions Mon Jul 15 14:18: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDAA237B405 for ; Mon, 15 Jul 2002 14:17:50 -0700 (PDT) Received: from smtp2.mellon.com (smtp2.mellon.com [206.150.228.55]) by mx1.FreeBSD.org (Postfix) with SMTP id 167D543E64 for ; Mon, 15 Jul 2002 14:17:50 -0700 (PDT) (envelope-from boyd.jh@mellon.com) Received: (qmail 8376 invoked by alias); 15 Jul 2002 21:18:29 -0000 Message-ID: <20020715211829.8373.qmail@mellon.com> From: Boyd James H To: "'freebsd-questions@FreeBSD.org'" Subject: Dump appears to ignore the nodump flag Date: Mon, 15 Jul 2002 17:17:52 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C22C45.145AB650" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C22C45.145AB650 Content-Type: text/plain; charset="iso-8859-1" We are running BSD version 4.4 and it appears that the dump utility ignores the nodump flag and backs up the hierarchy below the directory flagged as nodump. In the example below, the structure below env1 is included in the dump. Are we doing something incorrect? Thanks. dump -0uan -f - /usr |gzip |rsh oos0a dd of=/raid1/backup/kws5a/full/usr_0 kws5a(43) pwd /usr kws5a ls -lo total 43 drwxr-xr-x 11 root wheel - 512 Feb 20 14:50 X11R6 drwxr-xr-x 2 root wheel - 6656 Feb 20 15:00 bin drwxr-xr-x 2 root wheel - 512 Feb 20 09:41 compat drwxr-x--- 2 root wheel - 512 Apr 29 10:47 crash drwxr-xr-x 12 lbxprod lbxprod nodump 512 Feb 25 12:28 env1 drwxr-xr-x 12 lbxtest2 lbxtest2 - 512 Feb 25 14:47 env2 drwxr-xr-x 12 lbxtest4 lbxtest4 - 512 Feb 27 10:33 env4 kws5a# cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw,noatime 1 1 /dev/ad0s1f /usr ufs rw,noatime 2 2 /dev/ad0s1e /var ufs rw,noatime 2 0 proc /proc procfs rw 0 0 opshome:/usr/opshome /usr/opshome nfs rw,tcp 0 0 kws5a# cat /etc/dumpdates /dev/ad0s1a 0 Mon Jul 15 16:28:42 2002 /dev/ad0s1f 0 Mon Jul 15 17:05:07 2002 /dev/ad0s1e 0 Mon Jul 15 16:33:15 2002 ***************************************************************** DISCLAIMER: The information contained in this e-mail may be confidential and is intended solely for the use of the named addressee. Access, copying or re-use of the e-mail or any information contained therein by any other person is not authorized. If you are not the intended recipient please notify us immediately by returning the e-mail to the originator. ------_=_NextPart_001_01C22C45.145AB650 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dump appears to ignore the nodump flag

We are = running BSD version 4.4 and it appears that the dump utility = ignores the = nodump flag and backs up the hierarchy below the directory flagged as = nodump. 

In the = example below, the structure below env1 is included in the = dump.  Are we doing something incorrect?

Thanks.

dump = -0uan -f - /usr |gzip |rsh oos0a dd = of=3D/raid1/backup/kws5a/full/usr_0


kws5a(43) pwd

/usr

kws5a = ls -lo

total = 43

drwxr-xr-x   11 = root      wheel     = -       512 Feb 20 14:50 X11R6

drwxr-xr-x    2 = root      wheel     = -      6656 Feb 20 15:00 bin

drwxr-xr-x    2 = root      wheel     = -       512 Feb 20 09:41 = compat

drwxr-x---    2 = root      wheel     = -       512 Apr 29 10:47 crash

drwxr-xr-x   12 lbxprod   = lbxprod   nodump  512 Feb 25 12:28 env1

drwxr-xr-x   12 lbxtest2  lbxtest2  = -       512 Feb 25 14:47 env2

drwxr-xr-x   12 lbxtest4  lbxtest4  = -       512 Feb 27 10:33 env4



kws5a# = cat /etc/fstab

# = Device           =      Mountpoint      = FStype  Options         = Dump    Pass#

/dev/ad0s1b       &nbs= p;     = none            = swap    = sw           &nbs= p;  0       0

/dev/ad0s1a       &nbs= p;     = /            = ;   ufs     = rw,noatime      = 1       1

/dev/ad0s1f       &nbs= p;     = /usr            = ufs     rw,noatime      = 2       2

/dev/ad0s1e       &nbs= p;     = /var            = ufs     rw,noatime      = 2       0

proc         = ;           = /proc           = procfs  = rw           &nbs= p;  0       0

opshome:/usr/opshome    = /usr/opshome    nfs     = rw,tcp          = 0       0

kws5a# = cat /etc/dumpdates

/dev/ad0s1a       &nbs= p;           &nbs= p;  0 Mon Jul 15 16:28:42 2002

/dev/ad0s1f       &nbs= p;           &nbs= p;  0 Mon Jul 15 17:05:07 2002

/dev/ad0s1e       &nbs= p;           &nbs= p;  0 Mon Jul 15 16:33:15 2002

*********************************************************= ********           = DISCLAIMER:   The information contained in this e-mail may be = confidential and is intended solely for the use of the named = addressee.  Access, copying or re-use of the e-mail or any = information contained therein by any other person is not = authorized.  If you are not the intended recipient please notify = us immediately by returning the e-mail to the = originator.   

------_=_NextPart_001_01C22C45.145AB650-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message