Götz Reinicke
2011-Oct-28 12:08 UTC
[CentOS] read failed after messages of non existing harddisks
Hi, some time ago I removed some physical disks from a server and now I'm still getting dmesg messages like: sd 0:2:2:0: SCSI error: return code = 0x00040001 end_request: I/O error, dev sdc, sector 0 And all lvm tools still grumbel about that disks too: /dev/sdb: read failed after 0 of 4096 at 0: Eingabe-/Ausgabefehler /dev/sdb: read failed after 0 of 4096 at 1746969493504: Eingabe-/Ausgabefehler How may I tell the lvm and the system, that it is ok that this disk do not exist any more? Thnaks for hints and suggestion . G?tz -- G?tz Reinicke IT-Koordinator Tel. +49 7141 969 420 Fax +49 7141 969 55 420 E-Mail goetz.reinicke at filmakademie.de Filmakademie Baden-W?rttemberg GmbH Akademiehof 10 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzender des Aufsichtsrats: J?rgen Walter MdL Staatssekret?r im Ministerium f?r Wissenschaft, Forschung und Kunst Baden-W?rttemberg Gesch?ftsf?hrer: Prof. Thomas Schadt
Philippe Naudin
2011-Oct-28 13:26 UTC
[CentOS] read failed after messages of non existing harddisks
Le ven 28 oct 2011 14:08:50 CEST, G?tz Reinicke a ?crit:> Hi, > > some time ago I removed some physical disks from a server and now I'm > still getting dmesg messages like: > > sd 0:2:2:0: SCSI error: return code = 0x00040001 > end_request: I/O error, dev sdc, sector 0 > > And all lvm tools still grumbel about that disks too: > > /dev/sdb: read failed after 0 of 4096 at 0: Eingabe-/Ausgabefehler > /dev/sdb: read failed after 0 of 4096 at 1746969493504: > Eingabe-/Ausgabefehler > > > How may I tell the lvm and the system, that it is ok that this disk do > not exist any more?If a software RAID has been removed, don't forget : mdadm --misc --zero-superblock /dev/sdX where sdX is every disk that was part of the RAID. -- Philippe Naudin UMR MISTEA : Math?matiques, Informatique et STatistique pour l'Environnement et l'Agronomie INRA, b?timent 29 - 2 place Viala - 34060 Montpellier cedex 2 t?l: 04.99.61.26.34, fax: 04.99.61.29.03, m?l: naudin at supagro.inra.fr
Richard Mollel
2011-Oct-28 16:01 UTC
[CentOS] read failed after messages of non existing harddisks
Before you physically removed the disk, you were supposed to have done pvremove. you can try pvdisplay/pvscan and see if these disks are displayed there, before trying a pvremove on them again. I assume the said disks were properly remove from any lv,vg that you had. ----- Original Message ----- From: G?tz Reinicke <goetz.reinicke at filmakademie.de> To: CentOS mailing list <centos at centos.org> Cc: Sent: Friday, October 28, 2011 8:08 AM Subject: [CentOS] read failed after messages of non existing harddisks Hi, some time ago I removed some physical disks from a server and now I'm still getting dmesg messages like: sd 0:2:2:0: SCSI error: return code = 0x00040001 end_request: I/O error, dev sdc, sector 0 And all lvm tools still grumbel about that disks too: /dev/sdb: read failed after 0 of 4096 at 0: Eingabe-/Ausgabefehler ? /dev/sdb: read failed after 0 of 4096 at 1746969493504: Eingabe-/Ausgabefehler How may I tell the lvm and the system, that it is ok that this disk do not exist any more? ??? Thnaks for hints and suggestion . G?tz -- G?tz Reinicke IT-Koordinator Tel. +49 7141 969 420 Fax? +49 7141 969 55 420 E-Mail goetz.reinicke at filmakademie.de Filmakademie Baden-W?rttemberg GmbH Akademiehof 10 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzender des Aufsichtsrats: J?rgen Walter MdL Staatssekret?r im Ministerium f?r Wissenschaft, Forschung und Kunst Baden-W?rttemberg Gesch?ftsf?hrer: Prof. Thomas Schadt _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos