[Bug 1032550] Re: [multipath] failed to get sysfs information

2016-03-14 Thread Peter Petrakis
** Changed in: multipath-tools (Ubuntu)
 Assignee: Peter Petrakis (peter-petrakis) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2015-01-08 Thread Ronny Trommer
I can confirm this issue at

root@myhost:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 14.04.1 LTS
Release:14.04
Codename:   trusty

root@myhost:~# dpkg -s multipath-tools
Package: multipath-tools
Status: install ok installed
Priority: extra
Section: admin
Installed-Size: 626
Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
Architecture: amd64
Version: 0.4.9-3ubuntu7.2
Depends: libaio1 (= 0.3.106-8), libc6 (= 2.14), libdevmapper1.02.1 (= 
2:1.02.36), libreadline6 (= 6.0), udev ( 136-1), initscripts (= 2.85-16), 
kpartx (= 0.4.9-3ubuntu7.2), lsb-base (= 3)
Suggests: multipath-tools-boot
Conflicts: multipath-tools-boot (= 0.4.8+git0.761c66f-2~), 
multipath-tools-initramfs (= 1.0.1)
Conffiles:
 /etc/init.d/multipath-tools-boot e3b1a4949a282ceeda254c185f780002
 /etc/init.d/multipath-tools b0f5ff36184c823ec91ffd8b36133949
Description: maintain multipath block device access
 These tools are in charge of maintaining the disk multipath device maps and
 react to path and map events.
 .
 If you install this package you may have to change the way you address block
 devices. See README.Debian for details.
Homepage: http://christophe.varoqui.free.fr/
Original-Maintainer: Debian LVM Team 
pkg-lvm-maintain...@lists.alioth.debian.org

Error message in syslog:

Jan  8 12:03:59 myhost multipathd: sde: failed to get sysfs information
Jan  8 12:03:59 myhost multipathd: sde: unusable path

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2015-01-07 Thread Jakub Pavlik
I can confirm this issue at

root@cpt151:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 14.04.1 LTS
Release:14.04
Codename:   trusty


root@cpt151:~# dpkg -s multipath-tools
Package: multipath-tools
Status: install ok installed
Priority: extra
Section: admin
Installed-Size: 626
Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
Architecture: amd64
Version: 0.4.9-3ubuntu7.2
Depends: libaio1 (= 0.3.106-8), libc6 (= 2.14), libdevmapper1.02.1 (= 
2:1.02.36), libreadline6 (= 6.0), udev ( 136-1), initscripts (= 2.85-16), 
kpartx (= 0.4.9-3ubuntu7.2), lsb-base (= 3)
Suggests: multipath-tools-boot
Conflicts: multipath-tools-boot (= 0.4.8+git0.761c66f-2~), 
multipath-tools-initramfs (= 1.0.1)
Conffiles:
 /etc/init.d/multipath-tools-boot e3b1a4949a282ceeda254c185f780002
 /etc/init.d/multipath-tools b0f5ff36184c823ec91ffd8b36133949
Description: maintain multipath block device access
 These tools are in charge of maintaining the disk multipath device maps and
 react to path and map events.
 .
 If you install this package you may have to change the way you address block
 devices. See README.Debian for details.
Homepage: http://christophe.varoqui.free.fr/
Original-Maintainer: Debian LVM Team 
pkg-lvm-maintain...@lists.alioth.debian.org

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2013-01-03 Thread Ronald Moesbergen
Peter,

First: happy new year!

I've been doing some more tests to track down the cause of this bug.
Since it looks like a kernel bug, I tried reproducing this with kernel
3.5.0, version 3.5.0-21.32~precise1. I could reproduce the faulty paths
that multipathd was unable to remove, however: there were no hanging
processes this time and thus no kernel crash.. which is an improvement.
During the test I did see this happening:

