Operating System - HP-UX
1833758 Members
2369 Online
110063 Solutions
New Discussion

Re: Physical volume groups

 
SOLVED
Go to solution
STALIN
Occasional Advisor

Physical volume groups

Hi,

I have on a host this indication when I strike vgdisplay -v vg04.

#--- Physical volume groups ---
#PVG Name vg04
#PV Name /dev/dsk/c1t4d0

But I never create this.

Could you explain me has what that is useful and how to remove it please.

normally I have only that :

#--- Physical volumes ---
PV Name /dev/dsk/c1t4d0
PV Status available
Total PE 2170
Free PE 1658
Autoswitch On

PV Name /dev/dsk/c0t4d0
PV Status available
Total PE 2170
Free PE 1658
Autoswitch On
9 REPLIES 9
Robert-Jan Goossens
Honored Contributor

Re: Physical volume groups

Hi,

Could you please post the complete output of the vgdisplay -v command, and please specify your question. It seems at least a part of the disk is being used!

Regards,
Robert-Jan
Rick Garland
Honored Contributor

Re: Physical volume groups

The disk c1t4d0 is in use according to your second output. Does not appear you want to get rid of it.

Post the output of the entire vgdisplay -v

# vgdisplay -v

STALIN
Occasional Advisor

Re: Physical volume groups

# vgdisplay -v vg04
--- Volume groups ---
VG Name /dev/vg04
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 2171
VGDA 4
PE Size (Mbytes) 4
Total PE 4340
Alloc PE 1024
Free PE 3316
Total PVG 1
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg04/lvol41
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2


--- Physical volumes ---
PV Name /dev/dsk/c1t4d0
PV Status available
Total PE 2170
Free PE 1658
Autoswitch On

PV Name /dev/dsk/c0t4d0
PV Status available
Total PE 2170
Free PE 1658
Autoswitch On


--- Physical volume groups ---
PVG Name vg04
PV Name /dev/dsk/c1t4d0

#

Thank's
Robert-Jan Goossens
Honored Contributor

Re: Physical volume groups

Hi Again,

So what is inside below logical volume ?
Is it mounted ?
/dev/vg04/lvol41

# bdf | grep vg04
# lvdisplay -v /dev/vg04/lvol41

Regards,
Robert-Jan
Rick Garland
Honored Contributor

Re: Physical volume groups

Can you port the entire output of vgdisplay?

# vgdisplay -v

Omit the vg04 on the command and the output will show all of the volume groups

STALIN
Occasional Advisor

Re: Physical volume groups

lvol41 it's a RAW device.

I give you the complet display of the command vgdisplay -v vg06 auther vg it's same of vg06

Thank's

# vgdiplay -v vg06

VG Name /dev/vg06
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 3
Open LV 3
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 2171
VGDA 4
PE Size (Mbytes) 4
Total PE 4340
Alloc PE 896
Free PE 3444
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg06/lvol61
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 256
Allocated PE 512
Used PV 2

LV Name /dev/vg06/lvol62
LV Status available/syncd
LV Size (Mbytes) 256
Current LE 64
Allocated PE 128
Used PV 2

LV Name /dev/vg06/lvol63
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 128
Allocated PE 256
Used PV 2


--- Physical volumes ---
PV Name /dev/dsk/c0t14d0
PV Status available
Total PE 2170
Free PE 1722
Autoswitch On

PV Name /dev/dsk/c1t14d0
PV Status available
Total PE 2170
Free PE 1722
Autoswitch On


Rick Garland
Honored Contributor
Solution

Re: Physical volume groups

If you have a database, say Oracle or Sybase or Informix or etc..., the database may be setup to use this RAW device. If you remove it you could bring down the database.

STALIN
Occasional Advisor

Re: Physical volume groups

Ok but if I break the miror on the disk ?

thank's
Devender Khatana
Honored Contributor

Re: Physical volume groups

Hi,

Yes, you can remove the mirror from the lvol which will make one of your disk free and available for other storage works.

But this will remove the failure protection from the LVOLs and in the event of failure of disk they reside on the database will get crashed.

Still the choice is yours.

You can remove mirror online using

#lvreduce -m 0 /dev/vg00/lvol? /dev/dsk/cxtydz

Where /dev/vg00/lvol? is the LVOL device file and /dev/dsk/vxtydz is the disk you want to remove the mirror from.

HTH,
Devender
Impossible itself mentions "I m possible"