[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] Stopped disk causes LVM to go crazy



hi guys,

I have a system with two SATA disks and I have LVM on the disks.
I use sdparm (sdparm -C stop /dev/sdb) to spin-down one of them. It works fine and I can hear the disk spinning down and all...But when I run any LVM command, say lvscan or whatever, I get lots of error messages:

> lvscan
end_request: I/O error, dev sdb, sector 20971839
end_request: I/O error, dev sdb, sector 447
/dev/dm-0: read failed after 0 of 4096 at 10737352704: Input/outend_request: I/O error, dev sdb, sector 21176639
put error
/dev/dm-0: read failed after 0 of 4096 at 0: Input/end_request: I/O error, dev sdb, sector 20971967
output error
/dev/dm-1: read failed after 0 of 4096 at 104792end_request: I/O error, dev sdb, sector 42148159
064: Input/output error
/dev/dm-1: read failed after 0 of 409end_request: I/O error, dev sdb, sector 21176767
6 at 0: Input/output error
/dev/dm-2: read failed after 0 of end_request: I/O error, dev sdb, sector 42352959
4096 at 10737352704: Input/output error
/dev/dm-2: read faileend_request: I/O error, dev sdb, sector 42148287
d after 0 of 4096 at 0: Input/output error
/dev/dm-3: read faend_request: I/O error, dev sdb, sector 63324479
iled after 0 of 4096 at 104792064: Input/output error
/dev/dmend_request: I/O error, dev sdb, sector 42353087
-3: read failed after 0 of 4096 at 0: Input/output error
/devend_request: I/O error, dev sdb, sector 63529279
/dm-4: read failed after 0 of 4096 at 10737352704: Input/output end_request: I/O error, dev sdb, sector 63324607
error
/dev/dm-4: read failed after 0 of 4096 at 0: Input/outpend_request: I/O error, dev sdb, sector 287274137
ut error
/dev/dm-5: read failed after 0 of 4096 at 104792064:end_request: I/O error, dev sdb, sector 287258265
Input/output error
/dev/dm-5: read failed after 0 of 4096 atend_request: I/O error, dev sdb, sector 287258029
0: Input/output error
/dev/sdb1: read failed after 0 of 512 end_request: I/O error, dev sdb, sector 281410605
at 8126464: Input/output error
/dev/sdb1: read failed after 0end_request: I/O error, dev sdb, sector 281410367
of 2048 at 0: Input/output error
/dev/sdb2: read failed afteend_request: I/O error, dev sdb, sector 63
r 0 of 4096 at 2993881088: Input/output error
/dev/sdb2: read failed after 0 of 4096 at 0: Input/output error
/dev/sdb4: read failed after 0 of 1024 at 144082075648: Input/output error
/dev/sdb4: read failed after 0 of 2048 at 0: Input/output error
ACTIVE '/dev/blahblah/blah' [10.00 GB] inherit
ACTIVE '/dev/blahblah/blah' [100.00 MB] inherit
ACTIVE '/dev/blahblah/blah' [10.00 GB] inherit
ACTIVE '/dev/blahblah/blah' [100.00 MB] inherit
ACTIVE '/dev/blahblah/blah' [10.00 GB] inherit
ACTIVE '/dev/blahblah/blah' [100.00 MB] inherit
File descriptor 3 left open
end_request: I/O error, dev sdb, sector 20971839
end_request: I/O error, dev sdb, sector 447
/dev/dm-0: read failed after 0 of 4096 at 10737352704: Input/outend_request: I/O error, dev sdb, sector 21176639
put error
/dev/dm-0: read failed after 0 of 4096 at 0: Input/end_request: I/O error, dev sdb, sector 20971967
output error
/dev/dm-1: read failed after 0 of 4096 at 104792end_request: I/O error, dev sdb, sector 42148159
064: Input/output error
/dev/dm-1: read failed after 0 of 409end_request: I/O error, dev sdb, sector 21176767
6 at 0: Input/output error
/dev/dm-2: read failed after 0 of end_request: I/O error, dev sdb, sector 42352959
4096 at 10737352704: Input/output error
/dev/dm-2: read faileend_request: I/O error, dev sdb, sector 42148287
d after 0 of 4096 at 0: Input/output error
/dev/dm-3: read faend_request: I/O error, dev sdb, sector 63324479
iled after 0 of 4096 at 104792064: Input/output error
/dev/dmend_request: I/O error, dev sdb, sector 42353087
-3: read failed after 0 of 4096 at 0: Input/output error
/devend_request: I/O error, dev sdb, sector 63529279
/dm-4: read failed after 0 of 4096 at 10737352704: Input/output end_request: I/O error, dev sdb, sector 63324607
error
/dev/dm-4: read failed after 0 of 4096 at 0: Input/outpend_request: I/O error, dev sdb, sector 287274137
ut error
/dev/dm-5: read failed after 0 of 4096 at 104792064:end_request: I/O error, dev sdb, sector 287258265
Input/output error
/dev/dm-5: read failed after 0 of 4096 atend_request: I/O error, dev sdb, sector 287258029
0: Input/output error
/dev/sdb1: read failed after 0 of 512 end_request: I/O error, dev sdb, sector 281410605
at 8126464: Input/output error
/dev/sdb1: read failed after 0end_request: I/O error, dev sdb, sector 281410367
of 2048 at 0: Input/output error
/dev/sdb2: read failed afteend_request: I/O error, dev sdb, sector 63
r 0 of 4096 at 2993881088: Input/output error
/dev/sdb2: read failed after 0 of 4096 at 0: Input/output error
/dev/sdb4: read failed after 0 of 1024 at 144082075648: Input/output error
/dev/sdb4: read failed after 0 of 2048 at 0: Input/output erroend_request: I/O error, dev sdb, sector 20971839
r
end_request: I/O error, dev sdb, sector 4474zwPa" now active

