[SSI-devel] [ ssic-linux-Bugs-1653220 ] Debian SSIFailover uses findfs, but...
Brought to you by:
brucewalker,
rogertsang
From: SourceForge.net <no...@so...> - 2007-02-06 15:39:22
|
Bugs item #1653220, was opened at 2007-02-06 12:50 Message generated for change (Comment added) made by hughesj You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=405834&aid=1653220&group_id=32541 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Booting / init Group: v1.9.1 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Debian SSIFailover uses findfs, but... Initial Comment: findfs looks in /etc/blkid.tab, which doesn't seem to be a cdsl, so it finds the same device on all nodes. Rather a problem if two nodes have different names for the same device (can happen for example on shared SCSI). # onall /sbin/findfs UUID=b7c7645c-1d6f-4943-88c0-269ec640f5d3 (node 1) /dev/sdc1 (node 2) /dev/sdc1 # onall sh -c 'blkid -c /dev/null | grep b7c7645c-1d6f-4943-88c0-269ec640f5d3' (node 1) /dev/sda1: LABEL="/root" UUID="b7c7645c-1d6f-4943-88c0-269ec640f5d3" SEC_TYPE="ext3" TYPE="ext2" (node 2) /dev/sdc1: LABEL="/root" UUID="b7c7645c-1d6f-4943-88c0-269ec640f5d3" SEC_TYPE="ext3" TYPE="ext2" Need "mklocalfile /etc/blkid.tab" ---------------------------------------------------------------------- Comment By: John Hughes (hughesj) Date: 2007-02-06 16:39 Message: Logged In: YES user_id=166336 Originator: NO Problem is blkid_flush_cache function writes temporary then uses rename to move it into place. ---------------------------------------------------------------------- Comment By: John Hughes (hughesj) Date: 2007-02-06 16:31 Message: Logged In: YES user_id=166336 Originator: NO Doesn't quite work - apparently someone rm's blkid.tab on boot. ---------------------------------------------------------------------- Comment By: John Hughes (hughesj) Date: 2007-02-06 15:17 Message: Logged In: YES user_id=166336 Originator: NO Also, should be running blkid on boot or nodeup? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=405834&aid=1653220&group_id=32541 |