Operating System - HP-UX
1836995 Members
2418 Online
110111 Solutions
New Discussion

Re: Return LUNS to Storage

 
brian_31
Super Advisor

Return LUNS to Storage

I have 5 disks (from vgdisplay -v ) which i have removed. i need to return this to the storage for reclaiming. i just have the /dev/rdsk/c#t#d#. is this info enough for re-claiming? Please advice

Thanks

brian
6 REPLIES 6
Sandman!
Honored Contributor

Re: Return LUNS to Storage

Better answered if you tell what kind of storage array you have? For ex. on the XP's the xpinfo(1M) utility correlates a device special file to its CU:LDEV number which uniquely identifies a LUN on the array.
Denver Osborn
Honored Contributor

Re: Return LUNS to Storage

The c#t#d# may not be enough for the SAN guys to know which luns to reclaim. The more info you can provide, the less chance of remove the wrong devices from the host.

What type of storage is it? can you also post lssf /dev/rdsk/c#t#d# output.

-denver
Steven E. Protter
Exalted Contributor

Re: Return LUNS to Storage

Shalom,

pvdisplay every disk to see what volume group it is in.

vgdisplay -v all relavent volume groups to find the logical volumes.

bdf to get a list of mounted filesystems.

lvremove all logical volumes in relavent volume groups.

vgreduce the volume groups until their are no disks in them.

vgexport the volume groups.

Now you will be certain that disk can be relcaimed.

You may be able to get away with merely vgexporting all the volume groups, but I'd prefer being more thorough.

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
David P. Waters
Occasional Contributor

Re: Return LUNS to Storage

If it is EMC storage, trying using a 'sympd list' and record the device ids under "sym".
brian_31
Super Advisor

Re: Return LUNS to Storage

these are HITACHI disks
Sandman!
Honored Contributor

Re: Return LUNS to Storage

Ask your SAN team if they have a host-based utility for looking at Hitachi LUN information (correlate the /dev/rdsk/c#t#d# to a Hitachi LDEV) or ask Hitachi if you have a support contract with them. Otherwise the device files won't give you much information. What tool or utility did you use when you carved out the lvols from the Hitachi LUNs presented to you?