Your message dated Mon, 19 Nov 2012 11:32:46 +0000
with message-id <[email protected]>
and subject line Bug#691271: fixed in lvm2 2.02.95-5
has caused the Debian Bug report #691271,
regarding lvm2: Losing data when moving LV between regular HD → SSD
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
691271: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691271
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lvm2
Version: 2.02.95-4
Severity: important

Hi,

I'm not sure if this should be reported against the LVM package or
against the kernel.

Today I've tried to move data[0] between my old HD to my new SSD. I first
set issue_discards = 1 in the /etc/lvm/lvm.conf config file. I then used
pvmove[0] to do the migration.

After the command has succeeded, I tried to mount it again, but it
failed to find a valid filesystem.

I've hopefully been able to find the backups of the old layout and
restore it. I tried again a 2nd time and it gave me the same result.

It worked perfectly when I've reverted the issue_discards setting back to 0.


Cheers

Laurent Bigonville

[0] pvmove -n home /dev/sdb4 /dev/sda5

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.5-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lvm2 depends on:
ii  dmsetup                   2:1.02.74-4
ii  initscripts               2.88dsf-32
ii  libc6                     2.13-35
ii  libdevmapper-event1.02.1  2:1.02.74-4
ii  libdevmapper1.02.1        2:1.02.74-4
ii  libreadline5              5.2-12
ii  libudev0                  175-7
ii  lsb-base                  4.1+Debian7

lvm2 recommends no packages.

lvm2 suggests no packages.

-- Configuration Files:
/etc/lvm/lvm.conf changed [not included]

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: lvm2
Source-Version: 2.02.95-5