/dev/dm-0: read failed after 0 of 4096 at 10737352704: Input/end_request: I/O error, dev sdb, sector 21176639
output error
/dev/dm-0: read failed after 0 of 4096 at 0: Inpend_request: I/O error, dev sdb, sector 20971967
ut/output error
/dev/dm-1: read failed after 0 of 4096 at 104end_request: I/O error, dev sdb, sector 42148159
792064: Input/output error
/dev/dm-1: read failed after 0 of end_request: I/O error, dev sdb, sector 21176767
4096 at 0: Input/output error
/dev/dm-2: read failed after 0 end_request: I/O error, dev sdb, sector 42352959
of 4096 at 10737352704: Input/output error
/dev/dm-2: read faend_request: I/O error, dev sdb, sector 42148287
iled after 0 of 4096 at 0: Input/output error
/dev/dm-3: readend_request: I/O error, dev sdb, sector 63324479
failed after 0 of 4096 at 104792064: Input/output error
/devend_request: I/O error, dev sdb, sector 42353087
/dm-3: read failed after 0 of 4096 at 0: Input/output error
/end_request: I/O error, dev sdb, sector 63529279
dev/dm-4: read failed after 0 of 4096 at 10737352704: Input/outpend_request: I/O error, dev sdb, sector 63324607
ut error
/dev/dm-4: read failed after 0 of 4096 at 0: Input/oend_request: I/O error, dev sdb, sector 287274137
utput error
/dev/dm-5: read failed after 0 of 4096 at 1047920end_request: I/O error, dev sdb, sector 287258265
64: Input/output error
/dev/dm-5: read failed after 0 of 4096end_request: I/O error, dev sdb, sector 287258029
at 0: Input/output error
/dev/sdb1: read failed after 0 of 5end_request: I/O error, dev sdb, sector 281410605
12 at 8126464: Input/output error
/dev/sdb1: read failed afteend_request: I/O error, dev sdb, sector 281410367
r 0 of 2048 at 0: Input/output error
/dev/sdb2: read failed aend_request: I/O error, dev sdb, sector 63
fter 0 of 4096 at 2993881088: Input/output error
/dev/sdb2: read failed after 0 of 4096 at 0: Input/output error
/dev/sdb4end_request: I/O error, dev sdb, sector 20971839
: read failed after 0 of 1024 at 144082075648: Input/output erroend_request: I/O error, dev sdb, sector 447
r
/dev/sdb4: read failed after 0 of 2048 at 0: Input/output eend_request: I/O error, dev sdb, sector 21176639
rror
/dev/dm-0: read failed after 0 of 4096 at 10737352704: Iend_request: I/O error, dev sdb, sector 20971967
nput/output error
/dev/dm-0: read failed after 0 of 4096 at 0end_request: I/O error, dev sdb, sector 42148159
: Input/output error
/dev/dm-1: read failed after 0 of 4096 aend_request: I/O error, dev sdb, sector 21176767
t 104792064: Input/output error
/dev/dm-1: read failed after end_request: I/O error, dev sdb, sector 42352959
0 of 4096 at 0: Input/output error
/dev/dm-2: read failed aftend_request: I/O error, dev sdb, sector 42148287
er 0 of 4096 at 10737352704: Input/output error
/dev/dm-2: reend_request: I/O error, dev sdb, sector 63324479
ad failed after 0 of 4096 at 0: Input/output error
/dev/dm-3:end_request: I/O error, dev sdb, sector 42353087
read failed after 0 of 4096 at 104792064: Input/output error
end_request: I/O error, dev sdb, sector 63529279
/dev/dm-3: read failed after 0 of 4096 at 0: Input/output errorend_request: I/O error, dev sdb, sector 63324607

/dev/dm-4: read failed after 0 of 4096 at 10737352704: Inputend_request: I/O error, dev sdb, sector 287274137
/output error
/dev/dm-4: read failed after 0 of 4096 at 0: Inend_request: I/O error, dev sdb, sector 287258265
put/output error
/dev/dm-5: read failed after 0 of 4096 at 10end_request: I/O error, dev sdb, sector 287258029
4792064: Input/output error
/dev/dm-5: read failed after 0 ofend_request: I/O error, dev sdb, sector 281410605
4096 at 0: Input/output error
/dev/sdb1: read failed after 0end_request: I/O error, dev sdb, sector 281410367
of 512 at 8126464: Input/output error
/dev/sdb1: read failedend_request: I/O error, dev sdb, sector 63
after 0 of 2048 at 0: Input/output error
/dev/sdb2: read failed after 0 of 4096 at 2993881088: Input/output error
/dev/sdb2: read failed after 0 of 4096 at 0: Input/output error
/dev/sdb4: read failed after 0 of 1024 at 144082075648: Input/output error
/dev/sdb4: read failed after 0 of 2048 at 0: Input/output error
Even when I physically remove the disk it still happens. Is there any way I can stop LVM from querying both disks or at least to stop displaying the error messages?

Thanks

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]