Re: [SSI-devel] SSI-1.2 CDSL realpath not found
Brought to you by:
brucewalker,
rogertsang
From: John B. <joh...@hp...> - 2005-06-03 22:27:58
|
Roger Tsang wrote: > Hi, > > I'm using SSI-1.2 and have this problem with CDSL's after booting into > a non-preferred initnode (node2). No other node has joined the > cluster yet. This node cannot find the real path for symlinks to > directories within /cluster/node{nodenum}/ which are symlinks. > However programs like bash are able to find the real path for symlinks > to the same object in /cluster/node2/. For example, localized /tmp > directory to a separate non-chard local mount. > > /cluster/node2/tmp -> /mnt/node2/tmp > /cluster/node2/tmp1 > > No real path found for /cluster/node{nodenum}/tmp > Real path found for /cluster/node2/tmp > > No real path found for /cluster/node{nodenum}/tmp1 > Real path found for /cluster/node2/tmp1 > > Upon further inspection, > > /cluster/node{nodenum} -> /cluster/node1 > > It looks like this symlink needs to be updated? The mere existence of > this symlink to /cluster/node1 while node2 is the only node up doesn't > make sense. > > > -Roger > You are mounting the per-node filesystems on /mnt/node# and tmp is a subdirectory in the mount, correct? We do have definite problems with CDSLs and readlink(). readlink() reads the uninterpreted CDSL and applications can then have problems because they cannot interpret it. (This is a stopgap semantic because we didn't want to modify more apps.) Perhaps an "{initnode}" CDSL would paper over most of the problems, but it would be racy. John |