- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to create PV in vg version 2.x
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 12:40 AM
11-07-2008 12:40 AM
I have to create PV of 2.8TB. Its documeted that, vg version 2.x support upto 16TB. But whats the command to create PV in vgversion 2. There is no -V option in creating PV.
# pvcreate -f /dev/rdsk/c40t0d0
pvcreate: Error: Couldn't read LVMREC for the physical volume "/dev/rdsk/c40t0d0".
[Error: -1]
Thanks in advance
Sreekanth
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 12:46 AM
11-07-2008 12:46 AM
Re: How to create PV in vg version 2.x
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 12:51 AM
11-07-2008 12:51 AM
Re: How to create PV in vg version 2.x
# uname -a
HP-UX HAZUXIA7 B.11.31 U ia64 3723915920 unlimited-user license
# swlist -l product | grep OE
OE B.11.31.0803 HP-UX OE control script product
PHKL_37361 1.0 Enable HPVM to use HP-UX 11.31 Sept 07 OE as the host
SOE B.11.31 SOE
SWMTRANS A.3.1.0.1327 HP-UX Software Manager (OE transition version)
Rgds
Sreekanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 12:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 01:43 AM
11-07-2008 01:43 AM
Re: How to create PV in vg version 2.x
PV create giving the same error there also.
# pvcreate -f disk1346
pvcreate: Error: Couldn't read LVMREC for the physical volume "disk1346".
[Error: -1]
Rgds
Sreekanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 02:02 AM
11-07-2008 02:02 AM
Re: How to create PV in vg version 2.x
For 1.0 limits are 2.0TB pev PV.
See here - http://docs.hp.com/en/6054/LVM_Limits_White_Paper_V4.pdf
Beginning with the September 2008 update to HP-UX 11i v3 (11.31), LVM supports three different versions of volume groups:
â ¢
Version 2.1 volume group (supported on 11iv3 September 2008 update and later)
â ¢
Version 2.0 volume group (supported on 11iv3 March 2008 update and later)
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 02:06 AM
11-07-2008 02:06 AM
Re: How to create PV in vg version 2.x
# swlist -l product | grep OE
OE B.11.31.0803 HP-UX OE control script product
PHKL_37361 1.0 Enable HPVM to use HP-UX 11.31 Sept 07 OE as the host
SOE B.11.31 SOE
SWMTRANS A.3.1.0.1327 HP-UX Software Manager (OE transition version)
It is HP-UX 11.31 Sept 07
# lvmadm -t
--- LVM Limits ---
VG Version 1.0
Max VG Size (Tbytes) 510
Max LV Size (Tbytes) 16
Max PV Size (Tbytes) 2
Max VGs 256
Max LVs 255
Max PVs 255
Max Mirrors 2
Max Stripes 255
Max Stripe Size (Kbytes) 32768
Max LXs per LV 65535
Max PXs per PV 65535
Max Extent Size (Mbytes) 256
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
How can I specify the VG version while creating PV?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 02:06 AM
11-07-2008 02:06 AM
Re: How to create PV in vg version 2.x
#lvmadm -t
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 02:51 AM
11-07-2008 02:51 AM
Re: How to create PV in vg version 2.x
The o/p is already posted. My server support vg version 2.0
Rgds
Sreekanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 03:48 AM
11-07-2008 03:48 AM
Re: How to create PV in vg version 2.x
# vgcreate -V 2.0 -s 32 -S 1p /dev/vg01 /dev/disk/disk50
see man vgcreate
http://docs.hp.com/en/lvm-v2/L2_whitepaper_8.pdf
http://docs.hp.com/en/5992-4779/index.html
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 04:53 AM
11-07-2008 04:53 AM
Re: How to create PV in vg version 2.x
# vgcreate -V 2.0 -s 4 -S 8t /dev/vg01 /dev/disk/disk1437
vgcreate: SIOC_INQUIRY: No such device or address
Verification of unique LVM disk id on each disk in the volume group
/dev/vg01 failed.
But the disk path is correct and from the storage side its verified that the Size is 2.87TB
Rgds
Sreekanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 05:36 AM
11-07-2008 05:36 AM
Re: How to create PV in vg version 2.x
What array model is it? All settings correct for hp-ux?
Did you check
# ioscan -fn
# ioscan -m dsf
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 06:08 AM
11-07-2008 06:08 AM
Re: How to create PV in vg version 2.x
We are using XP 10K
PLease see the details attached.
Rgds
Sreekanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 06:15 AM
11-07-2008 06:15 AM
Re: How to create PV in vg version 2.x
I noticed you have only a single path to the disks (1/0/6/1/0.1.4.0.0) - why not more?
Consider to check zoning, presentation and presentation mode!
Some devices are listed in the dsf, but not in the current ioscan (e.g. /dev/rdisk/disk1437) - IMHO this disk *was* visible, but is no longer.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 06:30 AM
11-07-2008 06:30 AM
Re: How to create PV in vg version 2.x
Hi,
I think you missed the line
ctl 30 1/0/2/1/0.1.8.255.0.0.0 sctl CLAIMED DEVICE HP OPEN-XP12000
/dev/rscsi/c39t0d0
And see the below o/p
# ioscan -fnH 1/0/2/1/0
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
fc 4 1/0/2/1/0 fcd CLAIMED INTERFACE HP A6826-60001 2Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)
/dev/fcd4
fcp 6 1/0/2/1/0.1 fcd_fcp CLAIMED INTERFACE FCP Domain
ext_bus 40 1/0/2/1/0.1.8.0.0 fcd_vbus CLAIMED INTERFACE FCP Array Interface
target 12 1/0/2/1/0.1.8.0.0.0 tgt CLAIMED DEVICE
disk 1436 1/0/2/1/0.1.8.0.0.0.0 sdisk CLAIMED DEVICE HP OPEN-V*3
/dev/dsk/c40t0d0 /dev/rdsk/c40t0d0
ext_bus 39 1/0/2/1/0.1.8.255.0 fcd_vbus CLAIMED INTERFACE FCP Device Interface
target 11 1/0/2/1/0.1.8.255.0.0 tgt CLAIMED DEVICE
ctl 30 1/0/2/1/0.1.8.255.0.0.0 sctl CLAIMED DEVICE HP OPEN-XP12000
/dev/rscsi/c39t0d0
# ioscan -m dsf /dev/rdsk/c40t0d0
Persistent DSF Legacy DSF(s)
========================================
/dev/rdisk/disk1437 /dev/rdsk/c40t0d0
Rgds
Sreekanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 06:38 AM
11-07-2008 06:38 AM
Re: How to create PV in vg version 2.x
Not sure why I overlooked this the first time.
I really wonder about the high Instance number 1436 - did you change the config so often?
Anyway, you still have only a single path to this device - not good.
What does "xpinfo" tell you (if you have this command)?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 07:04 AM
11-07-2008 07:04 AM
Re: How to create PV in vg version 2.x
I think you are in the right track
# xpinfo -i /dev/rdsk/c40t0d0
Device File ALPA Tgt Lun Port CU:LDev Type Serial#
================================================================================
/dev/rdisk/disk1437 4d 00 00 CL6F 17:00 OPEN-V*3 00082502
# xpinfo /dev/rdsk/c40t0d0
Device File : /dev/rdisk/disk1437 Model : XP10000
Port : CL6F Serial # : 00082502
Host Target : 00 Code Rev : 5001
Array LUN : 00 Subsystem : 0021
CU:LDev : 17:00 CT Group : ---
Type : OPEN-V*3 CA Volume : SMPL
Size : MB BC0 (MU#0) : SMPL
ALPA : 4d BC1 (MU#1) : SMPL
Loop Id : 56 BC2 (MU#2) : SMPL
SCSI Id : ---
RAID Level : RAID5 RAID Type : ---
RAID Group : 3-3 ACP Pair : 1
Disk Mechs : HDD2002 HDD2102 HDD2202 HDD2302
FC-LUN : 0001424600001700 Port WWN : 50060e8014424655
HBA Node WWN: 50060b0000270399 HBA Port WWN: 50060b0000270398
Vol Group : --- Vol Manager : ---
Mount Points: ---
DMP Paths : --- CLPR : ---
Its not showing the disk Size :(
What could be the problem? Is there any thing specific to check in the XP side?
LUN size is 2.87TB as viewed through Command view XP.
Rgds
Sreekanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 07:14 AM
11-07-2008 07:14 AM
Re: How to create PV in vg version 2.x
You have plenty FC HBAs, but only single pathes to the EVA and XP LUNs - question is why?
You (or your storage team) should check the LUN presentation and the zoning configuration.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 07:20 AM
11-07-2008 07:20 AM
Re: How to create PV in vg version 2.x
What does diskinfo show for the disk ?
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 07:44 AM
11-07-2008 07:44 AM
Re: How to create PV in vg version 2.x
>>You have plenty FC HBAs, but only single pathes to the EVA and XP LUNs - question is why?
We need to measure the perfomance details also. Thats why we using Single HBA.
# 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
Shows the size as exact 2TB. But the actual LUN size is 2.74TB. See the attachement for more details.
Rgds
Sreekanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 08:44 AM
11-07-2008 08:44 AM
Re: How to create PV in vg version 2.x
And btw, consider to "zone away" all the unused array connections.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
