Operating System - HP-UX
1752525 Members
4708 Online
108788 Solutions
New Discussion юеВ

Greater than 2TB Lun support in HPUX

 
SOLVED
Go to solution
sreekanthtm
Trusted Contributor

Greater than 2TB Lun support in HPUX

Hi,

I have presented one LUN from XP to one of my HPUX box. From the XP side its confirmed that the LUN size is 2.8TB. The Lun is visible in ioscan, and its in claimed status. But Iam not able to create PV on that LUN. Its giving the following error.

#pvcreate -f /dev/rdsk/c40t0d0
pvcreate: Error: Couldn't read LVMREC for the physical volume "/dev/rdsk/c40t0d0".
[Error: -1]

Diskinfo also not showing the correct disk size.

# diskinfo /dev/rdsk/c40t0d0
SCSI describe of /dev/rdsk/c40t0d0:
vendor: HP
product id: OPEN-V*3
type: direct access
size: 2147483648 Kbytes
bytes per sector: 512

Please let me know if anything needs to be done from Serverside to support >2TB

Rgds
Sreekanth
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: Greater than 2TB Lun support in HPUX

More information (like OS version, etc.) might be helpful. Lacking that, I would refer you to this document:

http://search.hp.com/redirect.html?type=REG&qt=HP-UX+LVM+Supported+Limits&url=http%3A//docs.hp.com/en/6054/LVM_Limits_White_Paper_V4.pdf%3Fjumpid%3Dreg_R1002_USEN&pos=1


Pete

Pete
sreekanthtm
Trusted Contributor

Re: Greater than 2TB Lun support in HPUX

Hi,

# uname -a
HP-UX HAZUXIA7 B.11.31 U ia64 3723915920 unlimited-user license

Please find more details attached

Rgds
Sreekanth
Solution

Re: Greater than 2TB Lun support in HPUX

If this is 11.31 is there any particular reason why you are still using legacy DSFs?

Identify the agile DSF for this LUN using:

ioscan -m dsf

ANd then show the output of a scsimgr command for that LUN, e.g. if the agile DSF is /dev/rdisk/disk10, then:

scsimgr get_info -D /dev/rdisk/disk10

HTH

Duncan

I am an HPE Employee
Accept or Kudo
sreekanthtm
Trusted Contributor

Re: Greater than 2TB Lun support in HPUX

Hi,

# scsimgr get_info -D /dev/rdisk/disk1437

STATUS INFORMATION FOR LUN : /dev/rdisk/disk1437

Generic Status Information

SCSI services internal state = UNOPEN
Device type = Direct_Access
EVPD page 0x83 description code = 1
EVPD page 0x83 description association = 0
EVPD page 0x83 description type = 3
World Wide Identifier (WWID) = 0x60060e80144246000001424600001700
Serial number = "82502 "
Vendor id = "HP "
Product id = "OPEN-V*3 "
Product revision = "5001"
Other properties = ""
SPC protocol revision = 2
Open count (includes chr/blk/pass-thru/class) = 0
Raw open count (includes class/pass-thru) = 0
Pass-thru opens = 0
LUN path count = 1
Active LUN paths = 1
Standby LUN paths = 0
Failed LUN paths = 0
Maximum I/O size allowed = 2097152
Preferred I/O size = 2097152
Outstanding I/Os = 0
I/O load balance policy = round_robin
Path fail threshold time period = 0
Transient time period = 120
Tracing buffer size = 1024
LUN Path used when policy is path_lockdown = NA
LUN access type = NA
Asymmetric logical unit access supported = No
Asymmetric states supported = NA
Preferred paths reported by device = No
Preferred LUN paths = 0

Driver esdisk Status Information :

Capacity in number of blocks = 4294967296
Block size in bytes = 512
Number of active IOs = 0
Special properties =
Maximum number of IO retries = 45
IO transfer timeout in secs = 30
FORMAT command timeout in secs = 86400
START UNIT command timeout in secs = 60
Timeout in secs before starting failing IO = 120
IO infinite retries = false


Its showing Maximum I/O size allowed = 2097152
Preferred I/O size = 2097152

How can I increase this limit??
Is there any way to do that?? OR HPUX is still not supporting greater than 2TB??!!

Rgds,
Sreekanth
Tom Maloy
Respected Contributor

Re: Greater than 2TB Lun support in HPUX

The doc that Pete referenced shows a PV size of 16TB in a Version 2.0 or 2.1 VG.

Perhaps your 11.31 system does not have that capability, which was made available in the March 2008 11.31 release?
Carpe diem!
sreekanthtm
Trusted Contributor

Re: Greater than 2TB Lun support in HPUX

How can I create PV using VG version 2.0 ???

# vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 4
Open LV 4
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4238
VGDA 2
PE Size (Mbytes) 8
Total PE 4228
Alloc PE 2624
Free PE 1604
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 542464m
VG Max Extents 67808

# lvmadm -t -V 2.0
--- LVM Limits ---
VG Version 2.0
Max VG Size (Tbytes) 2048
Max LV Size (Tbytes) 256
Max PV Size (Tbytes) 16
Max VGs 512
Max LVs 511
Max PVs 511
Max Mirrors 5
Max Stripes 511
Max Stripe Size (Kbytes) 262144
Max LXs per LV 33554432
Max PXs per PV 16777216
Max Extent Size (Mbytes) 256

# vgdisplay vg00 shows that it is
VG Version 1.0
and # lvmadm -t -V 2.0 Shows the MAximum PV size as 16TB.
Now I have to run pvcreate on >2TB LUN (2.8TB).

Rgds
Sreekanth