1748209 Members
2686 Online
108759 Solutions
New Discussion юеВ

Re: Max sizes VG and LV

 
G.Carslow
Advisor

Max sizes VG and LV

Hi,

I have had a request to create a 2TB VG on our EMC connected to a RP4440 running HPUX 11.11 patched to June 2004. They want it partitioned into a 1.5TB LV and a 0.5TB LV. We managed to get the VG created by changing the PE size to 8K but lvcreate fails ( core dumps ) when trying to create the 1.5TB LV. Does anyone know of docs ( or have suggestions )about max sizes of LV's and VG's and what is good/bad practice in this regard. Any input appreciated.

Thanks
Greg
2 REPLIES 2
Dave Olker
HPE Pro

Re: Max sizes VG and LV

Hi Greg,

The fact that lvcreate is core dumping sounds like a definite bug, not a misuse of the command. I checked the patch catalog and found that lvcreate core dumping when trying to create a large logical volume is a known problem fixed in the LVM commands patch.

I recommend you install PHCO_29379 and all the dependencies before attempting to do this VG/LV creation again.

As far as maximum sizes of logical volumes and volume groups, there is a document on docs.hp.com that explains this called "Supported File and File System Sizes for HFS and JFS" located at:

http://www.docs.hp.com/hpux/onlinedocs/5971-2383/5971-2383.pdf

Hope this helps,

Dave
I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Steven E. Protter
Exalted Contributor

Re: Max sizes VG and LV

When this happens, you might want to use the strings command on the core dump just to see anything interesting.

Your filesystem size is pretty large and I'd search the patch database for lvm and lvcreate.

You also might want to see if your volume group parameters were set up right. You may have a situation where the volume group doesn't have enough physical extents to handle the size logical volume you are tying to create.

From the vgcreate man page
SYNOPSIS
/usr/sbin/vgcreate [-f] [-A autobackup] [-x extensibility] [-e max_pe]
[-l max_lv] [-p max_pv] [-s pe_size] [-g pvg_name] vg_name
pv_path ...

-e max_pe -s pe_size

You may need to increase the ps_size and max_pe. That means recreating the volume group.

SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com