[CentOS] Re: Heartbeat and mount --bind for NFS v4.

Wed Feb 8 15:09:37 UTC 2006
Will McDonald <wmcdonald at gmail.com>

On 08/02/06, Will McDonald <wmcdonald at gmail.com> wrote:

> > > "mount --bind" is the same as "mount -o bind"
> > >
> > > So I can just have bind as an option in haresources for that particular mount.
> >
> > I was just writing that :)
>
> Heh. Thanks.

Damn. It appears the Heartbeat resource.d/Filesystem script's checking
to ensure the first device is a valid block device. :o\

case $DEVICE in
  -*) # Oh... An option to mount instead...  Typically -U or -L
        ;;
  [^/]*:/*)     # An NFS filesystem specification...
        ;;
  *)    if [ ! -b "$DEVICE" ] ; then
          ha_log "ERROR: Couldn't find device $DEVICE. Expected
/dev/??? to exist"
          usage
          exit 1
        fi;;

Ah well. I'll just make a Filesystem.local for --bind mounts and
comment the block device check.

Will.