Re: Heartbeat and mount --bind for NFS v4.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 08/02/06, Will McDonald <wmcdonald@xxxxxxxxx> 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.

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux