Operating System - HP-UX
1827279 Members
2604 Online
109717 Solutions
New Discussion

Re: how to remove the added disk from unix system and return back to eva

 
SOLVED
Go to solution
Sajjad Sahir
Honored Contributor

how to remove the added disk from unix system and return back to eva

I added one disk in my node1
and node2 from eva both have same lun number 7
my disk is c0t13d6
after that i created physical volume in both node
and created vggroup and logical volume now i want to remove these logical volume and volume group
after that i want to remove disk from my unix itself and back to eva.
8 REPLIES 8
Pete Randall
Outstanding Contributor

Re: how to remove the added disk from unix system and return back to eva

Running vgexport will get rid of the LVM info. Then you need to reverse the procedure used to present the LUN. Sorry I can't be more specific, I've never worked with eva.


Pete

Pete
whiteknight
Honored Contributor
Solution

Re: how to remove the added disk from unix system and return back to eva

Sajjiad,

vgexport /dev/vgxx, it will remove the disk and then from EVA, you can remove the vdisk from your commandview.

hope this help

WK
Problem never ends, you must know how to fix it
Sajjad Sahir
Honored Contributor

Re: how to remove the added disk from unix system and return back to eva

dear whitenight
my question is i created physcial volume volume group etc.........

now i want to remove these volume group and logical belongs it from my system permanetly
Sajjad Sahir
Honored Contributor

Re: how to remove the added disk from unix system and return back to eva


Dear Peter
Running vgexport will get rid of the LVM info

my question is now i have one vgrac5 volume group in both nodes
and some logical volume also under vgrac5
suppose to be 2 logical volume each i want to remove these logical volumes and volume group also the physical disk belongs to the volume group also the disk ok


Sajjad Sahir
Honored Contributor

Re: how to remove the added disk from unix system and return back to eva


Dear Peter

what do u mean by this ?


"Running vgexport will get rid of the LVM info"



my question is now i have one vgrac5 volume group in both nodes
and some logical volume also under vgrac5
suppose to be 2 logical volume each i want to remove these logical volumes and volume group also the physical disk belongs to the volume group also the disk ok


Davis Paul
Valued Contributor

Re: how to remove the added disk from unix system and return back to eva


Hi sajjad,
1) If you created vg,1st deactivate it with the command:
# vgchange -a n vgname.
2) Then expot the vg-:
# vgexport vgname.
This will delete the vg and update LVM information.
3) # ioscan -fnC disk :-This will give the disk information which you have presented from EVA.
4) # rmsf -H hardware path of the disk.
5) go to cmdview eva -
vdisk >unpresent the vdisk
And delete the vdisk.

Rgrds,
Davis Paul.


Sajjad Sahir
Honored Contributor

Re: how to remove the added disk from unix system and return back to eva

exactly.
thank u
Sajjad Sahir
Honored Contributor

Re: how to remove the added disk from unix system and return back to eva

closed