linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* vol_id and RAID1 members
@ 2006-01-24 22:30 Marco d'Itri
  2006-01-24 23:55 ` Kay Sievers
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Marco d'Itri @ 2006-01-24 22:30 UTC (permalink / raw)
  To: linux-hotplug

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&kid\x103432&bid#0486&dat\x121642
_______________________________________________
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-01-27 16:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-24 22:30 vol_id and RAID1 members Marco d'Itri
2006-01-24 23:55 ` Kay Sievers
2006-01-27 13:06 ` Marco d'Itri
2006-01-27 16:02 ` Kay Sievers
2006-01-27 16:35 ` Marco d'Itri
2006-01-27 16:48 ` Kay Sievers
2006-01-27 16:56 ` Marco d'Itri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).