Grepping by device doesn't work for mount-by-label at least, and
requires a lot of escaping for networked mounts; so we thought grepping
for the mountpoint was exactly the approach we needed to take.

Never used mount-by-label. Good point though.

I've got to admit I've never had someone use a symlink as a mountpoint.
;-)

/usr/local/postgres/data is my mountpoint.
/usr/local/postgres points to /usr/local/postgres-<version>

I think this is not too uncommon.

On the other hand I could just symlink /usr/local/postgres/data to /usr/local/data and let that be my mountpoint. Or change my postgres config to use another data dir ...

Maybe the right answer would be for the RA to dereference the
symlink then?

Well one would have to check each directory in the path separately I think. At least I don't know a better way that could find out wether there is a symlink in the path or not.

I think this would be a lot of work for not too much effort. And propably a slower monitor action.

Imho: Let's forget about my suggestion.

Regards
Dominik
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to