LUN-DATABASE (36006016061e02e003cf1aca4ae07e211) dm-1 DGC,VRAID
size=200G features='1 queue_if_no_path' hwhandler='1 emc' wp=rw
|-+- policy='round-robin 0' prio=130 status=active
| |- 4:0:1:1 sdi 8:128 active ready running
| `- #:#:#:# -   #:#   active faulty running
`-+- policy='round-robin 0' prio=10 status=enabled
  |- 4:0:0:1 sdg 8:96  active ready running
  `- #:#:#:# -   #:#   active faulty running
LUN-LOGGING (36006016061e02e000286c1adae07e211) dm-2 ,
size=20G features='1 queue_if_no_path' hwhandler='1 emc' wp=rw
|-+- policy='round-robin 0' prio=130 status=active
| |- #:#:#:# -   #:#   failed faulty running
| `- 4:0:0:0 sde 8:64  active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
  |- #:#:#:# -   #:#   active faulty running
  `- 4:0:1:0 sdh 8:112 active ready running

As you can see, multipathd fails to remove the 'faulty' paths from the
device-mapping again. However, for some reason this didn't lead to
processes stuck in 'D' state this time. During this, the following
message was logged repeatedly:

Jan  3 10:24:14 ealxs00161 multipathd: sdd: failed to get sysfs information
Jan  3 10:24:14 ealxs00161 multipathd: sdd: unusable path

So multipathd was retrying the removal, but it failed every time. After
bringing the path back up, it restored OK and everything was fine again:

LUN-DATABASE (36006016061e02e003cf1aca4ae07e211) dm-1 DGC,VRAID
size=200G features='1 queue_if_no_path' hwhandler='1 emc' wp=rw
|-+- policy='round-robin 0' prio=130 status=active
| |- 4:0:1:1 sdi 8:128 active ready running
| `- 3:0:0:1 sdc 8:32  active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
  |- 4:0:0:1 sdg 8:96  active ready running
  `- 3:0:1:1 sdf 8:80  active ready running
LUN-LOGGING (36006016061e02e000286c1adae07e211) dm-2 DGC,VRAID
size=20G features='1 queue_if_no_path' hwhandler='1 emc' wp=rw
|-+- policy='round-robin 0' prio=130 status=active
| |- 3:0:1:0 sdd 8:48  active ready running
| `- 4:0:0:0 sde 8:64  active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
  |- 3:0:0:0 sdb 8:16  active ready running
  `- 4:0:1:0 sdh 8:112 active ready running

After this, failing over again worked just fine, the paths that failed
to be removed the last time were now removed without problems... Both
machines survived about 10 up/down testruns. I'll attach the syslog of
this run shortly.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2013-01-03 Thread Ronald Moesbergen
Syslog for server2, the same testrun also on kernel 3.5.0

** Attachment added: syslog.server2
   
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+attachment/3473175/+files/syslog.server2

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2013-01-03 Thread Ronald Moesbergen
Syslog of the last testrun on kernel 3.5.0. Test started @ 10:15


** Attachment added: syslog.server1
   
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+attachment/3473174/+files/syslog.server1

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-12-21 Thread Ronald Moesbergen
Peter,

I got it to crash again, this time with a nice kernel dump. The dump can
be fetched here:

http://www.rmoesbergen.nl/linux-image-3.2.0-34-generic.0.crash.gz

The crash itself looked like this:

Dec 21 11:07:32 ealxs00161 kernel: [63272.392812] sd 4:0:1:1: emc: ALUA 
failover mode detected
Dec 21 11:07:32 ealxs00161 kernel: [63272.392820] sd 4:0:1:1: emc: at SP B Port 
1 (owned, default SP B)
Dec 21 11:07:32 ealxs00161 kernel: [63272.393180] sd 3:0:0:1: emc: ALUA 
failover mode detected
Dec 21 11:07:32 ealxs00161 kernel: [63272.393187] sd 3:0:0:1: emc: at SP B Port 
0 (owned, default SP B)
Dec 21 11:10:36 ealxs00161 kernel: [63455.641431] qla2xxx 
[:07:00.0]-500b:3: LOOP DOWN detected (2 3 0 0).
Dec 21 11:10:52 ealxs00161 multipathd: sdf: remove path (uevent)
Dec 21 11:10:52 ealxs00161 kernel: [63471.548255]  rport-3:0-1: blocked FC 
remote port time out: removing target and saving binding
Dec 21 11:10:52 ealxs00161 kernel: [63471.676065]  rport-3:0-0: blocked FC 
remote port time out: removing target and saving binding
Dec 21 11:11:08 ealxs00161 cimserver[2079]: Authentication failed for user=root.
Dec 21 11:11:10 ealxs00161 cimserver[2079]: Authentication failed for user=root.
Dec 21 11:13:28 ealxs00161 kernel: [63627.745648] INFO: task jbd2/dm-1-8:1530 
blocked for more than 120 seconds.
Dec 21 11:13:28 ealxs00161 kernel: [63627.746025] echo 0  
/proc/sys/kernel/hung_task_timeout_secs disables this message.
Dec 21 11:13:28 ealxs00161 kernel: [63627.756371] jbd2/dm-1-8 D 
8803aa11a620 0  1530  2 0x
Dec 21 11:13:28 ealxs00161 kernel: [63627.756380]  880416141ac0 
0046 880416141a60 88042ee137c0
Dec 21 11:13:28 ealxs00161 kernel: [63627.756388]  880416141fd8 
880416141fd8 880416141fd8 000137c0
Dec 21 11:13:28 ealxs00161 kernel: [63627.756395]  81c0d020 
880415ef9700 880416141a90 88042ee14080
Dec 21 11:13:28 ealxs00161 kernel: [63627.756403] Call Trace:
Dec 21 11:13:28 ealxs00161 kernel: [63627.756416]  [81117230] ? 
__lock_page+0x70/0x70
Dec 21 11:13:28 ealxs00161 kernel: [63627.756431]  [81659ebf] 
schedule+0x3f/0x60
Dec 21 11:13:28 ealxs00161 kernel: [63627.756441]  [81659f6f] 
io_schedule+0x8f/0xd0
Dec 21 11:13:28 ealxs00161 kernel: [63627.756451]  [8111723e] 
sleep_on_page+0xe/0x20
Dec 21 11:13:28 ealxs00161 kernel: [63627.756460]  [8165a78f] 
__wait_on_bit+0x5f/0x90
Dec 21 11:13:28 ealxs00161 kernel: [63627.756470]  [811173a8] 
wait_on_page_bit+0x78/0x80
Dec 21 11:13:28 ealxs00161 kernel: [63627.756481]  [8108ad60] ? 
autoremove_wake_function+0x40/0x40
Dec 21 11:13:28 ealxs00161 kernel: [63627.756492]  [811174bc] 
filemap_fdatawait_range+0x10c/0x1a0
Dec 21 11:13:28 ealxs00161 kernel: [63627.756503]  [8111757b] 
filemap_fdatawait+0x2b/0x30
Dec 21 11:13:28 ealxs00161 kernel: [63627.756516]  [81260ea0] 
journal_finish_inode_data_buffers+0x70/0x170
Dec 21 11:13:28 ealxs00161 kernel: [63627.756528]  [81261795] 
jbd2_journal_commit_transaction+0x665/0x1240
Dec 21 11:13:28 ealxs00161 kernel: [63627.756538]  [8108ad20] ? 
add_wait_queue+0x60/0x60
Dec 21 11:13:28 ealxs00161 kernel: [63627.756548]  [8126603b] 
kjournald2+0xbb/0x220
Dec 21 11:13:28 ealxs00161 kernel: [63627.756557]  [8108ad20] ? 
add_wait_queue+0x60/0x60
Dec 21 11:13:28 ealxs00161 kernel: [63627.756566]  [81265f80] ? 
commit_timeout+0x10/0x10
Dec 21 11:13:28 ealxs00161 kernel: [63627.756575]  [8108a27c] 
kthread+0x8c/0xa0
Dec 21 11:13:28 ealxs00161 kernel: [63627.756587]  [81666534] 
kernel_thread_helper+0x4/0x10
Dec 21 11:13:28 ealxs00161 kernel: [63627.756596]  [8108a1f0] ? 
flush_kthread_worker+0xa0/0xa0
Dec 21 11:13:28 ealxs00161 kernel: [63627.756606]  [81666530] ? 
gs_change+0x13/0x13
Dec 21 11:13:28 ealxs00161 kernel: [63627.756612] Kernel panic - not syncing: 
hung_task: blocked tasks
Dec 21 11:13:28 ealxs00161 kernel: [63627.768425] Pid: 66, comm: khungtaskd 
Tainted: GW3.2.0-34-generic #53-Ubuntu
Dec 21 11:13:28 ealxs00161 kernel: [63627.779691] Call Trace:
Dec 21 11:13:28 ealxs00161 kernel: [63627.790147]  [81643128] 
panic+0x91/0x1a4
Dec 21 11:13:28 ealxs00161 kernel: [63627.800888]  [810d78f2] 
check_hung_task+0xb2/0xc0
Dec 21 11:13:28 ealxs00161 kernel: [63627.811370]  [810d7a1b] 
check_hung_uninterruptible_tasks+0x11b/0x140
Dec 21 11:13:28 ealxs00161 kernel: [63627.821998]  [810d7a40] ? 
check_hung_uninterruptible_tasks+0x140/0x140
Dec 21 11:13:28 ealxs00161 kernel: [63627.833715]  [810d7a8f] 
watchdog+0x4f/0x60
Dec 21 11:13:28 ealxs00161 kernel: [63627.844538]  [8108a27c] 
kthread+0x8c/0xa0
Dec 21 11:13:28 ealxs00161 kernel: [63627.855370]  [81666534] 
kernel_thread_helper+0x4/0x10
Dec 21 11:13:28 ealxs00161 kernel: [63627.866367]  [8108a1f0] ? 
flush_kthread_worker+0xa0/0xa0
Dec 21 11:13:28 ealxs00161 

[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-12-21 Thread Ronald Moesbergen
I've uploaded the vmcore file separately, because I have some doubts
about the dumpfile created by apport beging complete. Please find it
here: http://www.rmoesbergen.nl/vmcore-crash.tgz

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-12-21 Thread Peter Petrakis
@Ronald

First, please attach http://www.rmoesbergen.nl/vmcore-crash.tgz to the bug, 
launchpad
can handle it just fine. Also, this is going to take awhile. We're off all next 
week so don't
expect any movement on this until early-mid Jan. Feel free to ping me if I 
forget.

Also, at what time did your testing start? I'm seeing this everywhere almost 
immediately
 emc: ALUA failover mode detected

Could you also illustrate what the steady state target distribution
should be?

I see targets like this:
sd 3:0:0:0: [sdb] 41943040 512-byte logical blocks: (21.4 GB/20.0 GiB)
 
in the minority compared to
sd 3:0:0:1: [sdc] 419430400 512-byte logical blocks: (214 GB/200 GiB)

Wondering if your SAN is misreporting READ CAPACITY.

The dump looks good. Immediately I can tell you that all  the scsi hosts
are still RUNNING and not in error handling. It looks like I'll have examine
the scsi target states and the dm tables.  

So there are these stuck processes

crash ps | grep UN
   1530  2   0  880415ef9700  UN   0.0   0  0  [jbd2/dm-1-8]
   2180  2   1  88040613ae00  UN   0.0   0  0  [flush-252:1]
   4739  1   2  880418e7  UN   5.8 16426520 1029488  mysqld

Which adds up, you can't write back.

This also looks really suspicious.

[62856.457650] end_request: I/O error, dev sdf, sector 21272960
[62856.457966] device-mapper: multipath: Failing path 8:80.
[62856.462495] scsi 3:0:0:0: emc: Detached
[62856.462730] device-mapper: multipath: Failing path 8:80.
[62856.462798] sd 4:0:0:0: emc: ALUA failover mode detected
[62856.462806] sd 4:0:0:0: emc: at SP A Port 0 (owned, default SP A)
# sketchy
[62856.462814] device-mapper: multipath: Could not failover the device: Handler 
scsi_dh_emc Error 15.

# it looks like it's retrying

[63122.241178] sd 3:0:1:0: [sdf]  Result: hostbyte=DID_NO_CONNECT 
driverbyte=DRIVER_OK
[63122.241185] sd 3:0:1:0: [sdf] CDB: Write(10): 2a 00 01 44 b4 d8 00 00 20 00
[63122.241198] end_request: I/O error, dev sdf, sector 21279960
[63122.241513] device-mapper: multipath: Failing path 8:80.
[63122.244865] scsi 3:0:0:0: emc: Detached
[63122.245045] sd 4:0:0:0: emc: ALUA failover mode detected
[63122.245053] sd 4:0:0:0: emc: at SP A Port 0 (owned, default SP A)
# sketchy
[63122.245062] device-mapper: multipath: Could not failover the device: Handler 
scsi_dh_emc Error 15. 

...
which comes from: [drivers/md/dm-mpath.c]
case SCSI_DH_NOSYS:
if (!m-hw_handler_name) {
errors = 0;
break;
}
DMERR(Could not failover the device: Handler scsi_dh_%s 
  Error %d., m-hw_handler_name, errors);
/*
 * Fail path for now, so we do not ping pong
 */
fail_path(pgpath);
break;

Hey, was this intentional?

[0.018792] Hardware name: ProLiant DL380p Gen8
[0.018794] Your BIOS is broken and requested that x2apic be disabled
[0.018795] This will leave your machine vulnerable to irq-injection attacks
[0.018796] Use 'intremap=no_x2apic_optout' to override BIOS request

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-12-21 Thread Ronald Moesbergen
vmcore file of crashed kernel.

** Attachment added: vmcore-crash.tgz
   
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+attachment/3465398/+files/vmcore-crash.tgz

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-12-21 Thread Ronald Moesbergen
The normal state of the disks is as follows:

LUN-DATABASE (36006016061e02e003cf1aca4ae07e211) dm-2 DGC,VRAID
size=200G features='1 queue_if_no_path' hwhandler='1 emc' wp=rw
|-+- policy='round-robin 0' prio=130 status=active
| |- 4:0:0:1 sdg 8:96  active ready running
| `- 3:0:0:1 sdc 8:32  active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
  |- 4:0:1:1 sdi 8:128 active ready running
  `- 3:0:1:1 sde 8:64  active ready running
LUN-LOGGING (36006016061e02e000286c1adae07e211) dm-1 DGC,VRAID
size=20G features='1 queue_if_no_path' hwhandler='1 emc' wp=rw
|-+- policy='round-robin 0' prio=130 status=active
| |- 4:0:1:0 sdh 8:112 active ready running
| `- 3:0:1:0 sdd 8:48  active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
  |- 4:0:0:0 sdf 8:80  active ready running
  `- 3:0:0:0 sdb 8:16  active ready running

So one LUN of 20G, another of 200G, both having 4 path's to the SAN.

Today's test started at Dec 21 10:53:44, with this:
ealxs00161 kernel: [62445.130300] qla2xxx [:07:00.0]-500b:3: LOOP DOWN 
detected (2 3 0 0).

It took several up/down sequences to reproduce the problem.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-12-20 Thread Ronald Moesbergen
Peter, is there another way to get you a kernel crash-dump? Whatever I
try, the crashdump tools don't produce a crashdump.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-12-20 Thread Peter Petrakis
Hi Ronald,

Sorry I haven't been timely, this is the best I can do with community level 
support
 If kdump isn't launching even in the most trivial case then you have to start 
from zero.

is crashkernel even configured? 
 * grep  crash /proc/crashkernel

How much memory do you have, could you assign more memory to the crash kernel?
 * http://lxr.linux.no/linux+v3.7.1/Documentation/kdump/kdump.txt#L270
 * 256MB would be preferable

Can you even kexec at all?
 * kexec -p # loads the panic kernel, man kexec

If you boot your system with  maxcpus=1  (I think that's it) and pretend you're
a uniprocessor system, will kexec load?

Can you attach a serial console to your machine and post the output?

In /etc/init.d/kdump
# Append kdump_needed for initramfs to know what to do, and add
# maxcpus=1 to keep things sane.
APPEND=$APPEND kdump_needed maxcpus=1 irqpoll reset_devices

Start adjusting these variables, like remove 'reset_devices', reload the
kexec kernel (service kdump restart), and systematically remove variables
(except kdump_needed) noting the change in the kernel output.

Is this an enterprise server with an NMI button? If you configure panic on nmi
pressing that button, that will definitely change the base variables used to
launch kexec.

Folks thought Stratus was a bit overkill, having a complete mirror of CPU/Memory
operating in lockstep for HA. The nice thing about it is if the primary ever 
did crash,
we would literally hold that unit in stasis, reboot on the other unit, and reap 
the
dump from it's preserved memory, works 100% and automatic. Be nice to have
right about now.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-12-20 Thread Peter Petrakis
Correction:
is crashkernel even configured?
 * grep crash /proc/cmdline

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-12-20 Thread Ronald Moesbergen
Removing the 'reset_devices' and 'irq_poll' in /etc/init.d/kdump did the
trick, both machines now generate a nice vmcore file when they crash.
I'll re-test with all your settings applied and report back. Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-12-20 Thread Peter Petrakis
^5!

Make sure you enable ftrace per:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/comments/16

That'll save me a lot of work, should crash with a nice long call graph and the 
CPUs
caught executing the code.

Well done!

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-12-13 Thread Ronald Moesbergen
I've been trying to get the crashdump stuff to work, but it just won't
generate a dump, or do anything at all when the kernel crashes... Is
there another way to get the info you want? Would a console screenshot
with a high res console work?

About the hanging processes: The only processes I saw in 'D' state were these 2 
processes:
/sbin/multipath -v0 /dev/sdl' [14785]
'/sbin/multipath -v0 /dev/sdj' [14739]

And ofcourse anything accessing the disks on top of the multipath
devices. When I do another run, I'll make sure to create a dump of the
process list as well.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-12-13 Thread Peter Petrakis
hmm, try this.

kernel.panic_on_oops = 0
kernel.softlockup_panic = 0
kernel.unknown_nmi_panic = 0
kernel.panic_on_unrecovered_nmi = 0
kernel.panic_on_io_nmi = 0
kernel.hung_task_panic = 0

Make sure these are all set to 1 in /etc/sysctl.conf and then run sysctl
-p

Also, lets configure ftrace, see if we get lucky and can catch the deadlock
as it happens.

[as root]
cd /sys/kernel/debug/tracing

echo function  current_tracer
echo 16000  buffer_size_kb
echo scsi_*  set_ftrace_filter
echo fc_*  set_ftrace_filter

When the kernel crashes, I'll be able to retrieve this buffer from the
dump

Should none of the dump triggers work, then just watch it and trigger it 
yourself.
# echo  c  /proc/sysrq-trigger

The hung multipath -v0 processes are usually spawned on behalf of udev events.
Before you begin the test, please record the current dm map (dmsetup table -v)
and the output of (lsscsi -lv) so I have a point of reference.  Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-12-13 Thread Ronald Moesbergen
The  problem is not making the kernel crash, that's easy :) The issue is
that no crash dump is ever generated. The whole kexec dump stuff just
doesn't seem to work. I already went through all the troubleshooting
tips and tricks, but it the kernel just crashed and hangs forever and
only a reset works. Causing a crash with echo c  /proc/sysrq-trigger:
same effect. Crash, hang, nothing...

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-12-11 Thread Ronald Moesbergen
@Peter: I'll try do reproduce on our acceptance systems with crashdump
installed and report back.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-12-11 Thread Ronald Moesbergen
I just retested with the multipath-tools version
'0.4.9-3ubuntu5+lp1032250dbg1', on 2 systems simulatiously. The test
consisted of repeatedly shutting down the fibre port in the switch for
one of the paths. One system survived (see syslog.test2.survived.gz),
one system did not (syslog.test2.broken.gz). The crashdump stuff was
installled and panic_on_oops set to '1', but there were no kernel 'BUG'
or 'OOPS'-en going on this time... The 'failed to get sysfs information'
error is gone, however. It might have been replaced with the following
though:

Dec 11 16:04:44 ealxs00162 udevd[8828]: rename '/dev/disk/by-id/wwn-
0x6006016061e02e008a2d4fa5b307e211.udev-tmp' '/dev/disk/by-id/wwn-
0x6006016061e02e008a2d4fa5b307e211' failed: No such file or directory

Hope this helps.


** Attachment added: syslog.test2.broken.gz
   
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+attachment/3457382/+files/syslog.test2.broken.gz

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-12-11 Thread Ronald Moesbergen
** Attachment added: syslog.test2.survived.gz
   
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+attachment/3457383/+files/syslog.test2.survived.gz

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-12-11 Thread Peter Petrakis
I should have been more specific, please set kernel.hung_task_panic as well, 
which
should trigger on the blocked more than N sec events.

Also, if you still have the system in this state. Does ps | aux show a series 
of kpartx
processes blocked?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-12-10 Thread Ronald Moesbergen
I'm seeing the same issue with an EMC clariion, see attached syslog. On
my systems this problem leads to hanging processes and a server crash
that can only be fixed with a reboot ..

** Attachment added: syslog of multipath failure
   
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+attachment/3456041/+files/syslog_multipath_fail.gz

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-12-10 Thread Ronald Moesbergen
** Attachment added: My multipath.conf
   
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+attachment/3456042/+files/multipath.conf

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


RE: [Bug 1032550] Re: [multipath] failed to get sysfs information

2012-12-10 Thread vincent
It maybe a kernel bug
Dec  9 08:16:07 ealxs00195 kernel: [1723012.226196] BUG: soft lockup - CPU#2 
stuck for 23s! [kworker/2:5:1283]

Vincent Chen
EMC2 | E-Lab Linux team

-Original Message-
From: boun...@canonical.com [mailto:boun...@canonical.com] On Behalf Of Ronald 
Moesbergen
Sent: Monday, December 10, 2012 5:07 PM
To: Chen, Vincent
Subject: [Bug 1032550] Re: [multipath] failed to get sysfs information

** Attachment added: My multipath.conf
   
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+attachment/3456042/+files/multipath.conf

-- 
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

Status in “multipath-tools” package in Ubuntu:
  In Progress

Bug description:
  when shutdown switch port of host HBA,  multippath-tool can't get
  correct information  of subpath. by check the multipath output,
  some storage device type info disapppear and the failed path always
  stay in path group and don't be clear out.


  mpath2 (3600601601c102900944737e4a73fe011) dm-51 ,
  size=6.0G features='1 queue_if_no_path' hwhandler='1 emc' wp=rw
  |-+- policy='round-robin 0' prio=1 status=active
  | |- #:#:#:#  -#:# failed faulty running
  | `- 5:0:2:5  sdcu 70:32   active ready running
  `-+- policy='round-robin 0' prio=0 status=enabled
|- 5:0:3:5  sdfa 129:192 active ready running
`- #:#:#:#  -#:# failed faulty running
  mpath38 (3600601601c1029008eb6dbe8ae3fe011) dm-59 DGC,VRAID
  size=5.0G features='1 queue_if_no_path' hwhandler='1 emc' wp=rw
  |-+- policy='round-robin 0' prio=1 status=active
  | `- 5:0:2:13 sddf 70:208  active ready running
  `-+- policy='round-robin 0' prio=0 status=enabled
