[Linux-ha-dev] Fwd: Bug#519282: heartbeat: /etc/ha.d/resource.d/Filesystem doesn't support bind-mounts

Dejan Muhamedagic dejanmm at fastmail.fm
Thu Mar 12 07:43:38 MDT 2009


Hi,

On Thu, Mar 12, 2009 at 09:31:29AM +1100, Simon Horman wrote:
> Hi Tim,
> 
> I am forwarding this to linux-ha-dev for comment.

bind mounts have been implemented in the meantime:

changeset:   12289:6dd87bf76943
user:        Dejan Muhamedagic <dejan at hello-penguin.com>
date:        Fri Jan 02 19:17:13 2009 +0100
summary:     High (LF 1952): RA: Filesystem: implement bind mounts

Thanks,

Dejan

> ----- Forwarded message from Tim Small <tim at buttersideup.com> -----
> 
> Subject: Bug#519282: heartbeat: /etc/ha.d/resource.d/Filesystem doesn't
> 	support bind-mounts
> From: Tim Small <tim at buttersideup.com>
> To: Debian Bug Tracking System <submit at bugs.debian.org>
> Date: Wed, 11 Mar 2009 15:04:35 +0000
> 
> Package: heartbeat
> Version: 2.1.3-6lenny0
> Severity: normal
> 
> Whilst it's possible to place bind mounts in /etc/fstab with lines like this:
> 
> /nfsstore/state /var/lib/nfs    none    bind    0       0
> 
> ... it doesn't seem possible to specify them in the haresources file via
> Filesystem resources:
> 
> bramber:~# /etc/ha.d/resource.d/Filesystem /nfsstore/state /var/lib/nfs
> none bind start
> 2009/03/11_15:03:51 INFO: Running start for /nfsstore/state on
> /var/lib/nfs
> 2009/03/11_15:03:51 ERROR: Couldn't find filesystem none in
> /proc/filesystems
> 2009/03/11_15:03:51 ERROR:  Illegal argument
> ERROR:  Illegal argument
> 
> 
> 
> 
> 
> -- System Information:
> Debian Release: 5.0
>   APT prefers stable
>   APT policy: (500, 'stable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages heartbeat depends on:
> ii  adduser                3.110             add and remove users and groups
> ii  gawk                   1:3.1.5.dfsg-4.1  GNU awk, a pattern scanning and pr
> ii  iproute                20080725-2        networking and traffic control too
> ii  iputils-ping           3:20071127-1      Tools to test the reachability of 
> ii  libbz2-1.0             1.0.5-1           high-quality block-sorting file co
> ii  libc6                  2.7-18            GNU C Library: Shared libraries
> ii  libcurl3               7.18.2-8          Multi-protocol file transfer libra
> ii  libglib2.0-0           2.16.6-1          The GLib library of C routines
> ii  libgnutls26            2.4.2-6+lenny1    the GNU TLS library - runtime libr
> ii  libltdl3               1.5.26-4          A system independent dlopen wrappe
> ii  libncurses5            5.7+20081213-1    shared libraries for terminal hand
> ii  libnet1                1.1.2.1-2         library for the construction and h
> ii  libopenhpi2            2.12.0-1          OpenHPI libraries (runtime and sup
> ii  libpam-runtime         1.0.1-5           Runtime support for the PAM librar
> ii  libpam0g               1.0.1-5           Pluggable Authentication Modules l
> ii  libsnmp15              5.4.1~dfsg-12     SNMP (Simple Network Management Pr
> ii  libssl0.9.8            0.9.8g-15         SSL shared libraries
> ii  libuuid1               1.41.3-1          universally unique id library
> ii  libwrap0               7.6.q-16          Wietse Venema's TCP wrappers libra
> ii  libxml2                2.6.32.dfsg-5     GNOME XML library
> ii  libxml2-utils          2.6.32.dfsg-5     XML utilities
> ii  mawk                   1.3.3-11.1        a pattern scanning and text proces
> ii  psmisc                 22.6-1            Utilities that use the proc filesy
> ii  python                 2.5.2-3           An interactive high-level object-o
> ii  python-central         0.6.8             register and build utility for Pyt
> ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime
> 
> Versions of packages heartbeat recommends:
> ii  iptables                      1.4.2-6    administration tools for packet fi
> ii  logrotate                     3.7.1-5    Log rotation utility
> ii  sysklogd [system-log-daemon]  1.5-5      System Logging Daemon
> 
> heartbeat suggests no packages.
> 
> -- no debconf information
> 
> 
> 
> ----- End forwarded message -----
> 
> -- 
> Simon Horman
>   VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
>   H: www.vergenet.net/~horms/             W: www.valinux.co.jp/en
> 
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/

-- 
Dejan


More information about the Linux-HA-Dev mailing list