Veritas VxVM vxconfigd troubles

From: Erwin Broschinski (broschi@id.ethz.ch)
Date: Wed Jun 29 2005 - 05:14:04 EDT


Hi Sun managers

I am running Sol 8 on a E450 with Veritas VxVM 3.5.

root[~]:#pkginfo -l VRTSvxvm
   PKGINST: VRTSvxvm
      NAME: VERITAS Volume Manager, Binaries
  CATEGORY: system
      ARCH: sparc
   VERSION: 3.5,REV=06.21.2002.23.14
   BASEDIR: /
    VENDOR: VERITAS Software
      DESC: Virtual Disk Subsystem
    PSTAMP: VERITAS-3.5s_p2.7:20-July-2003
  INSTDATE: Mar 10 2004 15:59
   HOTLINE: 800-342-0652
     EMAIL: support@veritas.com
    STATUS: completely installed
     FILES: 610 installed pathnames
                  25 shared pathnames
                   9 linked files
                  79 directories
                 342 executables
              159726 blocks used (approx)

The rootdisk is encapsulated and mirrored (done under 3.5)
Another disk group is on SAN.

To check the parameters for DMP I ran vxinstall (instead of vxdiskadm). It
bailed out after I answered 'no' for 'Do you want to use Enclosure based names'
with an error message I can't remember any more.

Now Volume Manager is in a strange state:

root[~]:#ps -aef | grep vxcon
    root 8003 1 0 15:22:15 ? 0:02 vxconfigd -k -m disable

then I did a kill -9 8003 and tried to restart vxconfigd:

root][~]:#vxconfigd -m boot
vxvm:vxconfigd: ERROR: enable failed: Error in disk group configuration copies
        Disk group has no valid configuration copies; transactions are
disabled.
vxvm:vxconfigd: FATAL ERROR: Rootdg cannot be imported during boot

root[~]:#vxdg list
vxvm:vxdg: ERROR: IPC failure: Configuration daemon is not accessible

so I restarted vxconfigd as it used to run before:

root[~]:#vxconfigd -k -m disable
root[~]:#ps -aef vxcon
    root 5737 1 1 10:46:30 ? 0:01 vxconfigd -k -m disable

root[~]:#vxdg list
NAME STATE ID
(this stays empty, not showing any of the 2 disk groups)

root[~]:#vxprint
vxvm:vxprint: ERROR: IPC failure: Configuration daemon is not accessible

root[~]:#vxdisk list
vxvm:vxdisk: ERROR: Cannot get records from vxconfigd: Record not in disk group

In 'vea' (The GUI) everything looks fine: Diskgroups, Volumes are all there
and look innocent, no alerts!

I found one proposed solution when googling:
on:
http://www.eng.auburn.edu/pub/mail-lists/veritas-users.May99/msg00048.html

---------------- start quote -------------
Dear All,
I took Randy Wong's advice and did the following:
1) removed vx devices from /etc/vfstab
2) touched /etc/vx/reconfig.d/state.d/install-db
3) rebooted.
4) ran vxinstall and re-created the rootdg (added the same disk back in) and
rebooted.
5) put the old /etc/vfstab back, rebooted and all was well.
Thanks,
 Graham
---------------- end quote -------------

Is this the only solution or can I fix this problem beforehand without
rebooting?

Any ideas are very much appreciated.

Erwin
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:59 EDT