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: SUMMARY: AdvFS file sets left over on a removed volume? Date: Wed, 14 Aug 2002 08:15:42 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <00b401c24394$b1b2a190$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 1029332069 15843 127.0.0.1 (14 Aug 2002 13:34:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 14 Aug 2002 13:34:29 +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 17eyI6-00047P-00 for ; Wed, 14 Aug 2002 15:34:26 +0200 Original-Received: (qmail 21028 invoked by uid 5); 14 Aug 2002 13:15:17 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 21020 invoked from network); 14 Aug 2002 13:15:17 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 14 Aug 2002 13:15:17 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H0U00K1L4TFLY@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-unix-managers@ornl.gov) ; Wed, 14 Aug 2002 09:15:17 -0400 (EDT) Original-Received: from fnal.gov (heffalump.fnal.gov [131.225.9.20]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H0U00BN44T9QG@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-unix-managers@ornl.gov) ; Wed, 14 Aug 2002 09:15:10 -0400 (EDT) Original-Received: from d0nt36 ([131.225.225.102]) by smtp.fnal.gov (PMDF V6.0-24 #37519) with SMTP id <0H0U00E134T9EW@smtp.fnal.gov> for Tru64-unix-managers@ornl.gov; Wed, 14 Aug 2002 08:15:09 -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:1350 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1350 Not too many responses, a total of three. One from Pat O'Brien, suggested I run "quotacheck" but since this is volume is mounted on a cluster, that doesn't apply. According to Harald.Knipp@bfa.de this isn't a flaw, it's a feature. The data isn't deleted from a removed volume to allow you to move the "rmvol" disk to a new machine and recreate the file sets manually on that machine, (create the link in /etc/fdmns or use advscan). He pointed to the sections on restoring AdvFS domains in the AdvFS Admin guide "For a deeper insight". Since this wasn't what I was trying to accomplish, I didn't check out that section in depth. I can see how this could be useful, but an indication that the data does remain on the removed volume, in the section on using "rmvol" could be useful. Also, to alan@nabeth.cxo.cpqcorp.net: I did create a new domain on the disk using the "mkfdmn" command. The disk was removed from the domain "ora_domain" and I created "buf031_dmn" on that disk, and a new file set "buf03". However the old file sets from the "ora_domain" still exists in the new "buf031_dmn", along with the new file set I created. So apparently the "mkfdmn" does NOT make the history of the previous file sets disappear, as you suggested. 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. ----- Original Question ----- > 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. > > >