Operating System - HP-UX
1832567 Members
4846 Online
110043 Solutions
New Discussion

Re: largest supported LUN

 
Vic S. Kelan
Regular Advisor

largest supported LUN

Can anybody help me with the largest size of the LUN I can present to HPUX?

I am trying to present a LUN of 350GB as a single PV, can this ever work?

Thanks,
9 REPLIES 9
Patrick Wallek
Honored Contributor

Re: largest supported LUN

Yes this should not be a problem.

You say "I am trying....". Are you getting errors at some point? If so, what are they and what are you doing when they occurr?

You will have to adjust your PE SIZE parameter (the default of 4 will never work) to something like 32 or 64 when setting up the VG.
Vic S. Kelan
Regular Advisor

Re: largest supported LUN

thanks for the FAST response, yes I am getting some errors:
/>vgcreate -s 32 -e 65535 vg07 /dev/dsk/c13t0d0
vgcreate: Volume group "/dev/vg07" could not be created:
The path does not specify a valid physical volume.
/>vgcreate -s 64 -e 65535 vg07 /dev/dsk/c13t0d0
vgcreate: Volume group "/dev/vg07" could not be created:
The path does not specify a valid physical volume.
/>ll /dev/*/group
crw-r----- 1 root sys 64 0x000000 Sep 28 2003 /dev/vg00/group
crw-r--r-- 1 root sys 64 0x010000 Feb 26 2004 /dev/vg01/group
crw-r--r-- 1 root sys 64 0x020000 Mar 1 2004 /dev/vg02/group
crw-r--r-- 1 root sys 64 0x030000 Jun 1 2004 /dev/vg03/group
crw-r--r-- 1 root sys 64 0x070000 Aug 17 15:12 /dev/vg07/group
/>ll /dev/vg07
total 0
crw-r--r-- 1 root sys 64 0x070000 Aug 17 15:12 group
DCE
Honored Contributor

Re: largest supported LUN

I was able to create a 1.5 TB LUN HPUX 11.11) - 350 GB should work just fine

Dave
RAC_1
Honored Contributor

Re: largest supported LUN

This depends upon the vxfs version that you are using. Also does PV there and claimed in ioscan??

Anil
There is no substitute to HARDWORK
Vic S. Kelan
Regular Advisor

Re: largest supported LUN

Yes its claimed
ioscan
disk 74 1/0/14/0/0.1.0.0.0.0.0 sdisk CLAIMED DEVICE DGC CX300WDR5/dev/dsk/c13t0d0 /dev/rdsk/c13t0d0
/usr/symcli/bin/syminq
/dev/rdsk/c13t0d0 DGC CX300WDR5 HP03 Ch2 CONT 293601280
RAC_1
Honored Contributor

Re: largest supported LUN

Did you do pvcreate on it?? What is your vxfs version??

fstyp -v /dev/vgxx/lvolx (some other lvol)
There is no substitute to HARDWORK
Vic S. Kelan
Regular Advisor

Re: largest supported LUN

This is the output
>fstyp -v /dev/vg01/lvol1
vxfs
version: 4
f_bsize: 8192
f_frsize: 1024
f_blocks: 2097152
f_bfree: 516731
f_bavail: 484692
f_files: 132284
f_ffree: 129180
f_favail: 129180
f_fsid: 1073807361
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 16
f_fsindex: 7
f_size: 2097152

I already did a pvcreate, I was able to do a vgcreate on the same vg with the same disk but it did not use up all the space, so i did a vgchange and vgexport, and then re did the mknod etc.....

If I am limited by vxfs is their a workaround?
Vic S. Kelan
Regular Advisor

Re: largest supported LUN

I did a pvcreate -f and it worked, sorry about that!
thanks all
Uwe Zessin
Honored Contributor

Re: largest supported LUN

On most devices, a SCSI LUN is restricted to 2 TeraBytes (2^32 blocks, each block=512 bytes), but some operating systems can only deal with 1TB LUNs (2^31 blocks - looks like signed arithmetic).
.