I removed a volume from a domain and now the domain has panicked:
The domain was:
root_at_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 issued:
rmvol /dev/disk/dsk15b
and removed the volume.
Now I can't do anything with /home. This message is in /var/adm/messages:
Jul 15 15:07:57 thor vmunix:
Jul 15 15:07:57 thor vmunix: bs_inherit - bmtr_get_rec failed, return code = -1043
Jul 15 15:07:57 thor vmunix: AdvFS Domain Panic; Domain home_domain Id 0x3d0e2d5a.0007c3dd
Jul 15 15:07:57 thor vmunix: An AdvFS domain panic has occurred due to either a metadata write error or an internal inconsistency. This domain is being rende
red inaccessible.
Jul 15 15:07:57 thor vmunix: Please refer to guidelines in AdvFS Guide to File System Administration regarding what steps to take to recover this domain.
in etc/fdmns/home_domain:
lrwxr-xr-x 1 root system 16 Nov 12 2002 dsk12a -> /dev/disk/dsk12a
lrwxr-xr-x 1 root system 16 Nov 12 2002 dsk12b -> /dev/disk/dsk12b
lrwxr-xr-x 1 root system 16 Nov 12 2002 dsk12d -> /dev/disk/dsk12d
lrwxr-xr-x 1 root system 16 Nov 12 2002 dsk12e -> /dev/disk/dsk12e
lrwxr-xr-x 1 root system 16 Nov 12 2002 dsk12f -> /dev/disk/dsk12f
lrwxr-xr-x 1 root system 16 Jul 14 15:20 dsk13a -> /dev/disk/dsk13a
lrwxr-xr-x 1 root system 16 Jul 14 15:31 dsk13b -> /dev/disk/dsk13b
lrwxr-xr-x 1 root system 16 Jul 14 15:31 dsk13d -> /dev/disk/dsk13d
lrwxr-xr-x 1 root system 16 Jul 14 15:31 dsk13e -> /dev/disk/dsk13e
lrwxr-xr-x 1 root system 16 Jul 14 15:31 dsk13f -> /dev/disk/dsk13f
I tried advscan:
root_at_thor==> /sbin/advfs/advscan -a -f home_domain
Scanning devices /dev/rdisk/dsk0 /dev/rdisk/dsk4 /dev/rdisk/dsk12 /dev/rdisk/dsk13 /dev/rdisk/dsk5
/dev/rdisk/dsk6 /dev/rdisk/dsk7 /dev/rdisk/dsk1 /dev/rdisk/dsk8
Attempting to fix link/dev_count for domain
home_domain
Nothing to fix
but it still doesn't work.
How can I fix this? Salvage seems overkill. Can I remove the links in /etc/fdmns/home_domain and recreate the home_domain from scratch using the same configuration?
Thank you!!
Andy
Andy Cohen
Database Systems Administrator
Cognex Corporation
1 Vision Drive
Natick, MA 01760
Received on Thu Jul 15 2004 - 20:23:09 NZST