Discussion:
[Veritas-vx] vxdmpadm - remove paths to non-existent disks
Gyula Szekely
2010-12-03 09:07:45 UTC
Permalink
Hello,

We have a 2-node cluster with Solaris 9, VxVM version 4.1_p3. There was a
storage migration from Hitachi to EMC, and after the Hitachi LUNs were removed
the vxdmpadm still indicates the paths to the old disks, in DISABLED state. Is
there a way to remove these paths online, without reconfig reboot? Did anyone
encountered such a situation and solved it without reboot?

- cfgadm -al shows only the new disks
- vxdisk list shows only the new disks
- format shows only the new disks
- /dev/vc/[r]dmp is cleaned of devices indicating the old disks
- /dev/[r]dsk has only the new devices (cleaned with devfsadm)
- vxconfigd -k has been run (freezed the groups); after vxdctl enable the paths
still remained:

NAME STATE[A] PATH-TYPE[M] DMPNODENAME ENCLR-TYPE ENCLR-NAME
ATTRS
================================================================================
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -

Thank you in advance,
Gy.

PS. there is similar situation also with VxVM version 5.01-MP1
Dmitry Glushenok
2010-12-03 09:52:50 UTC
Permalink
Hello,

AFAIK only way to remove these paths is reboot as VxDMP cannot clean its in-kernel DB. By the way, funny things like hangs/panics can happen if you will map new luns to old paths. In 4.1 at least.
Post by Gyula Szekely
Hello,
We have a 2-node cluster with Solaris 9, VxVM version 4.1_p3. There was a storage migration from Hitachi to EMC, and after the Hitachi LUNs were removed the vxdmpadm still indicates the paths to the old disks, in DISABLED state. Is there a way to remove these paths online, without reconfig reboot? Did anyone encountered such a situation and solved it without reboot?
- cfgadm -al shows only the new disks
- vxdisk list shows only the new disks
- format shows only the new disks
- /dev/vc/[r]dmp is cleaned of devices indicating the old disks
- /dev/[r]dsk has only the new devices (cleaned with devfsadm)
NAME STATE[A] PATH-TYPE[M] DMPNODENAME ENCLR-TYPE ENCLR-NAME ATTRS
================================================================================
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
Thank you in advance,
Gy.
PS. there is similar situation also with VxVM version 5.01-MP1
_______________________________________________
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx
--
Dmitry Glushenok
Jet Infosystems
Hari Vemuri
2010-12-03 11:29:01 UTC
Permalink
Hi,

VxVM 5.0MP3 onwards has this facility of removing stale device paths from the DMP kernel database. Prior to this release DMP reatined the information of stale device paths until the next reboot.

With regards
Hari
----------------------------------------------------------------------
Message: 1
Date: Fri, 3 Dec 2010 01:07:45 -0800 (PST)
From: Gyula Szekely <***@yahoo.com>
Subject: [Veritas-vx] vxdmpadm - remove paths to non-existent disks
To: veritas-***@mailman.eng.auburn.edu
Message-ID: <***@web114701.mail.gq1.yahoo.com>
Content-Type: text/plain; charset="us-ascii"

Hello,

We have a 2-node cluster with Solaris 9, VxVM version 4.1_p3. There was a storage migration from Hitachi to EMC, and after the Hitachi LUNs were removed the vxdmpadm still indicates the paths to the old disks, in DISABLED state. Is there a way to remove these paths online, without reconfig reboot? Did anyone encountered such a situation and solved it without reboot?

- cfgadm -al shows only the new disks
- vxdisk list shows only the new disks
- format shows only the new disks
- /dev/vc/[r]dmp is cleaned of devices indicating the old disks
- /dev/[r]dsk has only the new devices (cleaned with devfsadm)
- vxconfigd -k has been run (freezed the groups); after vxdctl enable the paths still remained:

NAME STATE[A] PATH-TYPE[M] DMPNODENAME ENCLR-TYPE ENCLR-NAME
ATTRS
================================================================================
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -
NONAME DISABLED - NONAME Disk Disk -

Thank you in advance,
Gy.

PS. there is similar situation also with VxVM version 5.01-MP1

Loading...