Just reread your post again.... Actually, "cat /proc/partitions", if the said partitions/disks are still being seen by kernel, you will need some sort of system scan to get rid of them, or a reboot. I have a SAN, and qlogic card as HBA, qlogic has a tool for scanning for non-existent partitions and remove them... http://filedownloads.qlogic.com/files/ms/56615/readme_dynamic_lun_22.html and with qlogic, I could have removed the non-existent LUNs via the option refresh: -r, --refresh To refresh, that is remove LUNs that are lost use the options "-r|--refresh". This will remove the LUNs which no more exist. How were these disks attached to your system?
----- Original Message ----- From: Philippe Naudin philippe.naudin@supagro.inra.fr To: CentOS mailing list centos@centos.org Cc: Sent: Friday, October 28, 2011 9:26 AM Subject: Re: [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.