rmvol ends up moving metadata over and over again

From: Heiko Schroeder (heiko@physcip.uni-stuttgart.de)
Date: Mon May 03 2004 - 02:14:16 EDT


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



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:58 EDT