Operating System - HP-UX
1833796 Members
4693 Online
110063 Solutions
New Discussion

Those with XP/HDS or Similar Arrays -- What do you do after disks are de-presented/removed?

 
Zinky
Honored Contributor

Those with XP/HDS or Similar Arrays -- What do you do after disks are de-presented/removed?

When LUNS get depresented or removed from your system, what tasks do you often do? (Assuming all LVM or VxVM tasks have been taken care of already..)?

Do you simply do:

ioscan ;insf -e;xpinfo -ui
(and optionally "vxdctl enable" for those on VxVM)


OR:

rmsf ..., xpinfo -ui
(and the above optional VxVM step?)

Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
3 REPLIES 3
Jeff Schussele
Honored Contributor

Re: Those with XP/HDS or Similar Arrays -- What do you do after disks are de-presented/removed?

Hi Nelson,

I simply determine the HW path of the defunct LUNs with
ioscan -fnC disk
Then remove the devices with
rmsf -H Hardware_Path
It will remove both the /dev/dsk & /dev/rdsk entries.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
TwoProc
Honored Contributor

Re: Those with XP/HDS or Similar Arrays -- What do you do after disks are de-presented/removed?

Destroy the lvs, then vgs then pvs.

Remove server access to the LUNS with Secure Lun Manager.

Review server side results with ioscan.

Then rmsf, xpinfo. (as you had in number 2).

Then update the spreadsheet for the LUN allocation. This last step is the big important one that I harp on with the sysadmins to get done each and EVERY time.
We are the people our parents warned us about --Jimmy Buffett
Zinky
Honored Contributor

Re: Those with XP/HDS or Similar Arrays -- What do you do after disks are de-presented/removed?

Thanks!
Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler