[Bug 744293] Re: Infinite loop in helper LVM script for DRBD 8 in Lucid
Jacob Smith
744293 at bugs.launchpad.net
Thu Jul 7 21:23:40 UTC 2011
Hi Andres,
So I gave it a try and now I'm racking my brain because I thought I knew
what I was doing but it didn't behave as I expected and I don't know if
it's my ignorance or a problem so I'll let you be the judge!
Executed the following on both nodes, one after the other finished:
Added your PPA.
apt-get update; apt-get upgrade
Edit /etc/drbd.d/global_common.conf and uncomment before and after-resync-target
shutdown -r now
Ended up with all kinds of errors and zombie lvm processes and drbd complaining etc. after restart.
Looked at the lvm scripts in question - /usr/lib/drbd/snapshot-resync-target-lvm.sh
The changes from the patch are not there... if I understand what the patch was supposed to do.
First - The meat of the patch was to remove a couple of "shift" lines from the case statement among other things correct?
Second - doing the apt-get upgrade should have replaced the patched script?
Node 2:
root at Vulture:~# apt-cache policy drbd8-source
drbd8-source:
Installed: 2:8.3.7-1ubuntu2.2
Candidate: 2:8.3.7-1ubuntu2.2
Version table:
*** 2:8.3.7-1ubuntu2.2 0
500 http://ppa.launchpad.net/andreserl/ppa/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status
2:8.3.7-1ubuntu2.1 0
500 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
2:8.3.7-1ubuntu2 0
500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
Node 1:
root at Condor:~# apt-cache policy drbd8-source
drbd8-source:
Installed: 2:8.3.7-1ubuntu2.2
Candidate: 2:8.3.7-1ubuntu2.2
Version table:
*** 2:8.3.7-1ubuntu2.2 0
500 http://ppa.launchpad.net/andreserl/ppa/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status
2:8.3.7-1ubuntu2.1 0
500 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
2:8.3.7-1ubuntu2 0
500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
root at Vulture:~# cat /usr/lib/drbd/snapshot-resync-target-lvm.sh | grep -A 20 case
case $1 in
-p|--percent)
SNAP_PERC="$2"
shift
;;
-a|--additional)
SNAP_ADDITIONAL="$2"
shift 2
;;
-n|--disconnect-on-error)
DISCONNECT_ON_ERROR=1
shift
;;
-v|--verbose)
BE_VERBOSE=1
shift
;;
--)
shift
break
;;
Thoughts??
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to drbd8 in Ubuntu.
https://bugs.launchpad.net/bugs/744293
Title:
Infinite loop in helper LVM script for DRBD 8 in Lucid
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/drbd8/+bug/744293/+subscriptions
More information about the Ubuntu-server-bugs
mailing list