- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ioscan in SAM takes 10 minutes
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
тАО09-14-2008 09:57 PM
тАО09-14-2008 09:57 PM
When I issue ioscan -funC disk at the command line, the output normally takes about only 10 seconds to complete. However, when I do a SAM > Disks and Filesystems > Volume Groups and the system starts to scan I/O channels for the disks, it takes about 10 minutes just to have an output. Has anyone experienced this? What's the fix to this problem (if indeed it is)?
Please help.
ROMMEL
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2008 10:26 PM
тАО09-14-2008 10:26 PM
Re: ioscan in SAM takes 10 minutes
The disks and filesystems section in SAM has *always* been painfully slow (it does more than just an ioscan), but lets be sure that you don't have an ioscan problem anyway.
How long does:
ioscan -f
and ioscan -fn
take? If they only take about 10 seconds then it's just slow old SAM. If it takes longer you may have some bad devices attached somewhere (quite often its down to bad zoning on fibre channel switches)
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2008 11:28 PM
тАО09-14-2008 11:28 PM
Re: ioscan in SAM takes 10 minutes
Hi Duncan
Can you please explain it in detail. What is the main difference b/w ioscan on command line and ioscan from SAM.
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2008 11:47 PM
тАО09-14-2008 11:47 PM
Re: ioscan in SAM takes 10 minutes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2008 11:56 PM
тАО09-14-2008 11:56 PM
Re: ioscan in SAM takes 10 minutes
1) Start SAM
2) Select Disks and Filesystems
3) From another window go to the sam log directory:
cd /var/sam/log
4) Copy out the sam log and zero the file. Then tail the file so you can watch progress
cp samlog samlog.bak
>samlog
tail -f samlog
5) Back in your SAM session select Disk Devices and immmediately switch back to your other window - you'll now be able to watch the progress of the SAM scanning progress and watch all the other things it does....
6) When done just use CTRL-C to exit the tail -f
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2008 12:01 AM
тАО09-15-2008 12:01 AM
SolutionIdentify the path to the FC cards using:
ioscan -funC fc
Then just run the scans on the hardware paths of the FC cards and below with:
ioscan -fnH
e.g.
ioscan -fnH 0/4/2/0
Do those take about 10 minutes or only one of them?
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2008 12:08 AM
тАО09-15-2008 12:08 AM
Re: ioscan in SAM takes 10 minutes
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2008 12:55 AM
тАО09-15-2008 12:55 AM
Re: ioscan in SAM takes 10 minutes
Usually this is a sign of termination problems in the scsi chain or missing disks that were presented and now not present on storage.
It can also be caused by a failed disk.
Check all these issues and proceed to solution.
I have experienced this more times than I can count.
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
тАО09-15-2008 03:08 AM
тАО09-15-2008 03:08 AM
Re: ioscan in SAM takes 10 minutes
That's why I never use ioscan without the -k except when adding/deleting devices with power on. Even then, I limit the scope of ioscan to just a hardware path or category:
ioscan -knfC disk
ioscan -knfH 1/0/12/1/1
The -k guarentees instant output and reflects what the kernel knows about the devices. There is no reason to hard-scan all the devices unless you are rezoning a SAN switch or adding a hotswap disk.
SAM's volume group section is indeed very slow on large systems as it not only runs a full ioscan but also checks *every* physical disk and volume group. If you have several hundred disks, it will indeed be very slow. I would recommend SAM to manage volume groups and disks on large systems. The command line is much faster.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2008 03:55 AM
тАО09-15-2008 03:55 AM
Re: ioscan in SAM takes 10 minutes
Can you post the output of
# ioscan -fnk
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!