- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- determining channels on disks
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
07-28-2003 05:49 AM
07-28-2003 05:49 AM
determining channels on disks
We have a disk array on two different fibre channels. We have a large storage arrays with many disks. I want to alternate the channel for the disks on the array. For example, disk1 runs on first channel and disk2 runs on second channel. I use ioscan -funC disk but list over 100 disks. The question is if there a simplier command that will give me the list of disk and which 2 channels the disks resides on. In other words, disk one should have path c1txdx and c2txdx. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 05:51 AM
07-28-2003 05:51 AM
Re: determining channels on disks
You will still get 100, but you'll only get disks.
What you won't know is whether the disk is claimed or working right.
You can put the output through grep to see one channel or the other.
ll /dev/dsk | grep c2
diskinfo might be of some use to you.
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
07-28-2003 05:54 AM
07-28-2003 05:54 AM
Re: determining channels on disks
cd /dev/dsk
lssf *
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 08:01 AM
07-28-2003 08:01 AM
Re: determining channels on disks
I do something like this:
syminq |grep "5669 65" | grep -v 11520 |sort -k6,6 >syminq.65.sort6.6
Where the "5669 65" is the REV and first 2 digits of the serial and 11520 is the capacity of you gatekeeper disk.
That will give you as sorted list of devices - including the multiple paths - then to get a list of just the real physical ones (not alternates):
uniq -f 5 syminq.65.sort6.6 syminq.65.sort6.6.uniq
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 11:00 PM
07-28-2003 11:00 PM
Re: determining channels on disks
This is very common problem and solution is laying with Storage vendor.
If you are using some storage managemnt s/w then there must be some command to do this like inq and syminq for EMC storage.
Sunil