Activity log for bug #1082325

Date Who What changed Old value New value Message
2012-11-23 11:16:46 Laurent Bigonville bug added bug
2012-11-23 11:16:56 Laurent Bigonville lvm2 (Ubuntu): importance Undecided High
2012-11-23 11:17:09 Laurent Bigonville bug watch added https://bugzilla.redhat.com/show_bug.cgi?id=832392
2012-11-23 11:17:09 Laurent Bigonville bug task added lvm2
2012-11-23 11:17:27 Laurent Bigonville bug watch added http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691271
2012-11-23 11:17:27 Laurent Bigonville bug task added lvm2 (Debian)
2012-11-23 12:50:10 Laurent Bigonville summary pvmove wipe data when issue_discards=1 pvmove wipes data when issue_discards=1 on SSD
2012-11-26 10:05:39 Dimitri John Ledkov lvm2 (Ubuntu): assignee Dmitrijs Ledkovs (xnox)
2012-11-26 12:38:33 Bug Watch Updater lvm2 (Debian): status Unknown Fix Released
2012-11-26 13:18:24 Launchpad Janitor branch linked lp:ubuntu/raring-proposed/lvm2
2012-11-26 18:43:24 Launchpad Janitor lvm2 (Ubuntu): status New Fix Released
2013-01-21 11:53:45 Arnd bug added subscriber Ubuntu Stable Release Updates Team
2013-02-11 00:36:20 Dimitri John Ledkov nominated for series Ubuntu Quantal
2013-02-11 00:36:20 Dimitri John Ledkov bug task added lvm2 (Ubuntu Quantal)
2013-02-11 00:38:38 Dimitri John Ledkov description Hi, pvmove can wipe the data when issue_discards is set to 1 in /etc/lvm/lvm.conf This has been fixed in debian in the -5 upload. The patches can be found at: https://lists.fedorahosted.org/pipermail/lvm2-commits/2012-June/000037.html https://lists.fedorahosted.org/pipermail/lvm2-commits/2012-June/000038.html https://lists.fedorahosted.org/pipermail/lvm2-commits/2012-June/000039.html [Impact] * Setting issue_discards=1 in /etc/lvm.conf (non-default) results in data loss, if pvmove is performed on a Logical Volume which is moved to or form an SSD or other block devices which supports discards * As this bug *directly cause a loss of user data* this fix should be uploaded to quantal (lvm2 in precise is not effected, because it does not support the issue_discards option. [Test Case] * Enable issue_discards=1 in /etc/lvm.conf * Create a volumegroup with two physical volumes (at least one of these must support discards (e.g. an SSD) * Create a test logical volume * Create a filesystem on this logical volume * With pvmove, move the underlying logical volume to the other physical volume => experience Data loss (in my experiments the whole logical volume was zeroed, checked with hexdumd /dev/vgtest/lvtest) [Regression Potential] * The upstream fix is fairly self contained and separates discard and move operations. The patches can be found at: https://lists.fedorahosted.org/pipermail/lvm2-commits/2012-June/000037.html https://lists.fedorahosted.org/pipermail/lvm2-commits/2012-June/000038.html https://lists.fedorahosted.org/pipermail/lvm2-commits/2012-June/000039.html An SRU of just the upstream-*.patches from the -5 upload fix this bug.
2013-02-11 00:38:46 Dimitri John Ledkov lvm2 (Ubuntu Quantal): status New Triaged
2013-02-11 00:38:56 Dimitri John Ledkov lvm2 (Ubuntu Quantal): importance Undecided Medium
2013-08-13 14:14:56 Tapani Tarvainen bug added subscriber Tapani Tarvainen
2014-12-03 10:03:09 Rolf Leggewie lvm2 (Ubuntu Quantal): status Triaged Won't Fix
2017-10-28 06:34:27 Bug Watch Updater lvm2: status Unknown Fix Released
2017-10-28 06:34:27 Bug Watch Updater lvm2: importance Unknown Critical