Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Dev

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

 

 

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded


horms at verge

Mar 11, 2009, 3:31 PM

Post #1 of 3 (1310 views)
Permalink
Fwd: Bug#519282: heartbeat: /etc/ha.d/resource.d/Filesystem doesn't support bind-mounts

Hi Tim,

I am forwarding this to linux-ha-dev for comment.

----- Forwarded message from Tim Small <tim [at] buttersideup> -----

Subject: Bug#519282: heartbeat: /etc/ha.d/resource.d/Filesystem doesn't
support bind-mounts
From: Tim Small <tim [at] buttersideup>
To: Debian Bug Tracking System <submit [at] bugs>
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
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


dejanmm at fastmail

Mar 12, 2009, 6:43 AM

Post #2 of 3 (1207 views)
Permalink
Re: Fwd: Bug#519282: heartbeat: /etc/ha.d/resource.d/Filesystem doesn't support bind-mounts [In reply to]

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>
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> -----
>
> Subject: Bug#519282: heartbeat: /etc/ha.d/resource.d/Filesystem doesn't
> support bind-mounts
> From: Tim Small <tim [at] buttersideup>
> To: Debian Bug Tracking System <submit [at] bugs>
> 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
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/

--
Dejan
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


horms at verge

Apr 14, 2009, 2:13 AM

Post #3 of 3 (955 views)
Permalink
Re: Fwd: Bug#519282: heartbeat: /etc/ha.d/resource.d/Filesystem doesn't support bind-mounts [In reply to]

On Thu, Mar 12, 2009 at 02:43:38PM +0100, Dejan Muhamedagic wrote:
> 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>
> date: Fri Jan 02 19:17:13 2009 +0100
> summary: High (LF 1952): RA: Filesystem: implement bind mounts

Thanks.

Backporting that feature to Lenny's doesn't seem appropriate to me,
though I would entertain adding it lenny-backport's 2.1.4
(which I uploaded the first revision of today).

--
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
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.