We believe that the bug you reported is fixed in the latest version of
lvm2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Blank <[email protected]> (supplier of updated lvm2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 19 Nov 2012 12:11:15 +0100
Source: lvm2
Binary: lvm2 lvm2-udeb clvm libdevmapper-dev libdevmapper1.02.1 
libdevmapper1.02.1-udeb dmsetup dmsetup-udeb libdevmapper-event1.02.1 dmeventd 
liblvm2app2.2 liblvm2cmd2.02 liblvm2-dev
Architecture: source amd64
Version: 2.02.95-5
Distribution: unstable
Urgency: low
Maintainer: Debian LVM Team <[email protected]>
Changed-By: Bastian Blank <[email protected]>
Description: 
 clvm       - Cluster LVM Daemon for lvm2
 dmeventd   - Linux Kernel Device Mapper event daemon
 dmsetup    - Linux Kernel Device Mapper userspace library
 dmsetup-udeb - Linux Kernel Device Mapper userspace library (udeb)
 libdevmapper-dev - Linux Kernel Device Mapper header files
 libdevmapper-event1.02.1 - Linux Kernel Device Mapper event support library
 libdevmapper1.02.1 - Linux Kernel Device Mapper userspace library
 libdevmapper1.02.1-udeb - Linux Kernel Device Mapper userspace library (udeb)
 liblvm2-dev - LVM2 libraries - development files
 liblvm2app2.2 - LVM2 application library
 liblvm2cmd2.02 - LVM2 command library
 lvm2       - Linux Logical Volume Manager
 lvm2-udeb  - Linux Logical Volume Manager (udeb)
Closes: 691271
Changes: 
 lvm2 (2.02.95-5) unstable; urgency=low
 .
   * Don't discard pv areas on pvmove commands. (closes: #691271)
   * Properly ignore missing dmeventd.
Checksums-Sha1: 
 598d8995bb3792da246518653d6dad68de92b254 2029 lvm2_2.02.95-5.dsc
 8a8983ba29939942bfc190a5266693225a6179dc 38214 lvm2_2.02.95-5.debian.tar.gz
 2a05e45e83627430a92a5bb332baff4410e93879 130030 
libdevmapper1.02.1_1.02.74-5_amd64.deb
 1ec4d3c78144148a031f9a70ce7b79f98fcefbca 71854 
libdevmapper1.02.1-udeb_1.02.74-5_amd64.udeb
 988ff8d037049cc33f6771ea00f36b9edd5d4f34 32448 
libdevmapper-event1.02.1_1.02.74-5_amd64.deb
 1cac640899329c3589e0d228e6a3ae6e62f5199b 43892 
libdevmapper-dev_1.02.74-5_amd64.deb
 7188864432fc988f2f1ad47c50c9eab47ecd9694 67696 dmsetup_1.02.74-5_amd64.deb
 68fa59b14593ab2e6280a0d57d0f25c49fb090f2 21342 
dmsetup-udeb_1.02.74-5_amd64.udeb
 fa93b7908097fc04bfaa597e11ac1cdd54f3eabf 347516 
liblvm2app2.2_2.02.95-5_amd64.deb
 97d43f251d0e7a6896a6e3332a2068d2f3b82490 452016 
liblvm2cmd2.02_2.02.95-5_amd64.deb
 f494ab0ff554bba2480abdbe9e69ef7b185dca68 72414 liblvm2-dev_2.02.95-5_amd64.deb
 fa50b80e6a9ce6aeb7329bd41791ad9958385ff2 48456 dmeventd_1.02.74-5_amd64.deb
 518585b948d81ecd6402c610a85371c1abd51bb3 588728 lvm2_2.02.95-5_amd64.deb
 6c34b01ab8f686999ce1d68883c48386a2a375ba 295048 lvm2-udeb_2.02.95-5_amd64.udeb
 01b65e3e91beccd89fa03e22d99b250dadf3bf3c 371970 clvm_2.02.95-5_amd64.deb
Checksums-Sha256: 
 1dc362fb8bf8b2a7d7527f14345a33d88814aac98a36f302ee5d4da422550b45 2029 
lvm2_2.02.95-5.dsc
 3535ea561b40fa11a27d97d589fca9bc3ce9ba2cb48a28d2acb3a4db436835e7 38214 
lvm2_2.02.95-5.debian.tar.gz
 9046d59dacdb949ff413ea9d20d08d21b75276f3c9924c6850fba5efb4888b1b 130030 
libdevmapper1.02.1_1.02.74-5_amd64.deb
 fe4ac933ade726cc237af8f90abfebd249797898b81bcda8db7313a687c20e3f 71854 
libdevmapper1.02.1-udeb_1.02.74-5_amd64.udeb
 12c252ace2397f13431ee0f3e930c46a06cb873b14e6ee7a4037f90f72802b1f 32448 
libdevmapper-event1.02.1_1.02.74-5_amd64.deb
 6eefc8921deaa4bf37b1bb7436a9f884fe9ae2e796067492249c0e0a6f91621d 43892 
libdevmapper-dev_1.02.74-5_amd64.deb
 4a63210f5a9c8d33ac1ebfda53bb447c4e10ddc04ac571d33c978e16a179c842 67696 
dmsetup_1.02.74-5_amd64.deb
 568b1436ceef7cb71b3c3a224b60291d4f0609154895ef072dbdd6ce0b6d5f2a 21342 
dmsetup-udeb_1.02.74-5_amd64.udeb
 afea39a07df8c47ab45c9a0ccc9a55938f722fe88c00ed4392700e961a3e2083 347516 
liblvm2app2.2_2.02.95-5_amd64.deb
 ca3333f652a2b4994ad3b4f865c4e89d9e5146b2731c3ee1fb9051ee44a52132 452016 
liblvm2cmd2.02_2.02.95-5_amd64.deb
 2a2a284e286a48ebdb97ac871dad07067eed157d9eae37217fd35757c38e9647 72414 
liblvm2-dev_2.02.95-5_amd64.deb
 e0e5170b5013d770fc1451c65c358f4331d274181d1484df00a6c2e468ab3be5 48456 
dmeventd_1.02.74-5_amd64.deb
 c090c3ae7b73a1462487cdbd7457f2ca10c7de219d538461c6817c4e88381921 588728 
lvm2_2.02.95-5_amd64.deb
 e203e50c38a0cee3ba3bb18d123d015d8292f532b31dc66c14ec3990b4c1668b 295048 
lvm2-udeb_2.02.95-5_amd64.udeb
 3dd92d379555caf71592d32eebb6b6e345b7c6851c98e6f9640bc6e9ec27c427 371970 
clvm_2.02.95-5_amd64.deb
Files: 
 40e3052cb02d5ced34e472a1ca90307d 2029 admin optional lvm2_2.02.95-5.dsc
 639f6d37ff573e1c0f9eafdbf7c904a3 38214 admin optional 
lvm2_2.02.95-5.debian.tar.gz
 b557b64f16a851b3079b19487ab56f0c 130030 libs optional 
libdevmapper1.02.1_1.02.74-5_amd64.deb
 b20ae1f02d326d3658328b2f1adc236d 71854 debian-installer optional 
libdevmapper1.02.1-udeb_1.02.74-5_amd64.udeb
 98627734aa87084b64980ee9f901cf8c 32448 libs optional 
libdevmapper-event1.02.1_1.02.74-5_amd64.deb
 19c8f24992d20f78db289f7fcf09ff86 43892 libdevel optional 
libdevmapper-dev_1.02.74-5_amd64.deb
 1605e491efb1f954b3abb083becd2981 67696 admin optional 
dmsetup_1.02.74-5_amd64.deb
 95876fa8d20b79e05720e44152c6165b 21342 debian-installer optional 
dmsetup-udeb_1.02.74-5_amd64.udeb
 fe57f72b32d8802167fc07a03ed045e5 347516 libs optional 
liblvm2app2.2_2.02.95-5_amd64.deb
 f62f181b208fa6bf706fc1c43cf4a075 452016 libs optional 
liblvm2cmd2.02_2.02.95-5_amd64.deb
 52aa3c0a40cb076ef21def0a327b99d5 72414 libdevel optional 
liblvm2-dev_2.02.95-5_amd64.deb
 8e0c28cc628b14527d85a42adfc6487b 48456 admin optional 
dmeventd_1.02.74-5_amd64.deb
 1a01f5d984fbb49eeeafda873a5e7fd3 588728 admin optional lvm2_2.02.95-5_amd64.deb
 e2f3309f81c17555a335d1e0191ba55d 295048 debian-installer optional 
lvm2-udeb_2.02.95-5_amd64.udeb
 a9c8a2ab4834941bac160d9cbb396d8f 371970 admin extra clvm_2.02.95-5_amd64.deb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAlCqFf4ACgkQLkAIIn9ODhH76gCfWdbB/MQ8Yi5DyktYpd2ll5P9
fqUAmwYK4nkzFj6uSAnqmKCTR2qFz/mS
=x7wv
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to