- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: pvcreate error
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
Discussions
Discussions
Discussions
Forums
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
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
тАО08-02-2011 02:34 AM
тАО08-02-2011 02:34 AM
pvcreate error
Hi,
i get the following message while pvcreate operation.
#pvcreate /dev/rdisk/disk100
pvcreate: IO error on Physical Volume device "/dev/rdisk/disk100"
#pvcreate -f /dev/rdisk/disk100
pvcreate: Error: Couldn't read LVMREC for the physical volume "/dev/rdisk/disk100"
Any help would be aprreciated..
- Tags:
- pvcreate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2011 02:43 AM
тАО08-02-2011 02:43 AM
Re: pvcreate error
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
тАО08-02-2011 02:46 AM
тАО08-02-2011 02:46 AM
Re: pvcreate error
Hi,
what is the size of this LUN?
Pls share "ioscan -kfnC disk" and "diskinfo -v /dev/rdisk/disk100" outputs.
Also check that the LUN is properly shared from the storage with write permissions. Do this to find out whether it is writtable or not..
#dd if=/stand/vmunix of=/dev/rdisk/disk100 bs=1024k count=100
Also, do
# ioscan -m dsf
To find out related legacy device file and try pvcreate on it, share output.
Cheers...
Was this post useful? - You may click the KUDOS! star to say thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2011 03:02 AM
тАО08-02-2011 03:02 AM
Re: pvcreate error
Hi,
These are the outputs;
#ioscan -fuNC disk
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
disk 0 0/0/2/1.0x0.0x10 UsbScsiAdaptor CLAIMED LUN_PATH USB SCSI Stack Adaptor
disk 3 64000/0xfa00/0x0 esdisk CLAIMED DEVICE HP IR Volume
disk 6 64000/0xfa00/0x4 esdisk CLAIMED DEVICE IBM 1815 FAStT
disk 9 64000/0xfa00/0x5 esdisk CLAIMED DEVICE IBM 1815 FAStT
disk 11 64000/0xfa00/0x6 esdisk CLAIMED DEVICE IBM 1815 FAStT
disk 100 64000/0xfa00/0x7 esdisk CLAIMED DEVICE IBM 1815 FAStT
#diskinfo -v /dev/rdisk/disk100
SCSI describe of /dev/rdisk/disk100:
vendor: IBM
product id: 1815 FAStT
type: direct access
size: 6291456 Kbytes
bytes per sector: 512
rev level: 0914
blocks per disk: 12582912
ISO version: 0
ECMA version: 0
ANSI version: 5
removable media: no
response format: 2
(Additional inquiry bytes: (32)30 (33)39 (34)31 (35)34 (36)0 (37)0 (38)0 (39)0 (40)0 (41)0 (42)0 (43)0 (44)0 (45)0 (46)0 (47)0 (48)0 (49)0 (50)0 (51)0 (52)0 (53)0 (54)0 (55)0 (56)0 (57)0 (58)0 (59)60 (60)3 (61)0 (62)3 (63)20 (64)9 (65)0 (66)0 (67)0 (68)0 )
#dd if=/stand/vmunix of=/dev/rdisk/disk100 bs=1024k count=100
I/O error
1+0 records in
0+1 records out
#ioscan -m dsf
Persistent DSF Legacy DSF(s)
========================================
/dev/rdisk/disk100 /dev/rdsk/c1t0d2
/dev/rdsk/c2t0d2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2011 04:58 AM
тАО08-02-2011 04:58 AM
Re: pvcreate error
>> I/O error
OS is not able to write on this LUN disk....you need to check LUN assignment property from storage end and confirm that read/write permission is given to this LUN.
Regards,
HD
Was this post useful? - You may click the KUDOS! star to say thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2011 05:20 AM
тАО08-02-2011 05:20 AM
Re: pvcreate error
Please do
# scsimgr get_info -D /dev/rdisk/disk100
and
# scsimgr get_info all_lpt -D /dev/rdisk/disk100
and post.
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
тАО08-02-2011 05:28 AM
тАО08-02-2011 05:28 AM
Re: pvcreate error
@Hiren
i could not find lun's read/write permissions but when i assign disk to another server i can pvcreate on it.
@Torsten
output of commonds;
#scsimgr get_info -D /dev/rdisk/disk100
STATUS INFORMATION FOR LUN : /dev/rdisk/disk100
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) = 0x600a0b800047683200001f824e30fdb3
Serial number = "SP82882846 "
Vendor id = "IBM "
Product id = "1815 FAStT "
Product revision = "0914"
Other properties = ""
SPC protocol revision = 5
Open count (includes chr/blk/pass-thru/class) = 0
Raw open count (includes class/pass-thru) = 0
Pass-thru opens = 0
LUN path count = 2
Active LUN paths = 2
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 = 12582912
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
gulercan:/#scsimgr get_info all_lpt -D /dev/rdisk/disk100
STATUS INFORMATION FOR LUN PATH : lunpath8
Generic Status Information
SCSI services internal state = UNOPEN
Open close state = ACTIVE
Protocol = fibre_channel
EVPD page 0x83 description code = 1
EVPD page 0x83 description association = 0
EVPD page 0x83 description type = 3
World Wide Identifier (WWID) = 0x600a0b800047683200001f824e30fdb3
Total number of Outstanding I/Os = 0
Maximum I/O timeout in seconds = 30
Maximum I/O size allowed = 2097152
Maximum number of active I/Os allowed = 8
Maximum queue depth = 8
Queue full delay count = 0
Asymmetric state = NA
Device preferred path = No
Relative target port identifier = 32772
Target port group identifier = NA
STATUS INFORMATION FOR LUN PATH : lunpath10
Generic Status Information
SCSI services internal state = UNOPEN
Open close state = ACTIVE
Protocol = fibre_channel
EVPD page 0x83 description code = 1
EVPD page 0x83 description association = 0
EVPD page 0x83 description type = 3
World Wide Identifier (WWID) = 0x600a0b800047683200001f824e30fdb3
Total number of Outstanding I/Os = 0
Maximum I/O timeout in seconds = 30
Maximum I/O size allowed = 2097152
Maximum number of active I/Os allowed = 8
Maximum queue depth = 8
Queue full delay count = 0
Asymmetric state = NA
Device preferred path = No
Relative target port identifier = 1
Target port group identifier = NA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2011 05:41 AM
тАО08-02-2011 05:41 AM
Re: pvcreate error
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
тАО08-02-2011 05:43 AM
тАО08-02-2011 05:43 AM
Re: pvcreate error
# scsimgr get_attr -C lunpath -I 8 -a lunid
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
тАО08-02-2011 06:01 AM
тАО08-02-2011 06:01 AM
Re: pvcreate error
#scsimgr get_attr -C lunpath -I 8 -a lunid
SCSI ATTRIBUTES FOR LUN PATH : lunpath8
name = lunid
current =0x2000000000000 (LUN # 2, Peripheral Addressing)
default =
saved =
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2011 06:12 AM
тАО08-02-2011 06:12 AM
Re: pvcreate error
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
тАО08-02-2011 08:39 AM
тАО08-02-2011 08:39 AM
Re: pvcreate error
try to type following command
insf -e
Try to create pvcreate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2011 10:06 AM
тАО08-02-2011 10:06 AM
Re: pvcreate error
The array has the wrong host mode configured, so you can do NOTHING from the host side to change this.
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
тАО08-02-2011 12:31 PM
тАО08-02-2011 12:31 PM
Re: pvcreate error
Shalom,
Based on an end to end read of this thread, my conclusion is that though the disk is visible to the system, it is not properly presented to the system
I agree with the conclusion that it is an array problem and can not be resolved on the OS level.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2011 06:46 PM
тАО08-02-2011 06:46 PM
Re: pvcreate error
what is the exact model of this diskarray ?
> i could not find lun's read/write permissions but when i assign disk to another server i can pvcreate on it.
Another server running hp-ux 11iv3 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2011 10:24 PM
тАО08-02-2011 10:24 PM
Re: pvcreate error
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!
