LVM and VxVM

Proc for removing/adding larger disks w EMC Storage

 
SOLVED
Go to solution
John Jimenez
Super Advisor

Proc for removing/adding larger disks w EMC Storage

Hello all, I was wondering if any of you can look at this procedure and give me any feedback. I just had an issue on this thread and am trying to prevent this from happening again.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1354068

I am on HP-UX 11.11 running on EMC CLARiiON Storage. Nothing is archived, so environments are always getting bigger. 11.11 cannot recognize if I increase the LUN sizes on EMC.

I understand that I can always add more LUNS and create more Volume groups. But for manageability purposes I would rather have 1 LUN for each volume group (unless I have a volume group spread among multiple Raid Groups).

Many Environments are test/development LUNS. When these run out of space, I would like to remove the old smaller logical disk, and assigne a new larger disk and used the same Host ID (c#t#d#). I ran into issues on my previous thread.... I think because I pvremoved the smaller disk. so this is what I plan on doing next time.

1) (hp) vgremove
2) (hp) rmsf -H (all 4 paths to 1 disk)
3) (emc) unpresent old smaller LUN
4) (emc) unbind old smaller LUN
5) (emc) bind new larger LUN
6) (emc) present new larger LUN
7) (hp) insf to assign special files
8) (hp) pvcreate -f

There are some emc commands on this thread

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1216745

that talk about these EMC commands. Not sure where and if I should to do multiple times.

symcfg discover
powermt check
powermt config
powermt save


Hustle Makes things happen
4 REPLIES 4
Sharma Sanjeev
Respected Contributor

Re: Proc for removing/adding larger disks w EMC Storage

Hi John

It looks fine to me

1. powermt display dev=all to check current status
2) vgexport
3) rmsf -H (all 4 paths to 1 disk)
4) unpresent old smaller LUN
5) unbind old smaller LUN
6) bind new larger LUN
7) present new larger LUN
8) insf -eC Disk to assign special files
9) powermt display dev-all
10 pvcreate -f

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
John Jimenez
Super Advisor

Re: Proc for removing/adding larger disks w EMC Storage

Thank you Sharma. Any Idea if and where I should issue any and/or all of those 4 EMC commands?

symcfg discover
powermt check
powermt config
powermt save
Hustle Makes things happen
Vishu
Trusted Contributor
Solution

Re: Proc for removing/adding larger disks w EMC Storage

John,

if you have EMC powerpath installed in your system. then you can do like

symcfg discover
ioscan -fnC disk
insf -eC disk
symcfg discover
powermt check
powermt config
powermt save
powermt display paths

symcfg discover - SYMCFG can be used to discover new EMC arrays or to update the contents of the [SYMAPI database]? to reflect any changes to previously discovered arrays.

powermt check - check for paths and optionally remove dead paths.

powermt config - Configure logical devices as powerpath devices.

powermt save - Save the powerpath configuration.
John Jimenez
Super Advisor

Re: Proc for removing/adding larger disks w EMC Storage

Ranju,

Thank you for the order of when to put them, and also for the descriptions
Hustle Makes things happen