SUMMARY: AdvFS: strange behavior -- can't rmvol

From: Cohen, Andy (Andy.Cohen@cognex.com)
Date: Tue Dec 13 2005 - 13:39:57 EST


        Thanks to Tom Smith for the following:

Try "showfsets disk04". My guess is that you will find that it has a
fileset named "SAN_DISK" in addition to a fileset named "u04".
If so, you will first have to either mount disk04#SAN_DISK somewhere or
delete it with "rmfset disk04 SAN_DISK"..

        And in a reply to a followup question on my part:

Of course, you will lose any data that might happen to be on
disk04#SAN_DISK. Whether there is actually anything there or, if so,
whether it is useful, I have no way of knowing.
You will not lose anything that is NOT in that fileset, if that's what
you meant.

If you are unsure, just mount it somewhere to see what's in it.

Thanks!
Andy

ORIGINAL QUESTION
=================
Hello T64 Managers,

We're experiencing some strange AdvFS behavior. We have the following
two domains (amongst others):

root@hostname==> showfdmn disk04

               Id Date Created LogPgs Version Domain
Name
3ed62617.000ca46d Thu May 29 11:24:07 2003 512 4 disk04

  Vol 512-Blks Free % Used Cmode Rblks Wblks Vol Name
   1L 14314608 10016832 30% on 256 256
/dev/disk/dsk14a
   2 13999312 9611776 31% on 256 256
/dev/disk/dsk14b
   3 14251552 9858144 31% on 256 256
/dev/disk/dsk14d
   4 14251552 9852384 31% on 256 256
/dev/disk/dsk14e
   5 14314928 9991776 30% on 256 256
/dev/disk/dsk14f
   6 14314608 10045936 30% on 256 256
/dev/disk/dsk16a
  12 14314608 9967936 30% on 256 256
/dev/disk/dsk15a
  13 14251552 9870688 31% on 256 256
/dev/disk/dsk15b
  14 14251552 9958336 30% on 256 256
/dev/disk/dsk15d
  15 14251552 9776544 31% on 256 256
/dev/disk/dsk15e
  16 14062688 9796160 30% on 256 256
/dev/disk/dsk15f
      ---------- ---------- ------
       156578512 108746512 31%

root@hostname==> showfdmn SAN_DISK

               Id Date Created LogPgs Version Domain
Name
42e5385c.00062f30 Mon Jul 25 15:07:08 2005 512 4 SAN_DISK

  Vol 512-Blks Free % Used Cmode Rblks Wblks Vol Name
   1L 629145600 91855600 85% on 256 256
/dev/disk/dsk19

root@hostname==> df -k
Filesystem 1024-blocks Used
Available Capacity Mounted on
disk04#u04 78289256 23897448
54373256 31% /disk04
SAN_DISK#disk04_SAN 314572800 132958216
45927800 75% /disk04_SAN
{other file information left out}

When we issue a:

root@hostname==> rmvol /dev/disk/dsk14b disk04

we get:

rmvol: Removing volume '/dev/disk/dsk14b' from domain 'disk04'
rmvol: File set not mounted
rmvol: Domain name: disk04, file set name: SAN_DISK
rmvol: Can't remove volume '/dev/disk/dsk14b' from domain 'disk04'

I don't understand why it's generating this error. There is no fileset
called SAN_DISK. Domain disk04 has a fileset of u04. There is a
fileset (disk04_SAN) that has the string 'disk04' in it but that's for a
differen domain (SAN_DISK).

I've tried unmount'ing disk04_SAN and then rmvol'ing dsk14b but I get
the same message.

Thanks!!!
Andy

Any thoughts?

Thanks!!
Andy



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:27 EDT