System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Discconect N4000 Server from EMC Symmetrix DMX800

SOLVED
Go to solution
kath601
Occasional Contributor

Discconect N4000 Server from EMC Symmetrix DMX800

I have an EMC Symmetrix DMX800 SAN connected to a N4000 server (via fibre). Due to continuing hardware problems in the SAN, we have made the decision to disconnect it. All data has been moved off of the SAN.

I have also deleted (through SAM) the volume groups and logical volumes that were on the SAN. I have checked the /etc/fstab and the entries to mount the filesystems are no longer in the file.

Is there anything else I need to do prior to disconnecting the fibre channel connectors?
4 REPLIES
Hasan Atasoy
Honored Contributor

Re: Discconect N4000 Server from EMC Symmetrix DMX800

you should export the vg definitions also

vgexport



Hasan
Bill Hassell
Honored Contributor
Solution

Re: Discconect N4000 Server from EMC Symmetrix DMX800

And then remove the device files. But do not use "rm". The correct command is:

rmsf -H 1/0/2/0/3.4.5.255.0.1

or, if you know the device files associated with the EMC box (hint: syminq), then use:

rmsf -a /dev/dsk/c123t4d0

And once the storage is removed, run ioscan -f and then remove any device files that are no longer attached. To dertermine these leftover files, use:

lssf /dev/*dsk/* | grep '???'

You can send this list to rmsf like this:

for NOHW in $(lssf /dev/*dsk/* | awk '/\?\?\?/{print $NF}')
do
rmsf -a $NOHW
done

Ignore the rmsf messages about the hardware not existing, that is the point after all.


Bill Hassell, sysadmin
kath601
Occasional Contributor

Re: Discconect N4000 Server from EMC Symmetrix DMX800

When I removed the VGs in sam, is it possible it did the vgexport?

Here is what I get when I tried the vgexport on one of the VGs:

# vgexport vgdrops
vgexport: Volume group "/dev/vgdrops" does not exist in the "/etc/lvmtab" file.
vgexport: Couldn't export volume group "vgdrops".

Is it ok to proceed to removing the devices?

Steven E. Protter
Exalted Contributor

Re: Discconect N4000 Server from EMC Symmetrix DMX800

Shlaom,

You may wish to deactivate the volume group, vgchange -a n

Export the volume group as well with vgexport.

Not strictly required, but it might leave the N4000 system cleaner at end of process.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com