- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ioscan -F
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
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
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-14-2003 07:04 AM
тАО08-14-2003 07:04 AM
ioscan -F
however when run the order of these fields does
not match the order listed in ioscan(1M) manpage.
Anyone got any ideas why or what the correct order is ?
Does this order differ between HP-UX versions ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2003 07:38 AM
тАО08-14-2003 07:38 AM
Re: ioscan -F
Can you post a sample of your ioscan -F output, and let us know which version of HP-UX you are using.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2003 07:57 AM
тАО08-14-2003 07:57 AM
Re: ioscan -F
HP-UX B.11.22 ia64
# ioscan -FunC disk
scsi:wsio:T:T:F:31:188:0:disk:sdisk:0/0/2/0.0.0.0:5 128 2 49 0 0 0 0 178 176 193 12 0 0 0 0 :0:root.sba.lba.side_ba.ide_ch.tgt.sdisk:sdisk:CLAIMED:DEVICE:TEAC DV-28E-B:0
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
scsi:wsio:T:T:F:31:188:131072:disk:sdisk:0/1/1/0.0.0:0 0 3 18 0 0 0 0 93 189 29 62 27 141 77 151 :1:root.sba.lba.mpt.tgt.sdisk:sdisk:CLAIMED:DEVICE:HP 36.4GST336753LC:2
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
scsi:wsio:T:T:F:31:188:135168:disk:sdisk:0/1/1/0.1.0:0 0 3 18 0 0 0 0 93 189 29 62 12 219 51 41 :2:root.sba.lba.mpt.tgt.sdisk:sdisk:CLAIMED:DEVICE:HP 36.4GST336753LC:2
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
scsi:wsio:T:T:F:31:188:204800:disk:sdisk:0/1/1/1.2.0:0 0 3 18 0 0 0 0 93 189 29 62 62 150 217 75 :3:root.sba.lba.mpt.tgt.sdisk:sdisk:CLAIMED:DEVICE:HP 36.4GST336753LC:3
/dev/dsk/c3t2d0 /dev/dsk/c3t2d0s1 /dev/dsk/c3t2d0s2 /dev/rdsk/c3t2d0 /dev/rdsk/c3t2d0s1 /dev/rdsk/c3t2d0s2
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2003 10:47 PM
тАО08-14-2003 10:47 PM
Re: ioscan -F
e.g.
# man - ioscan|col -b|sed -n '/Fields/,/follows:/p'|grep -Ev '^[[:space:]]+$|- [0-9] -|\(1M\)'
Fields
The -F option can be used to generate a compact listing of fields
separated by colons (:), useful for producing custom listings with
awk. Fields include the module's bus type, cdio, is_block, is_char,
is_pseudo, block major number, character major number, minor number,
class, driver, hardware path, identify bytes, instance number, module
path, module name, software state, hardware type, a brief description,
and card instance. If a field does not exist, consecutive colons hold
the field's position. Fields are defined as follows:
Compared to one line of ext_bus entries:
# ioscan -kFCext_bus|tail -1
pci:wsio:F:F:F:0:0:393216:ext_bus:fcpdev:1/10/0/0.8.0.255.0:2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 :6:r
oot.sba.lba.fcT1.fcp.fcpdev:fcpdev:CLAIMED:INTERFACE:FCP Device Interface:6
How are you parsing the output.
If you use Perl there is a CPAN module that could greatly ease the task.
Please, check the HPUX::Ioscan module:
http://www.cpan.org/modules/by-module/HPUX/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2003 10:49 PM
тАО08-14-2003 10:49 PM
Re: ioscan -F
The -F option can be used to generate a compact listing of fields
separated by colons (:), useful for producing custom listings with
awk. Fields include the module's bus type, cdio, is_block, is_char,
is_pseudo, block major number, character major number, minor number,
class, driver, hardware path, identify bytes, instance number, module
path, module name, software state, hardware type, a brief description,
and card instance. If a field does not exist, consecutive colons hold
the field's position. Fields are defined as follows:
I believe that this is a more accurate order than the section that follows.
Its just a poorly phrased man page.