Operating System - HP-UX
1833059 Members
2854 Online
110049 Solutions
New Discussion

Re: How to remove physical volumes for VG?

 
Sudhaadm
Regular Advisor

How to remove physical volumes for VG?

Hi ,
I have added 6 EMC disk in VG(/dev/vg01_data).3 disks for normal and 3 disk for alternate link.
I have assined to the LV's and the same extended the filesystem.
Now i want remove those added disks?
Disk details to be removed:
/dev/dsk/c13t0d3
/dev/dsk/c13t0d4
/dev/dsk/c13t0d5
/dev/dsk/c14t0d5
/dev/dsk/c14t0d4
/dev/dsk/c14t0d3

If it is possible,please provide the detail procedure?
/dev/vg01_data
/dev/dsk/c10t4d0
/dev/dsk/c9t4d1
/dev/dsk/c9t4d0
/dev/dsk/c10t4d4
/dev/dsk/c9t4d4
/dev/dsk/c9t4d5
/dev/dsk/c10t4d1
/dev/dsk/c10t4d5
/dev/dsk/c9t0d3
/dev/dsk/c10t0d3
/dev/dsk/c10t5d1
/dev/dsk/c9t5d1
/dev/dsk/c9t1d3
/dev/dsk/c10t1d3
/dev/dsk/c13t0d3
/dev/dsk/c13t0d4
/dev/dsk/c13t0d5
/dev/dsk/c14t0d5
/dev/dsk/c14t0d4
/dev/dsk/c14t0d3
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: How to remove physical volumes for VG?

Do a man on vgreduce.


Pete

Pete
Kent Ostby
Honored Contributor

Re: How to remove physical volumes for VG?

vgreduce /dev/vg01_data /dev/dsk/c13t0d3 [disk2] [disk3] etc
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Sudhaadm
Regular Advisor

Re: How to remove physical volumes for VG?

Thanks for the quick response.

Already i assined this PV's and extended the Filesystem.
If i will do vgreduce,will it affect on VG data?
khilari
Regular Advisor

Re: How to remove physical volumes for VG?

Well, if u will do vg reduce that means that the disks will come out of the volume group and once the disks are out of that volume group they wont be able to be accessed.
James R. Ferguson
Acclaimed Contributor

Re: How to remove physical volumes for VG?

Hi:

If you added the disks to the volume group *and* extended the filesystem(s) as you note, then you are asking the same essential question as you did here:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1012681

The answer would be the same as before.

Regards!

...JRF...
Sudhaadm
Regular Advisor

Re: How to remove physical volumes for VG?

Thanks for the support.