- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- System Administration
- >
- Re: Remove a SAN LUN device from Linux
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
05-13-2009 11:09 PM
05-13-2009 11:09 PM
What we had to do: We had to resize a LUN for OracleASM.
What we did: We created a new LUN with the same LUN number a previous deleted LUN on the same host.
Added the new WWID to the multipath.conf.
Ran /opt/hp/hp_fibreutils/hp_rescan -a
and multipath -v2
What we've seen: after the multipath -v2 command we have seen, that the size of the LUN isn't the same as we configured on the EVA. It was the same size the LUN had before.
We had changed the LUN number on the EVA and after that the right size was recognized...
From my point of view there seems to be data stored in the devices somehow. I guess, that after a reboot this would work okay - but a reboot was not a option for us...
Is there a prooven way to remove the multipath, device mapper devices?
Thanks for your help in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-14-2009 12:34 AM
05-14-2009 12:34 AM
SolutionTo fully purge the system's information about a particular LUN, you should also remove the /dev/sd* devices underlying the multipath device.
Please see this RedHat Knowledge Base document:
http://kbase.redhat.com/faq/docs/DOC-3942
Summary: to remove a device:
echo 1 > /sys/block/
Of course, you should use the "multipath -l" listing to identify the correct /dev/sd* devices *before* removing the multipath device.
Then use hp_rescan or the methods listed in the above-mentioned RHKB document to re-scan the storage. That should re-create the /dev/sd* devices (but the device names are not guaranteed to be the same as before).
Then re-create the multipath device.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-14-2009 12:49 AM
05-14-2009 12:49 AM
Re: Remove a SAN LUN device from Linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-14-2009 12:50 AM
05-14-2009 12:50 AM
Re: Remove a SAN LUN device from Linux
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP