- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- multipath
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
тАО11-04-2009 06:30 PM
тАО11-04-2009 06:30 PM
multipath
cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2009 12:14 AM
тАО11-06-2009 12:14 AM
Re: multipath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2009 01:46 AM
тАО11-08-2009 01:46 AM
Re: multipath
"command to list your devices" |while reand line
do
"command to offline the divices" $line
done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2014 08:36 PM
тАО04-27-2014 08:36 PM
Re: multipath
Let me get one step back, how do I take a single path offline using dm multipath command?
Then how do I put it back online?
I need to change the domain ID of a Switch so I need to take the switch offline.
Before that, I want to make sure all i/o through that switch are stopped.
OS is RHEL 5 and RHEL 6
Thanks,
Van
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2014 05:28 AM - edited тАО04-28-2014 05:32 AM
тАО04-28-2014 05:28 AM - edited тАО04-28-2014 05:32 AM
Re: multipath
In RHEL 5. you'll need a version of dm-multipath that is patched to support the -k option of multipathd; I think it was added at about RHEL 5.4. In RHEL 6, this functionality was included in the initial release.
Edit: sorry, the -k option was added to multipathd in the middle of the RHEL 4 release cycle, so it should be included with both RHEL 5 and 6 of any patch level.
For example, to stop all I/O through /dev/sdx, you can run:
# multipathd -k
multipathd> del path sdx
multipathd>
To exit the multipathd> command prompt, press Control-D.
To re-enable:
# multipathd -k
multipathd> add path sdx
multipathd>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2014 06:02 PM
тАО04-28-2014 06:02 PM
Re: multipath
Hi MK:
Thanks for directing me to the multipathd -k command.
From the manual, del path stops monitoring a path, and add path puts back the path to list of monitored paths.
There is another pair of commands.
fail path sets the path into failed state.
reinstate path resumes path from failed state.
Should I use fail path and reinstate path instead?
Thanks for sharing your experience.
Van
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2014 02:43 PM
тАО05-09-2014 02:43 PM
Re: multipath
Hmm... my test VM did not have those commands, but they sound even better for your purpose than using the add/del path commands. Try them... if they work, fine, if not, you can use add/del path instead.
Looks like I've got to update my test VM!