From mboxrd@z Thu Jan 1 00:00:00 1970 From: md@Linux.IT (Marco d'Itri) Date: Tue, 24 Jan 2006 22:30:36 +0000 Subject: vol_id and RAID1 members Message-Id: <20060124223036.GA16374@wonderland.linux.it> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Today one of the disks in a mirrored RAID array failed, and I noticed that the /dev/disk/by-label/ link had changed from md2 to hda6, the failed device. By looking at /dev/.udev/db/ I determined that vol_id returned ID_FS_LABEL_SAFE=home for both md2 and hda6, because hda6 is not part of the RAID array anymore and obviously both devices have identical file system superblocks. Having the by-label link change after a reboot is a big problem which could easily cause data loss, but I am not sure about how to fix it. Should vol_id be modified to look for the RAID superblock and if one is present ignore the file system superblock? -- ciao, Marco ------------------------------------------------------- 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&kid3432&bid#0486&dat1642 _______________________________________________ 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