From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jim Fitzmaurice Newsgroups: gmane.os.tru64.managers Subject: AdvFS file sets left over on a removed volume? Date: Tue, 13 Aug 2002 16:02:53 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <03d301c2430c$ca4938a0$66e1e183@fnal.gov> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1029272494 14538 127.0.0.1 (13 Aug 2002 21:01:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 13 Aug 2002 21:01:34 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 17einE-0003mN-00 for ; Tue, 13 Aug 2002 23:01:33 +0200 Original-Received: (qmail 28782 invoked by uid 5); 13 Aug 2002 21:02:23 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 28774 invoked from network); 13 Aug 2002 21:02:23 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 13 Aug 2002 21:02:23 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H0S00M9XVRX71@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-unix-managers@ornl.gov) ; Tue, 13 Aug 2002 17:02:23 -0400 (EDT) Original-Received: from fnal.gov (heffalump.fnal.gov [131.225.9.20]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H0S006I5VRWDN@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-unix-managers@ornl.gov) ; Tue, 13 Aug 2002 17:02:20 -0400 (EDT) Original-Received: from d0nt36 ([131.225.225.102]) by smtp.fnal.gov (PMDF V6.0-24 #37519) with SMTP id <0H0S00JAUVRWUC@smtp.fnal.gov> for Tru64-unix-managers@ornl.gov; Tue, 13 Aug 2002 16:02:20 -0500 (CDT) Original-To: Tru64 -unix -managers X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-Priority: 3 X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:1341 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1341 Hello managers, I recently got an email from one of my users who noticed something unusual: Filesystem 1024-blocks Used Available Capacity Mounted on buf031_dmn#buf031 71687368 80 29878632 1% /buffer/buf031 The numbers don't add up. I know these are AdvFS and they don't have to add up, but the fset buf031 is suppose to be the only file set on the disk. I checked showfdmn: > showfdmn -k buf031_dmn Id Date Created LogPgs Version Domain Name 3be6c9a6.0302b8ac Mon Nov 5 11:17:26 2001 512 4 buf031_dmn Vol 1K-Blks Free % Used Cmode Rblks Wblks Vol Name 1L 71687368 29878632 58% on 256 256 /dev/disk/dsk29c And it does show that 58% of this, currently empty, buffer disk appears to be full! So I ran showfsets and got this: > showfsets -k buf031_dmn buf031 Id : 3be6c9a6.0302b8ac.1.8001 Files : 7, SLim= 0, HLim= 0 Blocks (1k) : 80, SLim= 0, HLim= 0 Quota Status : user=off group=off ora1 Id : 3be6c9a6.0302b8ac.2.8001 Files : 0, SLim= 0, HLim= 0 Blocks (1k) : 0, SLim= 0, HLim= 0 Quota Status : user=off group=off dbs1 Id : 3be6c9a6.0302b8ac.3.8001 Files : 0, SLim= 0, HLim= 0 Blocks (1k) : 0, SLim= 0, HLim= 0 Quota Status : user=off group=off dbs2 Id : 3be6c9a6.0302b8ac.4.8001 Files : 0, SLim= 0, HLim= 0 Blocks (1k) : 0, SLim= 0, HLim= 0 Quota Status : user=off group=off dbs3 Id : 3be6c9a6.0302b8ac.5.8001 Files : 0, SLim= 0, HLim= 0 Blocks (1k) : 0, SLim= 0, HLim= 0 Quota Status : user=off group=off dbs4 Id : 3be6c9a6.0302b8ac.6.8001 Files : 0, SLim= 0, HLim= 0 Blocks (1k) : 0, SLim= 0, HLim= 0 Quota Status : user=off group=off dbs5 Id : 3be6c9a6.0302b8ac.7.8001 Files : 0, SLim= 0, HLim= 0 Blocks (1k) : 0, SLim= 0, HLim= 0 Quota Status : user=off group=off dbbackup Id : 3be6c9a6.0302b8ac.8.8001 Files : 0, SLim= 0, HLim= 0 Blocks (1k) : 0, SLim= 0, HLim= 0 Quota Status : user=off group=off Now this is a JBOD disk that was borrowed very briefly to hold an oracle database while we ordered new disks for our RAID device. The AdvFS was then migrated to the RAID device by doing and "addvol" on the new RAID device. Then when the "addvol" completed we did a "rmvol" of this device. It appears the device retained the old fileset info after it was removed from the AdvFS. I have a few questions, mostly for discussion purposes. First: Is it normal for a disk removed from a AdvFS with the "rmvol" command to retain file set info from the AdvFS it was removed from? If this is normal, why? Second: Now all the data was migrated to the RAID disk when we did the "rmvol", so what is 58% of the disk being used for? And third: I believe removing these file sets will give me back the 58% of my buffer disk. How can I be sure? James Fitzmaurice D0 Online Systems Manager Fermi National Accelerator Laboratory (630) 840-4011 jpfitz@fnal.gov UNIX is very user friendly, It's just very particular about who it makes friends with.