- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: DM multipath on Linux
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
тАО03-25-2009 06:33 AM
тАО03-25-2009 06:33 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 08:07 AM
тАО03-25-2009 08:07 AM
Re: DM multipath on Linux
Then execute "multipath -f mpathXX" where mpathXX is the name of multipath device whose paths you are reducing, or "multipath -F" to remove all non-functional paths and devices from the multipath tracking at once.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 08:36 AM
тАО03-25-2009 08:36 AM
Re: DM multipath on Linux
mpath1 (12345)
[size=10 GB][features="0"][hwhandler="0"]
\_ round-robin 0 [prio=3][active]
\_ 1:0:0:35 sdc 4:32 [active][ready]
\_ 1:0:1:35 sde 4:64 [active][ready]
\_ 2:0:0:35 sdg 4:96 [active][ready]
\_ 2:0:1:35 sdi 4:128 [failed][faulty]
mpath0 (67894)
[size=10 GB][features="0"][hwhandler="0"]
\_ round-robin 0 [prio=3][active]
\_ 1:0:0:0 sdb 4:16 [active][ready]
\_ 1:0:1:0 sdd 4:48 [active][ready]
\_ 2:0:0:0 sdf 4:80 [active][ready]
\_ 2:0:1:0 sdh 4:112 [failed][faulty]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 11:45 AM
тАО03-25-2009 11:45 AM
Re: DM multipath on Linux
so make the masking/zoning changes mention above first so as to have one path each from each of the HBAa.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2009 11:53 PM
тАО03-26-2009 11:53 PM
Re: DM multipath on Linux
To tell the system that a certain disk device is not going to come back, you should write an "1" to the "delete" pseudo-file in the sysfs directory of that disk device.
In your situation:
echo 1 > /sys/class/scsi_disk/2\:0\:1\:35/device/delete
echo 1 > /sys/class/scsi_disk/2\:0\:1\:0/device/delete
Don't bother to "cd" to the device directory, because that directory will cease to exist immediately after you enter that command.
As far as I've understood, the multipath system should automatically receive a notification of the device deletion. If the multipath command still displays the failed links, try flushing the multipath devices again.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2009 07:21 AM
тАО04-01-2009 07:21 AM
Re: DM multipath on Linux
is scsi_device same as scsi_disk under /sys/...?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2009 09:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2009 10:29 AM
тАО04-01-2009 10:29 AM