1833863 Members
2247 Online
110063 Solutions
New Discussion

Re: Remove SAN-Disks

 
SOLVED
Go to solution
Christian Marquardt_1
Regular Advisor

Remove SAN-Disks

Hello,
I've to remove some SAN-disks from a machine. The SAN-disks are on EMC clariion cx700.
First I've deleted the device-files with rmsf -H . Then we've deleted the presentation on the clariion. HP/UX's ioscan now says "NO_HW" for these disks and EMC's powerpath says I/O Paths "unknown" and state "dead".
Does anyone know how to remove these disks completely from the machine?

kind regards
Christian
7 REPLIES 7
Robert-Jan Goossens_1
Honored Contributor

Re: Remove SAN-Disks

Cristian,

Did you reboot the server after the removal of the device files?

Robert-Jan
Christian Marquardt_1
Regular Advisor

Re: Remove SAN-Disks

No I cant reboot the server. It's a production machine.
sajeer_2
Regular Advisor
Solution

Re: Remove SAN-Disks


Hi Christian,

You can remove it using rmsf command

rmsf -k -H device path


sajeer
Christian Marquardt_1
Regular Advisor

Re: Remove SAN-Disks

Hi,
I've tried the rmsf -H again and no the ioscan doesnt display these disk.
But powerpath shows the disks with I/O Paths as "unknown" and state as "dead".
How can I remove disks from powerpath?

Christian
sajeer_2
Regular Advisor

Re: Remove SAN-Disks


You can check these options

powermt display paths
powermt restore
powermt check
powermt config
powermt save
powermt display paths

powermt check

Check this post
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1005489

sajeer



IT_2007
Honored Contributor

Re: Remove SAN-Disks

Make sure that you have removed primary and alternate links from volume groups means successfully reduced them. you can check in /etc/lvmtab. If any volume group is already using then you won't be able to clear them.

Once you removed from LVM then do the following.

powermt check
remove all dead paths: y

powermt config
powermt save
powermt display dev=dead
rmsf -kH /deadpaths
rm /dev/rdsj/deaddevices
rm /dev/dsk/deaddevices
Christian Marquardt_1
Regular Advisor

Re: Remove SAN-Disks

Thanks@all ... everything works fine