cancel
Showing results for 
Search instead for 
Did you mean: 

Removing SAn storage from a Solaris server without leaving a Solaris signature on disk

Maveric63
Level 3

Hi

 

What is the correct procedure to be used to remove SAN disks from a Solaris host, destroying the disks and removing any Solaris signatures on the disks.

Example, lets say I am removing a volume, its disk group and all its disks from a Solaris host. This is the way I see the steps

1. Destroy the volume (vxassist -g **** remove volume *****)
2. Remove the disks from the disk group (vxdg -g diskgroup rm ******)
3. Delete the disk group (vxdg destroy *******)
4. Offline the disks that were in the disk group (vxdisk offline ******)
5. Remove the disk from Sf Control (vxdisk rm ******)
6.Stop SF deamon (vxdctl disable)
7. Stop SF EventSource (vxddladm stop eventsource)
8. Remove all SAN disk mapping and masking)
9. Rescan Solaris host for changes (devfsadm -Cv)
10. Rescan Solaris (cfgadm -l)
11. Start SF eventsource
12. Start SF deamon

Disks should now have been removed from the Solaris host and all Solaris signatures removed from disks.

Am I missing any steps

 

 

 

 

3 REPLIES 3

Gaurav_S
Moderator
Moderator
   VIP    Certified

You are missing one step of doing an unsetup (taking the disk out of vxvm control) in between ..

I would suggest that to be a step 4 .

# vxdiskunsetup -C cxtxdx

then u can offline, remove & continue with next steps, rest looks ok to me ..

 

G

 

TonyGriffiths
Level 6
Employee Accredited Certified

Hi

If there is sensitive data on the disk, then SFHA 6.0 has the ability to shred it with the vxdiskunsetup -o shred option.

 

cheers

tony

 

 

IdaWong
Level 4

just curious, why do you need to offline the disk before vxdisk rm? why do you need to remove all volume first before vxdg destroy?

i am wondering what is the benefit.