- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Pvcreate > Unable to query the I/O interface: ...
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
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
тАО12-02-2010 08:02 AM
тАО12-02-2010 08:02 AM
Pvcreate > Unable to query the I/O interface: System call error
System: ia64 hp server rp3600
HPUX: B.11.31.1009
Brand New Server
Executed this script to mirror root vg00 (/dev/rdsk/c2t7d0) from SMH:
/usr/sbin/idisk -q -w -f /var/sam/fsweb.idf /dev/rdsk/c2t6d0 &&
/usr/sbin/insf -e -v -H 0/4/1/0.0.0.6.0 &&
/usr/sbin/pvcreate /dev/rdsk/c2t6d0s2 &&
/usr/sbin/vgextend -A y -x y /dev/vg00 /dev/dsk/c2t6d0s2 &&
/usr/sbin/mkboot -e -l /dev/rdsk/c2t6d0 &&
/usr/sbin/mkboot -a "hpux" /dev/rdsk/c2t6d0 &&
/usr/sbin/lvextend -s -m 1 /dev/vg00/lvol1 /dev/dsk/c2t6d0s2 &&
/usr/sbin/lvextend -s -m 1 /dev/vg00/lvol2 /dev/dsk/c2t6d0s2 &&
/usr/sbin/lvextend -s -m 1 /dev/vg00/lvol3 /dev/dsk/c2t6d0s2 &&
/usr/sbin/lvextend -s -m 1 /dev/vg00/lvol4 /dev/dsk/c2t6d0s2 &&
/usr/sbin/lvextend -s -m 1 /dev/vg00/lvol5 /dev/dsk/c2t6d0s2 &&
/usr/sbin/lvextend -s -m 1 /dev/vg00/lvol6 /dev/dsk/c2t6d0s2 &&
/usr/sbin/lvextend -s -m 1 /dev/vg00/lvol7 /dev/dsk/c2t6d0s2 &&
/usr/sbin/lvextend -s -m 1 /dev/vg00/lvol8 /dev/dsk/c2t6d0s2 &&
/usr/sbin/lvlnboot -R /dev/vg00 &&
boot -a 0/4/1/0.0.0.6.0 &&
/usr/bin/cp -p /stand/bootconf /stand/bootconf.fsweb.old &&
/usr/bin/echo "l /dev/dsk/c2t6d0s2" >> /stand/bootconf
RESULTS:
# pg /var/sam/fsweb:idf
3
EFI 500MB
HPUX 100%
HPSP 400MB
line_1 executes correctly, verified:
diskinfo -b /dev/rdsk/c2t6d0s1 | awk '{print $1 / (1024)}' = 499.969
diskinfo -b /dev/rdsk/c2t6d0s2 | awk '{print $1 / (1024)}' = 139115
diskinfo -b /dev/rdsk/c2t6d0s3 | awk '{print $1 / (1024)}' = 399.375
# cd /dev/dsk
# ll
total 0
brw-r----- 1 bin sys 31 0x020000 Oct 5 06:45 c2t0d0
brw-r----- 1 bin sys 31 0x021000 Oct 5 06:45 c2t1d0
brw-r----- 1 bin sys 31 0x022000 Oct 5 06:45 c2t2d0
brw-r----- 1 bin sys 31 0x023000 Oct 5 06:45 c2t3d0
brw-r----- 1 bin sys 31 0x024000 Oct 5 06:45 c2t4d0
brw-r----- 1 bin sys 31 0x025000 Oct 5 06:45 c2t5d0
brw-r----- 1 bin sys 31 0x026000 Oct 5 06:45 c2t6d0
brw-r----- 1 bin sys 31 0x026001 Dec 2 08:24 c2t6d0s1
brw-r----- 1 bin sys 31 0x026002 Dec 2 08:24 c2t6d0s2
brw-r----- 1 bin sys 31 0x026003 Dec 2 08:24 c2t6d0s3
brw-r----- 1 bin sys 31 0x027000 Oct 5 06:45 c2t7d0
brw-r----- 1 bin sys 31 0x027001 Oct 5 06:45 c2t7d0s1
brw-r----- 1 bin sys 31 0x027002 Oct 5 06:45 c2t7d0s2
brw-r----- 1 bin sys 31 0x027003 Oct 5 06:45 c2t7d0s3
brw-r----- 1 bin sys 31 0x030000 Oct 5 06:45 c3t0d0
# cd /dev/rdsk
# ll
total 0
crw-r----- 1 bin sys 188 0x020000 Oct 5 06:45 c2t0d0
crw-r----- 1 bin sys 188 0x021000 Oct 5 06:45 c2t1d0
crw-r----- 1 bin sys 188 0x022000 Oct 5 06:45 c2t2d0
crw-r----- 1 bin sys 188 0x023000 Oct 5 06:45 c2t3d0
crw-r----- 1 bin sys 188 0x024000 Oct 5 06:45 c2t4d0
crw-r----- 1 bin sys 188 0x025000 Oct 5 06:45 c2t5d0
crw-r----- 1 bin sys 188 0x026000 Dec 2 08:30 c2t6d0
crw-r----- 1 bin sys 188 0x026001 Dec 2 08:30 c2t6d0s1
crw-r----- 1 bin sys 188 0x026002 Dec 2 08:30 c2t6d0s2
crw-r----- 1 bin sys 188 0x026003 Dec 2 08:24 c2t6d0s3
crw-r----- 1 bin sys 188 0x027000 Oct 5 06:45 c2t7d0
crw-r----- 1 bin sys 188 0x027001 Oct 5 06:45 c2t7d0s1
crw-r----- 1 bin sys 188 0x027002 Oct 5 06:45 c2t7d0s2
crw-r----- 1 bin sys 188 0x027003 Oct 5 06:45 c2t7d0s3
crw-r----- 1 bin sys 188 0x030000 Oct 5 06:45 c3t0d0
line_2 executes
line_3 fails execution, error reported:
pvcreate: Unable to query the I/O interface: System call error.
Script aborts.
Execute the same script from command line. Same error.
Execute the pvcreate with -fB - same error.
Looked everywhere (including searching forums) - nada? Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2010 08:10 AM
тАО12-02-2010 08:10 AM
Re: Pvcreate > Unable to query the I/O interface: System call error
If the disk contains a filesystem, you need to use "-f" too.
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
тАО12-02-2010 08:16 AM
тАО12-02-2010 08:16 AM
Re: Pvcreate > Unable to query the I/O interface: System call error
pvcreate -fB /dev//dev/rdsk/c2t6d0s2
Same error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2010 08:21 AM
тАО12-02-2010 08:21 AM
Re: Pvcreate > Unable to query the I/O interface: System call error
With this double slash?
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
тАО12-02-2010 08:24 AM
тАО12-02-2010 08:24 AM
Re: Pvcreate > Unable to query the I/O interface: System call error
Reissued to verify:
# pvcreate -fB /dev/rdsk/c2t6d0s2
pvcreate: Unable to query the I/O interface: System call error.
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2010 08:28 AM
тАО12-02-2010 08:28 AM
Re: Pvcreate > Unable to query the I/O interface: System call error
I think there is a line missing:
efi_fsinit -d /dev/rdsk/...s1
You also did not set the AUTO file.
You should also use "setboot" to add the alternate disk to the boot menu.
(adjust this line:
boot -a 0/4/1/0.0.0.6.0 && )
BTW, I prefer to use the hardware mirror (Integrated RAID) on this type of server - this makes your life much easier.
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
тАО12-02-2010 08:55 AM
тАО12-02-2010 08:55 AM
Re: Pvcreate > Unable to query the I/O interface: System call error
The 'boot' command is in the script - 3rd line from bottom.
You are correct, the "efi_fsinst" command is not there, but rightly, shouldn't this command after the mkboot commands? Is this required prior to the pvcreate? As this cmd operates on 's1' and not 's2', I don't see/know how this would have an effect on the pvcreate cmd for the 's2' partition. I will factor this cmd into the next iteration of the script.
Maybe there is an issue between legacy and agile (persistent) addressing that is creating this error? I could have issued the following cmd:
pvcreate -fB /dev/rdisk/disk14_p2
I didn't because the original script began using legacy addressing and uses it throughout. As noted, "...you should mix these to addressing schemes".
I don't know at this point. Lvmtab was not updated prior to the point where the error occurs. I'm thinking I could delete the /dev/rdsk entries at this point and restart the process manually using agile (persistent) addressing - see where that gets me.
Shooting in the dark at this point, as I don't know what the pvcreate "...IO interface. System call error." is, or where to look and find out more info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2010 09:18 AM
тАО12-02-2010 09:18 AM
Re: Pvcreate > Unable to query the I/O interface: System call error
No idea - but maybe there is a special "hidden" character in this line of the script???
Beside this problem I would still recommend to use the hardware RAID.
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
тАО12-03-2010 06:39 AM
тАО12-03-2010 06:39 AM
Re: Pvcreate > Unable to query the I/O interface: System call error
This morning, I came in and undid all the commands from the first two lines of the script (noted above in the OP) and verified everything was clean. I then re-executed the commands using the new agile (persistent) addressing only.
The attached file includes all the steps (both creation and verification) that I used to SUCCESSFULLY create a mirror of the root disk device.
Apparently, under the new ia64 OS (B.11.31.1009), the pvcreate command will only execute correctly on the agile (persistent) disk devices by default. This is the only explaination I have at this point.
Needless to say, at this point, I have a successfully mirrored root disk which I have verified.
Unless someone else has an explaination or adds additional comments, I will close this post on Dec 7, 2010.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2010 04:18 AM
тАО12-08-2010 04:18 AM
Re: Pvcreate > Unable to query the I/O interface: System call error
Lesson learned.