`- 5:0:3:13 sdfk 130:96  active ready running
  mpath63 (3697198700131533030303932) dm-13 EMC,SYMMETRIX
  size=5.6G features='0' hwhandler='0' wp=rw
  `-+- policy='round-robin 0' prio=1 status=active
|- 5:0:0:8  sdl  8:176   active ready running
`- 5:0:1:8  sdbd 67:112  active ready running
  mpath95 (3697198700131533030323445) dm-43 ,
  size=898M features='0' hwhandler='0' wp=rw
  `-+- policy='round-robin 0' prio=1 status=active
|- #:#:#:#  -#:# failed faulty running
|- #:#:#:#  -#:# failed faulty running
|- 5:0:0:38 sdas 66:192  active ready running
`- 5:0:1:38 sdck 69:128  active ready running


  Same time, the syslog show many

  ---
  Aug  2 18:25:16 Linux51 multipathd: sdht: failed to get sysfs information
  Aug  2 18:25:16 Linux51 multipathd: sdht: unusable path
  ... ...
  ---

  After path  recover, all failed path come back without problem.  there
  is no IP blocked and error happend during fail/recover period.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-12-10 Thread Peter Petrakis
What I really need is a crashdump. I'm simply short on time to reproduce
this myself.

https://wiki.ubuntu.com/Kernel/CrashdumpRecipe

Configure sysctl to panic on oops, that should do it.

This stack section is interesting.
Dec  9 09:18:27 ealxs00195 kernel: [1726974.078795] RIP: 
0010:[8165b049]  [8165b049] 
_raw_spin_unlock_irqrestore+0x19/0x30
...
Dec  9 09:18:27 ealxs00195 kernel: [1726974.091694]  [8142f764] 
__scsi_remove_target+0xd4/0xf0
Dec  9 09:18:27 ealxs00195 kernel: [1726974.091696]  [8142f841] 
scsi_remove_target+0xc1/0xe0
Dec  9 09:18:27 ealxs00195 kernel: [1726974.091701]  [a00deb96] 
fc_starget_delete+0x26/0x30 [scsi_transport_fc]
Dec  9 09:18:27 ealxs00195 kernel: [1726974.091706]  [81084b1a] 
process_one_work+0x11a/0x480

It's required to be able to sleep in a workq context, we're grabbing spinlocks 
here, which when done quickly
is fine, but holding them too long and well, you see this. I doubt this is the 
root cause, something else is likely
holding the locks due to an error handling condition and the removal threads 
are just victims.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-08-22 Thread Peter Petrakis
So you restarted multipath-tools or rebooted before testing again? I was afraid 
of this,
the RH patch isn't even upstream and was applied against a different code base. 
There
may be additional patches that have a cumulative effect that we're missing.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-08-20 Thread vincent
i have applied the fix, however the issue still happened :-(

ii  kpartx   0.4.9-3ubuntu5+lp1032250dbg1 
create device mappings for partitions
ii  multipath-tools  0.4.9-3ubuntu5+lp1032250dbg1 
maintain multipath block device access

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-08-17 Thread Peter Petrakis
@Vincent

I have a test package for you to try.

Add this ppa, https://launchpad.net/~peter-petrakis/+archive/storage

The install incantation should be:
apt-get install multipath-tools=0.4.9-3ubuntu5+lp1032250dbg1

It includes a fix to the state checker which *should* eliminate the sysfs 
coherency issue.
Based on RH BZ 680480: https://bugzilla.redhat.com/show_bug.cgi?id=680480


** Bug watch added: Red Hat Bugzilla #680480
   https://bugzilla.redhat.com/show_bug.cgi?id=680480

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-08-07 Thread Peter Petrakis
** Changed in: multipath-tools (Ubuntu)
   Status: Incomplete = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-08-06 Thread vincent
@peter
I have change the filter and update into new init ram disk, thanks.
For powerpath issue,   i reproduce by shutdown FC switch port. Here is new 
complete syslog of whole prodefure and multipath result.
1)multipath_before_port_down  -- multipath status before shutdown port
2)multipath_port_down -- status when shutdown one switch port 
which connect to host HBA
3)multipath_enable_port

** Attachment added: multipath_20120806
   
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+attachment/3249734/+files/multipath_20120806.tar

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-08-03 Thread vincent
Here is OS and Packge info also attach log and configuration.

root@Linux51:/var/tmp# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 12.04 LTS
Release:12.04
Codename:   precise

root@Linux51:/var/tmp# dpkg -s multipath-tools
Package: multipath-tools
Status: install ok installed
Priority: extra
Section: admin
Installed-Size: 637
Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
Architecture: amd64
Version: 0.4.9-3ubuntu5


** Attachment added: multipath-tool log
   
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+attachment/3246633/+files/multipath-tool.tar

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-08-03 Thread Peter Petrakis
** Changed in: multipath-tools (Ubuntu)
 Assignee: (unassigned) = Peter Petrakis (peter-petrakis)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2012-08-03 Thread Peter Petrakis
@Vincent

Could you please attach the syslog associated with this fault?
How reproducible is this?

Also I noticed that your lvm.conf is a little broken.
scan = [ /dev ]
...
filter = [ r/block/, r/disk/, r|/dev/sd.*|, a/.*/ ]

Since the scan starts in /dev, that's  the root of the search, specifying
r|/dev/sd.*| won't match anything, instead you want r|sd.*|.

vgscan -vvv will show you the regexp working.
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1020436/comments/23

** Changed in: multipath-tools (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs