1825758 Members
2661 Online
109687 Solutions
New Discussion

Re: HP-UX 11iv1 2TB lvol

 
Douglas Henson
Occasional Contributor

HP-UX 11iv1 2TB lvol

I have a 2TB mount on my server from a va7400. I created a new vg with the "-s 32" setting and from 16 PV's of 128MB each. I tried to make a new lvol1 of 2TB but the size will only allow around 1TB.? The two displays are below
(new vg)
# vgdisplay -v xpvg09
--- Volume groups ---
VG Name /dev/xpvg09
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 0
Open LV 0
Max PV 16
Cur PV 16
Act PV 16
Max PE per PV 4096
VGDA 32
PE Size (Mbytes) 32
Total PE 65520
Alloc PE 0
Free PE 65520
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

# lvextend -L 2000 /dev/xpvg09/lvol1
Warning: rounding up logical volume size to extent boundary at size "2016" MB.
lvextend: "LogicalExtentsNumber" is not bigger than current setting.
# extendfs /dev/xpvg09/rlvol1
vxfs extendfs: file system is already at maximum device capacity.

/dev/xpvg09/lvol1 1073709056 35160 1065285832 0% /x_clmmag


(existing vg)
# vgdisplay -v fcvg01
--- Volume groups ---
VG Name /dev/fcvg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 7
Act PV 7
Max PE per PV 10239
VGDA 14
PE Size (Mbytes) 32
Total PE 61747
Alloc PE 61747
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0


9 REPLIES 9

Re: HP-UX 11iv1 2TB lvol

Douglas,

Can you post an lvdisplay output rather than the vgdisplay:

lvdisplay /dev/xpvg09/lvol1

HTH

Duncan

I am an HPE Employee
Accept or Kudo
John Guster
Trusted Contributor

Re: HP-UX 11iv1 2TB lvol

your xpvg09 has 32MB for each PE, not as you stated as 128MB. Can you post the output of vgdisplay -v vpvg09?
Douglas Henson
Occasional Contributor

Re: HP-UX 11iv1 2TB lvol

Duncan:
[ phximg - /dev ]
# lvdisplay /dev/xpvg09/lvol1
--- Logical volumes ---
LV Name /dev/xpvg09/lvol1
VG Name /dev/xpvg09
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 1048544
Current LE 32767
Allocated PE 32767
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default

Douglas Henson
Occasional Contributor

Re: HP-UX 11iv1 2TB lvol

John the volume group was created with PE of 32 MB the PV are disks from an xp24000 lun size of 128MB x 16 to get to around 2TB
Douglas Henson
Occasional Contributor

Re: HP-UX 11iv1 2TB lvol

Duncan: this is the one that is working.

# lvdisplay /dev/fcvg01/lvol1
--- Logical volumes ---
LV Name /dev/fcvg01/lvol1
VG Name /dev/fcvg01
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 1975904
Current LE 61747
Allocated PE 61747
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default

Re: HP-UX 11iv1 2TB lvol

D'oh!

You are saying "-L 2000"

which is saying 2000MB

which is only 2GB

Try the lvextend with "-L 2097152"

HTH

Duncan

I am an HPE Employee
Accept or Kudo
John Guster
Trusted Contributor

Re: HP-UX 11iv1 2TB lvol

I would do:
lvextend -l 65520 /dev/vpvg09/lvol1

use low case l.

then

fsadm -b 2096640m /x_clmmag

to extend the file system size.

Good luck.

Douglas Henson
Occasional Contributor

Re: HP-UX 11iv1 2TB lvol

thanks for the help.

# lvextend -L 2097152 /dev/xpvg09/lvol1
lvextend: "LogicalExtentsNumber" is bigger than the maximum value allowed.
You have mail in /var/mail/root
[ phximg - / ]
# lvextend -l 65520 /dev/xpvg09/lvol1
Logical volume "/dev/xpvg09/lvol1" has been successfully extended.
Volume Group configuration for /dev/xpvg09 has been saved in /etc/lvmconf/xpvg09.conf
[ phximg - / ]
# fsadm -b 2096640m /x_clmmag
fsadm: /etc/default/fs is used for determining the file system type
fsadm: You don't have a license to run this program
[ phximg - / ]
# extendfs /dev/xpvg09/rlvol1
[ phximg - / ]
# mount /x_clmmag
[ phximg - / ]
# bdf /x_clmmag
Filesystem kbytes used avail %used Mounted on
/dev/xpvg09/lvol1 2146959360 68040 2130118744 0% /x_clmmag

John Guster
Trusted Contributor

Re: HP-UX 11iv1 2TB lvol

fsadm command failed becasue you don't have online JFS licensed software. Glad to see other command went through.
Case is closed.