[DRBD-user] leaked on pvcreate invocation. Parent PID 5335: -bash

Cesar Peschiera brain at click.com.py
Wed Nov 26 20:17:47 CET 2014

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hi to all

As a temporary solution, after of copy the "/etc/udev/rules.d/65-drbd.rules" 
file of my old server (with drbd 8.4.4 version) to my new server (with 
drbd-utils 8.9.1 version), i execute:

shell> pvscan
PV /dev/sda3 VG pve lvm2 [199.50 GiB / 16.00 GiB free]
PV /dev/drbd21 lvm2 [20.00 GiB]
Total: 2 [219.50 GiB] / in use: 1 [199.50 GiB] / in no VG: 1 [20.00 GiB]

It is great see this, but i am not sure if my solution will be free of 
problems, i would like to hear a second opinion.

Best regards
Cesar

----- Original Message ----- 
From: "Cesar Peschiera" <brain at click.com.py>
To: <drbd-user at lists.linbit.com>
Sent: Wednesday, November 26, 2014 3:19 PM
Subject: [DRBD-user] leaked on pvcreate invocation. Parent PID 5335: -bash


> Hi to all
>
> Anybody can help me?
>
> - I have a problem with "drbd-utils 8.9.1" version, it was downloaded from 
> the git and compiled in my Debian Wheezy, the error messages are these:
>
> root at host1:/# pvcreate /dev/drbd21
> File descriptor 3 (/usr/share/bash-completion/completions) leaked on
> pvcreate invocation. Parent PID 5335: -bash
> File descriptor 4 (/usr/share/bash-completion/completions) leaked on
> pvcreate invocation. Parent PID 5335: -bash
>  Physical volume "/dev/drbd21" successfully created
>
> root at host1:/# ll /dev/drbd* -d (i don't see the drbd directory)
> drbd11  drbd21
>
> root at host1:/# pvscan
> File descriptor 3 (/usr/share/bash-completion/completions) leaked on 
> pvscan
> invocation. Parent PID 5335: -bash
> File descriptor 4 (/usr/share/bash-completion/completions) leaked on 
> pvscan
> invocation. Parent PID 5335: -bash
>  PV /dev/sda3     VG pve             lvm2 [199.50 GiB / 16.00 GiB free]
>  PV /dev/drbd21                      lvm2 [20.00 GiB]
>  Total: 2 [219.50 GiB] / in use: 1 [199.50 GiB] / in no VG: 1 [20.00 GiB]
>
> - At difference of DRBD 8.4.4 version (that was installed in other 
> servers), i don't have this:
> /etc/udev/rules.d/65-drbd.rules
> /dev/drbd/
> /dev/drbd/by-disk
> /dev/drbd/by-disk/(the files that must be within.)
> /dev/drbd/by-res
> /dev/drbd/by-res/(the files that must be within.)
>
> - Maybe my compilation don't have all the necessary options enabled.
>
> - This was my execution by cli:
> shell> mkdir drbd-utils
> shell> cd     drbd-utils
> shell> git clone git://git.linbit.com/drbd-utils.git
> shell> cd drbd-utils
> shell> git checkout tags/v8.9.1
> shell> git checkout -b v8.9.1
> shell> ./autogen.sh
> shell> dpkg-buildpackage -rfakeroot -b -tc
> shell> cd ..
> shell> dpkg -iGE *.deb
>
> - And this is the content of the autogen.sh file:
> #!/bin/sh
>
> # for those that expect an autogen.sh,
> # here it is.
>
> aclocal
> autoheader
> autoconf
>
> echo "
> suggested configure parameters:
> # prepare for rpmbuild, only generate spec files
> ./configure --enable-spec
> # or prepare for direct build
> ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc
> "
> My questions
> 1) How can i fix it? (please if possible, tell me the commands I have to 
> run
> by CLI.)
> 2) Can anybody also even correct it  in the repo of git?
>
> Best regards
> Cesar
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
> 




More information about the drbd-user mailing list