Skip to contentSkip to conversation

Changes to readsector0

DISCUSSION Jim Lester 3 participants 3 messages Jul 7, 2008 – Jul 8, 2008 Device mapper

lore
Share & tools
lore

Jim Lester

author
#0 lore raw

Could somebody help me understand what happened to readsector0? It used to work perfectly for our SAN systems. Then with 0.4.8 in SLES SP2 it would report all paths as down. Did something change that I missed? Thanks.

---
Jim Lester | Linux Product Specialist
[email protected]
(o) 952.294.2802
(c) 763.218.6012
Compellent Technologies | www.compellent.com

#1 lore raw

Hi,
I use readsector0, moving to SLES10 SP2 soon and am interested in your
problem description.
Could you give more details about the problem you're seeing with
readsector0?

--------------------------------------------------------
This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system.

-----Original Message-----

From: [email protected] [mailto:[email protected]] On Behalf Of Jim Lester
Sent: Monday, July 07, 2008 12:20 PM
To: [email protected]
Subject: [dm-devel] Changes to readsector0

Could somebody help me understand what happened to readsector0? It used to work perfectly for our SAN systems. Then with 0.4.8 in SLES SP2 it would report all paths as down. Did something change that I missed? Thanks.

---
Jim Lester | Linux Product Specialist
[email protected]
(o) 952.294.2802
(c) 763.218.6012
Compellent Technologies | www.compellent.com

#2 lore raw
Quoted 3 lines · John (OFT)

Hi,
I use readsector0, moving to SLES10 SP2 soon and am interested in your
problem description.

The manpage for SLES10 SP2 multipath.conf mentions this:

" path_checker The default method used to determine the paths’ state. Possible values are

directio Read the first sector with direct I/O.

.... snip ..

readsector0 (Deprecated) Read the first sector of the device.

Default value is directio. Using readsector0 as
path_checker is deprecated as it’s reported to not work correctly on certain devices.
"

So you should be able to replace 'readsector0' with 'directio' in your multipath.conf file.