- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- How to clear detached device information using fcm...
-
- Forums
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- Infrastructure Solutions German
- L’Avenir de l’IT
- IT e Trasformazione Digitale
- Enterprise Topics
- ИТ для нового стиля бизнеса
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Forums
-
Blogs
-
InformationEnglish
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-09-2012 07:46 AM
04-09-2012 07:46 AM
How to clear detached device information using fcmsutil?
Guys,
Recently I detached a tape library connected on the switch, and I get syslog from the box:
Apr 7 16:45:01 ompj vmunix: 0/2/1/0: 'World-wide name' (unique identifier) for device at nport ID 0x10f00 has
Apr 7 16:45:01 ompj vmunix: changed. If the device has been replaced intentionally, please use the
Apr 7 16:45:01 ompj vmunix: fcmsutil(1M) command's replace_dsk option to allow the new device to be used.
Apr 7 16:45:01 ompj vmunix: 0/2/1/0: Fibre Channel Driver detected a parse error in the FLOGI/PLOGI response
Apr 7 16:45:01 ompj vmunix: returned by nport ID 0x10f00. FLOGI/PLOGI Fail Code = 0x6.
and event.log told:
Summary:
Adapter at hardware path 0/2/1/0 : Unable to open previously opened target
Description of Error:
lbolt value: 789267253
Unable to access previously accessed target
nport ID = 0x11300
It seemed that I need to clear the library configuration from fibre environment, and I know that fcmsutil has such function, but I don't know how. Could some one please explain fcmsutil to me?
Regards
Stephen
- Tags:
- fcmsutil
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-11-2012 01:48 PM
04-11-2012 01:48 PM
Re: How to clear detached device information using fcmsutil?
The /opt/fcms/bin/tdlist command will show you a list of FC devices - you'll see something like /dev/td0, /dev/td1 corresponding to each of your FC adapters. You'd be looking for the path there that corresponds to the 0/2/1/0 hardware path.
The replace_dsk command would go something like this:
fcmsutil /dev/td0 replace_dsk 0x10f00
What's sort of odd here, though, is that you're saying that the device is detached, but the driver seems to be detecting a device with a WWN at that nport ID, indicating that a new device has been put in.
If you really did detach the device and not replace it with anything else, then you may be looking for "rmsf" - remove special files. It's the opposite of "insf." I'm not sure how that interacts with fcms, but it may be worth a try.
In your "ioscan -fn" output you should see an entry (or two, or few) showing NO_HW where the tape library used to be, at 0/2/1/0. So the rmsf command would be:
rmsf -H 0/2/1/0
Make sure you double-check this with "ioscan -fn" ahead of time, though. Don't rmsf a CLAIMED device. This will remove /dev files for that hardware path, which may be enough to get FCMS to stop looking for it - it should not show up as NO_HW in ioscan anymore, nor in "tdlist", I expect.
- Tags:
- tdlist
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-15-2012 11:58 PM
05-15-2012 11:58 PM
Re: How to clear detached device information using fcmsutil?
My advice is
#rmsf -x
Removes all detached devices.
- Tags:
- rmsf
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP