From mboxrd@z Thu Jan 1 00:00:00 1970 From: md@Linux.IT (Marco d'Itri) Date: Fri, 27 Jan 2006 13:06:15 +0000 Subject: Re: vol_id and RAID1 members Message-Id: <20060127130615.GD8175@wonderland.linux.it> MIME-Version: 1 Content-Type: multipart/mixed; boundary="vtzGhvizbBRQ85DL" List-Id: References: <20060124223036.GA16374@wonderland.linux.it> In-Reply-To: <20060124223036.GA16374@wonderland.linux.it> To: linux-hotplug@vger.kernel.org --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jan 25, Kay Sievers wrote: > Sure, vol_id does look at the raid signature and ignores it, that's the > reason your raid did not show up in the past. Does the degration of the > device means that the raid signature is no longer valid? Yes. Indeed, vol_id gets EIO when trying to read the superblock. I think that in this case it should report the error and exit, because as I showed if the partition really is an array member then it will report wrong information which if used will cause data loss. vol_id[8597]: main: BLKGETSIZE64=3D1999839744 vol_id[8597]: volume_id_probe_linux_raid: probing at offset 0x0, size 0x773= 32200 vol_id[8597]: volume_id_get_buffer: get buffer off 0x77320000(1999765504), = len 0x800 vol_id[8597]: volume_id_get_buffer: read seekbuf off:0x77320000 len:0x800 vol_id[8597]: volume_id_get_buffer: read failed (Input/output error) vol_id[8597]: volume_id_probe_intel_software_raid: probing at offset 0x0, s= ize 0x77332200 vol_id[8597]: volume_id_get_buffer: get buffer off 0x77331e00(1999838720), = len 0x200 vol_id[8597]: volume_id_get_buffer: read seekbuf off:0x77331e00 len:0x200 vol_id[8597]: volume_id_get_buffer: got 0x200 (512) bytes [...] --=20 ciao, Marco --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFD2hrHFGfw2OHuP7ERApfQAJ41c9ZyoOpw0nOcjdYJ/fKhHJKDBgCfeSw9 4nKszLYtnS0bVhlZ3NUhAxY= =ZSAK -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL-- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel