quantal: pvmove on/from SSD corrupts data
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lvm2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
root@deimos:/mnt# uname -a
Linux deimos 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
When I set issue_discards = 1
in /etc/lvm/lvm.conf and
move an LV from or to my ssd* in the VG the LV is zeroed afterwards.
To clarify: everything else on the system and the ssd (including fstrim invocation on ext4) works flawlessly.
If I set issue_discards = 0 in /etc/lvm/lvm.conf everything works fine too.
root@deimos:
mke2fs 1.42.5 (29-Jul-2012)
Dateisystem-Label=
OS-Typ: Linux
Blockgröße=4096 (log=2)
Fragmentgröße=4096 (log=2)
Stride=0 Blöcke, Stripebreite=0 Blöcke
131072 Inodes, 524288 Blöcke
26214 Blöcke (5.00%) reserviert für den Superuser
Erster Datenblock=0
Maximale Dateisystem-
16 Blockgruppen
32768 Blöcke pro Gruppe, 32768 Fragmente pro Gruppe
8192 Inodes pro Gruppe
Superblock-
32768, 98304, 163840, 229376, 294912
Platz für Gruppentabellen wird angefordert: erledigt
Inode-Tabellen werden geschrieben: erledigt
Erstelle Journal (16384 Blöcke): erledigt
Schreibe Superblöcke und Dateisystem-
root@deimos:
/dev/sde1: Moved: 0,6%
/dev/sde1: Moved: 50,6%
/dev/sde1: Moved: 100,0%
root@deimos:
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
80000000
* Samsung SSD 840 PRO
affects: | ubuntu → lvm2 (Ubuntu) |
You don't give the lvm version, but it sounds like you might be /bugzilla. redhat. com/832392 .
missing the patch for https:/
Aladsair