So if you run /etc/vx/diag.d/vxdmpinq  /dev/rdsk/c3t50001FE15005E90Ad6s2 what 
do you get?  It certainly looks like the disks are still visible...

Cheers,
 - Mike Myers, mike.myers <at> nwdc.net

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jarkko Airaksinen
Sent: Wednesday, April 11, 2007 9:21 AM
To: Veritas-vx@mailman.eng.auburn.edu
Subject: [Veritas-vx] removing devices

Hello,

 

I've removed some disks from the server but they keep on coming back for 
example after "vxdisk scandisks':

 

# vxdisk list

DEVICE       TYPE            DISK         GROUP        STATUS

EVA80000_1   auto:cdsdisk    pt_dwhdg146_01  pt_dwhdg146  online nohotuse

EVA80000_3   auto:cdsdisk    pt_dwhdg146_02  pt_dwhdg146  online nohotuse

EVA80000_4   auto:cdsdisk    pt_dwhdg250_01  pt_dwhdg250  online nohotuse

EVA80000_5   auto:cdsdisk    pt_dwhdg250_02  pt_dwhdg250  online nohotuse

EVA80000_7   auto:cdsdisk    pt_dwhdg146_03  pt_dwhdg146  online nohotuse

EVA80000_8   auto            -            -            error

EVA80000_9   auto:cdsdisk    pt_dwhdg146_04  pt_dwhdg146  online nohotuse

EVA80000_10  auto            -            -            error

EVA80000_11  auto:cdsdisk    pt_dwhdg250_04  pt_dwhdg250  online nohotuse

EVA80000_12  auto            -            -            error

EVA80000_13  auto:cdsdisk    pt_dwhdg250_06  pt_dwhdg250  online nohotuse

EVA80000_14  auto:cdsdisk    pt_dwhdg250_05  pt_dwhdg250  online nohotuse

EVA80000_15  auto            -            -            error

c0t0d0s2     auto:sliced     rootdg01     rootdg       online nohotuse

c1t0d0s2     auto:sliced     rootdg02     rootdg       online nohotuse

 

I suppose this is because the device paths don't get cleaned even with devfsadm 
-C. For example these are the paths to EVA80000_8:

 

# ls -la /dev/dsk/*d6s2

lrwxrwxrwx   1 root     root          69 Feb 26 16:31 c3t50001FE15005E90Ad6s2 
-> ./../devices/[EMAIL PROTECTED],2000/SUNW,[EMAIL PROTECTED]/[EMAIL 
PROTECTED],0/[EMAIL PROTECTED],6:c

lrwxrwxrwx   1 root     root          69 Feb 26 17:39 c3t50001FE15005E90Bd6s2 
-> ./../devices/[EMAIL PROTECTED],2000/SUNW,[EMAIL PROTECTED]/[EMAIL 
PROTECTED],0/[EMAIL PROTECTED],6:c

lrwxrwxrwx   1 root     root          69 Feb 26 17:39 c3t50001FE15005E90Cd6s2 
-> ./../devices/[EMAIL PROTECTED],2000/SUNW,[EMAIL PROTECTED]/[EMAIL 
PROTECTED],0/[EMAIL PROTECTED],6:c

lrwxrwxrwx   1 root     root          69 Feb 26 16:31 c3t50001FE15005E90Dd6s2 
-> ./../devices/[EMAIL PROTECTED],2000/SUNW,[EMAIL PROTECTED]/[EMAIL 
PROTECTED],0/[EMAIL PROTECTED],6:c

lrwxrwxrwx   1 root     root          69 Feb 26 16:31 c5t50001FE15005E908d6s2 
-> ./../devices/[EMAIL PROTECTED],2000/SUNW,[EMAIL PROTECTED]/[EMAIL 
PROTECTED],0/[EMAIL PROTECTED],6:c

lrwxrwxrwx   1 root     root          69 Feb 26 16:31 c5t50001FE15005E909d6s2 
-> ./../devices/[EMAIL PROTECTED],2000/SUNW,[EMAIL PROTECTED]/[EMAIL 
PROTECTED],0/[EMAIL PROTECTED],6:c

lrwxrwxrwx   1 root     root          69 Mar  1 13:47 c5t50001FE15005E90Ed6s2 
-> ./../devices/[EMAIL PROTECTED],2000/SUNW,[EMAIL PROTECTED]/[EMAIL 
PROTECTED],0/[EMAIL PROTECTED],6:c

lrwxrwxrwx   1 root     root          69 Feb 26 21:57 c5t50001FE15005E90Fd6s2 
-> ../../devices/[EMAIL PROTECTED],2000/SUNW,[EMAIL PROTECTED]/[EMAIL 
PROTECTED],0/[EMAIL PROTECTED],6:c

 

However the devices definitely don't exist anymore. I've deleted the disk from 
the SAN long time ago.

 

How would you remove the dangling device entries (without rebooting) if 
devfsadm -C doesn't clear them? The server has Sol8 + VxVM5.0.

 

-j-



_______________________________________________________________________________

 

La información incluida en el presente correo electrónico es CONFIDENCIAL, 
siendo para el uso exclusivo del/os destinatario/s arriba mencionado/s. Si 
usted recibe y lee este correo electrónico y no es el destinatario señalado, el 
empleado o el agente responsable de entregar el mensaje al destinatario, o ha 
recibido esta comunicación por error, le informamos que está totalmente 
prohibida cualquier divulgación, distribución, uso o reproducción del mismo, y 
le rogamos que nos lo notifique inmediatamente respondiendo al mensaje original 
a la dirección arriba mencionada y eliminando el mensaje a continuación.

 The information contained in this e-mail is CONFIDENTIAL and is intended only 
for the use of the addressee named above. If the reader of this message is not 
the intended recipient or the employee or agent responsible for delivering the 
message to the intended recipient, or you have received this communication in 
error, please be aware that any diffusion, distribution or duplication of this 
communication is strictly forbidden, and please notify us immediately by return 
to the original message at the address above eliminating it afterwards.

        

_______________________________________________
Veritas-vx maillist  -  Veritas-vx@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx

Reply via email to