Tuesday, October 21, 2014

solaris 10 host clean up after removing lun

#vxdisk rm diskname
#devfsadm -cv
#powermt check
arning: Symmetrix device path c4t5006048452A5AD27d154s0 is currently dead.
Do you want to remove it (y/n/a/q)? a
Warning: Symmetrix device path c4t5006048452A5AD27d155s0 is currently dead.
Warning: Symmetrix device path c4t5006048452A5AD27d156s0 is currently dead.
Warning: Symmetrix device path c4t5006048452A5AD27d75s0 is currently dead.
Warning: Symmetrix device path c4t5006048452A5AD27d77s0 is currently dead.
Warning: Symmetrix device path c4t5006048452A5AD27d78s0 is currently dead.
Warning: Symmetrix device path c5t5006048452A5AD28d154s0 is currently dead.
Warning: Symmetrix device path c5t5006048452A5AD28d155s0 is currently dead.
Warning: Symmetrix device path c5t5006048452A5AD28d156s0 is currently dead.
Warning: Symmetrix device path c5t5006048452A5AD28d75s0 is currently dead.
Warning: Symmetrix device path c5t5006048452A5AD28d77s0 is currently dead.
Warning: Symmetrix device path c5t5006048452A5AD28d78s0 is currently dead.
#/etc/powercf -q

Could not validate the entry:
---------------------------------------
emcpower6: user ID = 15300000030
---------------------------------------

removing emcpower6

Could not validate the entry:
---------------------------------------
emcpower7: user ID = 15300000038
---------------------------------------

removing emcpower7

Could not validate the entry:
---------------------------------------
emcpower8: user ID = 15300000040
---------------------------------------

removing emcpower8

Could not validate the entry:
---------------------------------------
emcpower18: user ID = 15300000090
---------------------------------------

removing emcpower18

Could not validate the entry:
---------------------------------------
emcpower19: user ID = 15300000098
---------------------------------------

removing emcpower19

Could not validate the entry:
---------------------------------------
emcpower20: user ID = 153000000a0
---------------------------------------

# devfsadm -Cv
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d20s0
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d20s1
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d20s2
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d20s3
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d20s4
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d20s5
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d20s6
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d20s7
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d18s0
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d18s1
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d18s2
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d18s3
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d18s4
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d18s5
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d18s6
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d18s7
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d20s0
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d20s1
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d20s2
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d20s3
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d20s4
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d20s5
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d20s6
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d20s7
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d18s0
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d18s1
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d18s2
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d18s3
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d18s4
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d18s5
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d18s6
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d18s7
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d20s0
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d20s1
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d20s2
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d20s3
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d20s4
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d20s5
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d20s6
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d20s7
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d18s0
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d18s1
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d18s2
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d18s3
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d18s4
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d18s5
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d18s6
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d18s7
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d20s0
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d20s1
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d20s2
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d20s3
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d20s4
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d20s5
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d20s6
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d20s7
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d18s0
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d18s1
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d18s2
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d18s3
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d18s4
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d18s5
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d18s6
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d18s7

#powermt save

No comments:

Post a Comment