rmvol hangs

From: Cohen, Andy (Andy.Cohen_at_cognex.com)
Date: 07/15/04

  • Next message: Copeland KCK, Rich: "SUMMARY: Duplicating a tape"
    Date: Thu, 15 Jul 2004 14:00:32 -0400
    To: "Tru64-Unix-Managers (E-mail)" <tru64-unix-managers@ornl.gov>
    
    

    Hi,

    I'm trying to remove a volume from an AdvFS domain and having problems.

    Here is the domain:

    root@thor==> showfdmn -k home_domain

                  Id Date Created LogPgs Version Domain Name
    3d0e2d5a.0007c3dd Mon Jun 17 14:41:30 2002 512 4 home_domain

     Vol 1K-Blks Free % Used Cmode Rblks Wblks Vol Name
      1L 835760 710560 15% on 256 256 /dev/disk/dsk12a
      2 839472 735432 12% on 256 256 /dev/disk/dsk12b
      3 839472 722672 14% on 256 256 /dev/disk/dsk12d
      4 839472 724952 14% on 256 256 /dev/disk/dsk12e
      5 835840 721952 14% on 256 256 /dev/disk/dsk12f
      6 3548920 3142696 11% on 256 256 /dev/disk/dsk13b
      7 7125776 7109096 0% on 256 256 /dev/disk/dsk15b <===
      8 3567800 3239152 9% on 256 256 /dev/disk/dsk13a
      9 3548920 3216272 9% on 256 256 /dev/disk/dsk13d
     10 3548920 3202840 10% on 256 256 /dev/disk/dsk13e
     11 3567968 3146144 12% on 256 256 /dev/disk/dsk13f
         ---------- ---------- ------
           29098320 26671768 8%

    I want to remove /dev/disk/dsk15b. When I issue

            rmvol /dev/disk/dsk15b home_domain

    it just hangs. top shows rmvol getting about 10% of the cpu for a couple of minutes then it jumps up to 99% of the cpu until I interrupt it with ctrl-c (there is nothing else currently running on this box). I've tried balancing and defragmenting the domain as well as rebooting the box all to no avail.

    We're running 5.1A PK2 (I think it's PK2) on a 4100.

    Searching the archives has only turned up methods for removing this volume from the domain manually by removing the appropriate links in /etc/fdmns. However, I'm reluctant to do that because there may still be unmoved data stored there -- looks like about 16 mb.

    Thank you!

    Andy Cohen
    Database Systems Administrator
    Cognex Corporation
    1 Vision Drive
    Natick, MA 01760


  • Next message: Copeland KCK, Rich: "SUMMARY: Duplicating a tape"