From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Farmer, John" Newsgroups: gmane.os.tru64.managers Subject: Summary: Inaccurate copy of filesystem using vdump. Date: Fri, 19 Mar 2004 12:40:50 -0600 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3839BD9BA5F5784996D32940839BA4BE3A44C7@ussexch02.thcg.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1079721690 1436 80.91.224.253 (19 Mar 2004 18:41:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 Mar 2004 18:41:30 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Mar 19 19:41:19 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1B4Ovm-0000nU-00 for ; Fri, 19 Mar 2004 19:41:19 +0100 Original-Received: (qmail 30347 invoked by uid 5); 19 Mar 2004 18:41:06 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 30332 invoked by uid 49493); 19 Mar 2004 18:41:05 -0000 Original-Received: from john.farmer@tycohealthcare.com by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-0.5/5.0):. Processed in 0.930503 secs); 19 Mar 2004 18:41:05 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 19 Mar 2004 18:41:04 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X20 #30899) with ESMTP id <0HUU00K4C6K9E3@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 19 Mar 2004 13:41:04 -0500 (EST) Original-Received: from nasmtp02.thcg.net (mail02.tycohealthcare.com [146.214.100.42]) by emroute2.cind.ornl.gov (PMDF V6.2-X20 #30899) with ESMTP id <0HUU00IG66K61I@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 19 Mar 2004 13:40:55 -0500 (EST) Original-Received: by nasmtp02.global1.mkg.com with Internet Mail Service (5.5.2657.72) id ; Fri, 19 Mar 2004 12:40:11 -0600 Content-return: allowed Original-To: "'tru64-unix-managers@ornl.gov'" X-Mailer: Internet Mail Service (5.5.2657.72) Xref: main.gmane.org gmane.os.tru64.managers:6656 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6656 This summary is prepared from a query that was original submitted to tru64-managers back on Feb 24th. Thanks to those who replied. As usual Dr. Blinn was a great help and offered some suggestions of things to try. The systems running 5.1B (which were test not production) were unpatched. I had reviewed the aggregate patch kit and did not locate any references to a repair to vdump. However, as part of due diligence I applied the entire patch kit and the problem went away. Although not listed as a repair to vdump something in patch kit 3 resolved the inaccurate vdump/vrestore problem. Dr. Blinn recalled mention of a vdump problem that was introduced in an earlier patch kit and then repaired in a later kit. In my case there were no patches installed to begin with. The system had existed as a full install (all mandatory and all optional components) from the 5.1B cd. Additionally, I would like to note that the file command can be used as an additional check that this problem is being encountered: > # file /mnt/stage/disk.label {Source file} > /mnt/stage/disk.label: commands text > # file /usr6/stage/disk.label {Destination file} > /usr6/stage/disk.label: data or International Language text John Farmer -----Original Message----- From: Farmer, John Sent: Tuesday, February 24, 2004 12:23 PM To: 'tru64-unix-managers@ornl.gov' Subject: Inaccurate copy of filesystem using vdump. AlphaServer 4100 running 5.1B (far end of NFS mount) ( mount -t cdfs -o nodefperm,noversion,rrip /dev/disk/cdrom0c /mnt) AlphaServer GS60E running 5.1B (near end of nfs mount. i.e. the nfs client) (mount -t nfs /mnt@ussc38.ussurg.com /mnt2) I am attempting to copy a remotely mounted cdrom using vdump in the manner described in the man pages for vdump. I have done this many times before without incident so I am really unclear regarding what happened this round. A file named disk.label on the target side of the copy does not accurately match the file on the source side of the copy. (see below). The copy contains only nulls. # mount -t nfs /mnt@ussc38.ussurg.com /mnt2 # vdump -0 -u -f - /mnt2 | (cd /install2 ; vrestore -x -f -) path : /mnt2 dev/fset : /mnt@ussc38.ussurg.com type : nfsv3 vdump: Date of last level 0 dump: the start of the epoch vdump: Dumping directories vrestore: Date of the vdump save-set: Tue Feb 24 11:32:17 2004 vrestore: Save-set source directory : /mnt2 vrestore: Target directory : /install2 vdump: Dumping 489381888 bytes, 1417 directories, 2414 files vdump: Dumping regular files vdump: Status at Tue Feb 24 11:33:00 2004 vdump: Dumped 489918690 of 489381888 bytes; 100.1% completed vdump: Dumped 1417 of 1417 directories; 100.0% completed vdump: Dumped 2414 of 2414 files; 100.0% completed vdump: Dump completed at Tue Feb 24 11:33:00 2004 # cat /mnt2/stage/disk.label [General] Label=Tru64 8.1.7 Number=1 Size`0.0 ReservedSize0.0 # cat /install2/stage/disk.label # exit Script done, file is /usr/users/JFarmer/mntcopy.log Any help would be appreciated. I was able to successfully copy the files by issuing cp -pR but really need to know why the above failed. John