- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with scsimgr replace_wwid
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-16-2009 11:01 AM
тАО09-16-2009 11:01 AM
Problem with scsimgr replace_wwid
The problem with running replace_wwid is the /dev/disk/diskN number changes every time I run it which is a scripting nightmare. I need to know what the /dev/disk/diskN is when I go to vgimport the volume so the script won't fail every time it's run.
Question #1: Is there a way to just turn off this requirement to run replace_wwid?
Question #2: If not, is there a way to prevent the /dev/disk/diskN path changing every time it's validated with replace_wwid?
Question #3: If not, can someone suggest a way I can script this so my snapshot clones will work flawlessly everytime without me having to manually go back in and fix it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2009 06:41 PM
тАО09-16-2009 06:41 PM
Re: Problem with scsimgr replace_wwid
scsimgr replace_wwid -D /dev/disk/diskN dsf
should keep the same disk number.
Note: the word 'dsf' after disk name.
I haven't tried this myself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2009 09:11 AM
тАО09-17-2009 09:11 AM
Re: Problem with scsimgr replace_wwid
The only other option I can think of doing is a brute force approach writing a script that does on ioscan -m lun and does a scsimgr replace_wwid on every disk ID that is found associated with the NetApp. Once that is done, I can use the NetApp san lun show command to figure out what disk number is associated with the LUN I just mapped to the server. I would get errors with disk numbers that aren't in need of replacing, but if you have any feedback on a better approach, I'm open to suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2009 11:24 AM
тАО09-17-2009 11:24 AM
Re: Problem with scsimgr replace_wwid
What release of 11.31 are you on:
swlist *-OE
I vaguely remember the inital release of 11.31 having this problem with disks being incremented every time a new copy of a snapshot was produced, but I did think it was a long-time cured... (although maybe it was fixed in the HP disk arrays rather than the OS). Have you checked you're not supposed to have some different settings on your NetApp PAS for 11.31 (many other arrays have a different setting for 11.31 vs. 11.11)
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2009 02:16 PM
тАО09-17-2009 02:16 PM
Re: Problem with scsimgr replace_wwid
I have also installed all the latest patch bundles:
BUNDLE B.2009.08.25 Patch Bundle
FEATURE11i B.11.31.0903.334c Feature Enablement Patches for HP-UX 11i v3, March 2009
HWEnable11i B.11.31.0903.334d Hardware Enablement Patches for HP-UX 11i v3, March 2009
QPKAPPS B.11.31.0909.341a Applications Patches for HP-UX 11i v3, September 2009
Yes, the NetApp SAN settings are different with 11.31. I have the igroup set with ALUA mode turned on.