From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Heiko Schroeder Newsgroups: gmane.os.tru64.managers Subject: rmvol ends up moving metadata over and over again Date: Mon, 03 May 2004 08:14:16 +0200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <20040503061416.GA424048@physcip.uni-stuttgart.de> Reply-To: CIP-Service NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083564916 22192 80.91.224.253 (3 May 2004 06:15:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 May 2004 06:15:16 +0000 (UTC) Cc: CIP-Service Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon May 03 08:15:06 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 1BKWjJ-0006z6-00 for ; Mon, 03 May 2004 08:15:06 +0200 Original-Received: (qmail 4451 invoked by uid 5); 3 May 2004 06:14:48 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 4436 invoked by uid 49501); 3 May 2004 06:14:48 -0000 Original-Received: from heiko@physcip.uni-stuttgart.de by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.119):SA:0(-4.9/5.0):. Processed in 1.050262 secs); 03 May 2004 06:14:48 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 3 May 2004 06:14:47 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HX400DFAK0LZU@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 03 May 2004 02:14:46 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0HX400G02JZWFP@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 03 May 2004 02:14:21 -0400 (EDT) Original-Received: from medousa.rus.uni-stuttgart.de (medousa.rus.uni-stuttgart.de [129.69.2.58]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HX400EDEJZVXA@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 03 May 2004 02:14:20 -0400 (EDT) Original-Received: from localhost (localhost [127.0.0.1]) by medousa.rus.uni-stuttgart.de (Postfix) with ESMTP id C196C7D4EA for ; Mon, 03 May 2004 08:14:18 +0200 (CEST) Original-Received: from medousa.rus.uni-stuttgart.de ([127.0.0.1]) by localhost (medousa [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23439-01-95 for ; Mon, 03 May 2004 08:14:17 +0200 (CEST) Original-Received: from lilapause.physcip.uni-stuttgart.de (lilapause.physcip.uni-stuttgart.de [129.69.74.65]) by medousa.rus.uni-stuttgart.de (Postfix) with ESMTP id BEA797D4E8 for ; Mon, 03 May 2004 08:14:17 +0200 (CEST) Original-Received: by lilapause.physcip.uni-stuttgart.de (Postfix, from userid 534) id 01E98901; Mon, 03 May 2004 08:14:16 +0200 (MEST) Original-To: tru64-unix-managers@ornl.gov Content-Disposition: inline User-Agent: Mutt/1.4i X-Virus-Scanned: by amavisd-new at medousa.rus.uni-stuttgart.de Xref: main.gmane.org gmane.os.tru64.managers:6888 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6888 Hi, managers! We recently tried to remove some harddiscs from our AdvFS file domain using rmvol. We tried it several times without success. At first it moves files and some metadata, then it moves the metadata of many files but at the end, it moves only the metadata of a few files over and over. At the end, the log goes as follows: [...] rmvol: Moving file metadata file name: /var/adm/ris/ris0.alpha/product_2/instctrl/DPODOC560.scp rmvol: Moving file metadata file name: /var/adm/ris/ris0.alpha/product_2/instctrl/DPOMAN560.scp rmvol: Moving file metadata file name: /var/adm/ris/ris0.alpha/product_2/instctrl/DPORTL560.scp rmvol: Moving file metadata file name: /var/adm/ris/ris0.alpha/product_1/usr/sbin/audit_tool.ultrix rmvol: Moving file metadata file name: /var/adm/ris/ris0.alpha/product_2/DPOBASE560 rmvol: Moving file metadata file name: /var/adm/ris/ris0.alpha/product_2/DPORTL560 rmvol: Moving file metadata file name: /var/adm/ris/ris0.alpha/product_2/instctrl/DPOBASE560.scp rmvol: Moving file metadata file name: /var/adm/ris/ris0.alpha/product_2/instctrl/DPODOC560.scp rmvol: Moving file metadata file name: /var/adm/ris/ris0.alpha/product_2/instctrl/DPOMAN560.scp rmvol: Moving file metadata file name: /var/adm/ris/ris0.alpha/product_2/instctrl/DPORTL560.scp rmvol: Moving file metadata file name: /var/adm/ris/ris0.alpha/product_1/usr/sbin/audit_tool.ultrix rmvol: Moving file metadata file name: /var/adm/ris/ris0.alpha/product_2/DPOBASE560 rmvol: Moving file metadata file name: /var/adm/ris/ris0.alpha/product_2/DPORTL560 rmvol: Moving file metadata file name: /var/adm/ris/ris0.alpha/product_2/instctrl/DPOBASE560.scp [...] and so on repeating the same block of text all the time. showfdmn tells us the following: Id Date Created LogPgs Version Domain Name 408a4ca2.00098611 Sat Apr 24 13:16:50 2004 512 4 ext_misc Vol 512-Blks Free % Used Cmode Rblks Wblks Vol Name 1L 5924496 5909136 0% on 256 256 /dev/disk/dsk4a 2 5924496 4222432 29% on 256 256 /dev/disk/dsk4b 3 5924496 3635904 39% on 256 256 /dev/disk/dsk4d ---------- ---------- ------ 17773488 13767472 23% We tried to remove /dev/disk/dsk4a. You may notice that the domain consists of partitions of only one physical volume. This was for testing purposes but we encountered the described problem in the same way when doing rmvol on domains consisting of several drives. We did an extensive web search hoping someone else had encountered (and solved) this problem before but couldn't find anything useful. Finally, you may be interested in our configuration. We did the rmvol on a digital Personal Workstation 500au with Tru64 Unix V 5.1B and uname -a says OSF1 XXXXXXXXXXXXXXXXXXX V5.1 2650 alpha The machine has 640 MB Ram and a qlogic SCSI controller. The harddiscs are connected through external UltraWide SCSI and are arranged in a StorageWorks block. If you have a tip for us, we would be glad to hear from you. With best regards, Sven Hoeckel, Clemens Waechter, Heiko Schroeder. cip-service@physcip.uni-stuttgart.de