2010-06-12 15:59:22 |
Phillip Susi |
bug |
|
|
added bug |
2010-06-12 16:01:55 |
Phillip Susi |
linux (Ubuntu): importance |
Undecided |
High |
|
2010-06-12 16:01:55 |
Phillip Susi |
linux (Ubuntu): status |
New |
Triaged |
|
2010-06-12 18:00:10 |
Phillip Susi |
summary |
Need CONFIG_LBDAF set to prevent silent wraparound on > 2 TB disks |
Silent wraparound on > 2 TB disks |
|
2010-06-12 18:00:37 |
Phillip Susi |
linux (Ubuntu): status |
Triaged |
New |
|
2010-06-12 18:01:57 |
Phillip Susi |
description |
Ubuntu kernels silently wrap access to disk locations above 2 TB back around to zero. This can easily be reproduced using lvm to create a thin provisioned virtual disk:
lvcreate --type zero -L 3t -n empty vg0
lvcreate -s -n thin vg0/zero -L 1g
mke2fs -t ext4 -E lazy_itable_init /dev/vg0/thin
e2fsck -f /dev/vg0/thin
Fsck will find errors in the bitmap because it is actually reading the superblock instead of the allocation bitmap situated just after the 2 tb mark. I emailed the dm-devel mailing list about the issue and was told that this happens when CONFIG_LBDAF is not set, and that it would be rather daft of a distribution not to set that option. I checked my config for kernel 2.6.32-22-generic on lucid amd64 and indeed, this option does not seem to be there. I also first observed this bug on i386 karmic.
I believe that this bug effects all users who have a > 2tb disk, be it virtual, physical, or raid, and can lead to unexplained loss of data. Therefore I feel it meets the criteria for a high priority bug, if not critical. |
Ubuntu kernels silently wrap access to disk locations above 2 TB back around to zero. This can easily be reproduced using lvm to create a thin provisioned virtual disk:
lvcreate --type zero -L 3t -n empty vg0
lvcreate -s -n thin vg0/zero -L 1g
mke2fs -t ext4 -E lazy_itable_init /dev/vg0/thin
e2fsck -f /dev/vg0/thin
Fsck will find errors in the bitmap because it is actually reading the superblock instead of the allocation bitmap situated just after the 2 tb mark. |
|
2010-06-12 18:33:30 |
Phillip Susi |
summary |
Silent wraparound on > 2 TB disks |
Silent wraparound on > 2 TB LVM snapshots |
|
2010-06-13 03:24:02 |
Phillip Susi |
description |
Ubuntu kernels silently wrap access to disk locations above 2 TB back around to zero. This can easily be reproduced using lvm to create a thin provisioned virtual disk:
lvcreate --type zero -L 3t -n empty vg0
lvcreate -s -n thin vg0/zero -L 1g
mke2fs -t ext4 -E lazy_itable_init /dev/vg0/thin
e2fsck -f /dev/vg0/thin
Fsck will find errors in the bitmap because it is actually reading the superblock instead of the allocation bitmap situated just after the 2 tb mark. |
Ubuntu kernels silently wrap access to disk locations above 2 TB back around to zero. This can easily be reproduced using lvm to create a thin provisioned virtual disk:
lvcreate -s -n thin -L 1g --virtualsize 3t vg0
mke2fs -t ext4 -E lazy_itable_init /dev/vg0/thin
e2fsck -f /dev/vg0/thin
Fsck will find errors in the bitmap because it is actually reading the superblock instead of the allocation bitmap situated just after the 2 tb mark.
|
|
2010-06-14 13:21:06 |
Jeremy Foshee |
tags |
|
needs-kernel-logs |
|
2010-06-14 13:21:08 |
Jeremy Foshee |
tags |
needs-kernel-logs |
needs-kernel-logs needs-upstream-testing |
|
2010-06-14 13:21:10 |
Jeremy Foshee |
tags |
needs-kernel-logs needs-upstream-testing |
kj-triage needs-kernel-logs needs-upstream-testing |
|
2010-06-14 13:21:16 |
Jeremy Foshee |
linux (Ubuntu): status |
New |
Incomplete |
|
2010-06-14 19:24:05 |
Jeremy Foshee |
tags |
kj-triage needs-kernel-logs needs-upstream-testing |
kj-expired kj-triage needs-kernel-logs needs-upstream-testing |
|
2010-06-14 19:24:11 |
Jeremy Foshee |
linux (Ubuntu): status |
Incomplete |
Expired |
|
2010-06-15 02:36:43 |
Phillip Susi |
tags |
kj-expired kj-triage needs-kernel-logs needs-upstream-testing |
apport-collected kj-expired kj-triage needs-kernel-logs needs-upstream-testing |
|
2010-06-15 02:36:46 |
Phillip Susi |
description |
Ubuntu kernels silently wrap access to disk locations above 2 TB back around to zero. This can easily be reproduced using lvm to create a thin provisioned virtual disk:
lvcreate -s -n thin -L 1g --virtualsize 3t vg0
mke2fs -t ext4 -E lazy_itable_init /dev/vg0/thin
e2fsck -f /dev/vg0/thin
Fsck will find errors in the bitmap because it is actually reading the superblock instead of the allocation bitmap situated just after the 2 tb mark.
|
Ubuntu kernels silently wrap access to disk locations above 2 TB back around to zero. This can easily be reproduced using lvm to create a thin provisioned virtual disk:
lvcreate -s -n thin -L 1g --virtualsize 3t vg0
mke2fs -t ext4 -E lazy_itable_init /dev/vg0/thin
e2fsck -f /dev/vg0/thin
Fsck will find errors in the bitmap because it is actually reading the superblock instead of the allocation bitmap situated just after the 2 tb mark.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: psusi 1874 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'NVidia'/'HDA NVidia at 0xfe024000 irq 20'
Mixer name : 'Realtek ALC888'
Components : 'HDA:10ec0888,1565820c,00100001'
Controls : 37
Simple ctrls : 20
Card1.Amixer.info:
Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfd9fc000 irq 16'
Mixer name : 'ATI R6xx HDMI'
Components : 'HDA:1002aa01,00aa0100,00100100'
Controls : 4
Simple ctrls : 1
Card1.Amixer.values:
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
IwConfig:
lo no wireless extensions.
eth0 no wireless extensions.
Lsusb:
Bus 002 Device 003: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 002 Device 002: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: BIOSTAR Group TF560 A2+
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=/dev/mapper/hostname-lucid ro quiet splash acpi_enforce_resources=lax
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Regression: No
RelatedPackageVersions: linux-firmware 1.34
Reproducible: Yes
RfKill:
Tags: lucid needs-upstream-testing
Uname: Linux 2.6.32-22-generic x86_64
UserGroups: adm admin cdrom dialout dip fax floppy fuse lpadmin plugdev sambashare tape video
WifiSyslog: Jun 14 22:36:08 faldara kernel: [ 1446.372143] lo: Disabled Privacy Extensions
dmi.bios.date: 06/11/2007
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: TF560 A2+
dmi.board.vendor: BIOSTAR Group
dmi.board.version: 1.0
dmi.chassis.type: 3
dmi.chassis.vendor: BIOSTAR Group
dmi.chassis.version: TF560 A2+
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd06/11/2007:svnBIOSTARGroup:pnTF560A2+:pvr1.0:rvnBIOSTARGroup:rnTF560A2+:rvr1.0:cvnBIOSTARGroup:ct3:cvrTF560A2+:
dmi.product.name: TF560 A2+
dmi.product.version: 1.0
dmi.sys.vendor: BIOSTAR Group
|
|
2010-06-15 02:36:50 |
Phillip Susi |
attachment added |
|
AlsaDevices.txt http://launchpadlibrarian.net/50349156/AlsaDevices.txt |
|
2010-06-15 02:36:52 |
Phillip Susi |
attachment added |
|
AplayDevices.txt http://launchpadlibrarian.net/50349157/AplayDevices.txt |
|
2010-06-15 02:36:55 |
Phillip Susi |
attachment added |
|
ArecordDevices.txt http://launchpadlibrarian.net/50349159/ArecordDevices.txt |
|
2010-06-15 02:36:58 |
Phillip Susi |
attachment added |
|
BootDmesg.txt http://launchpadlibrarian.net/50349161/BootDmesg.txt |
|
2010-06-15 02:37:01 |
Phillip Susi |
attachment added |
|
Card0.Amixer.values.txt http://launchpadlibrarian.net/50349162/Card0.Amixer.values.txt |
|
2010-06-15 02:37:04 |
Phillip Susi |
attachment added |
|
Card0.Codecs.codec.0.txt http://launchpadlibrarian.net/50349164/Card0.Codecs.codec.0.txt |
|
2010-06-15 02:37:06 |
Phillip Susi |
attachment added |
|
Card1.Codecs.codec.0.txt http://launchpadlibrarian.net/50349165/Card1.Codecs.codec.0.txt |
|
2010-06-15 02:37:10 |
Phillip Susi |
attachment added |
|
CurrentDmesg.txt http://launchpadlibrarian.net/50349167/CurrentDmesg.txt |
|
2010-06-15 02:37:12 |
Phillip Susi |
attachment added |
|
Lspci.txt http://launchpadlibrarian.net/50349168/Lspci.txt |
|
2010-06-15 02:37:14 |
Phillip Susi |
attachment added |
|
PciMultimedia.txt http://launchpadlibrarian.net/50349169/PciMultimedia.txt |
|
2010-06-15 02:37:18 |
Phillip Susi |
attachment added |
|
ProcCpuinfo.txt http://launchpadlibrarian.net/50349181/ProcCpuinfo.txt |
|
2010-06-15 02:37:21 |
Phillip Susi |
attachment added |
|
ProcInterrupts.txt http://launchpadlibrarian.net/50349183/ProcInterrupts.txt |
|
2010-06-15 02:37:24 |
Phillip Susi |
attachment added |
|
ProcModules.txt http://launchpadlibrarian.net/50349185/ProcModules.txt |
|
2010-06-15 02:37:28 |
Phillip Susi |
attachment added |
|
UdevDb.txt http://launchpadlibrarian.net/50349187/UdevDb.txt |
|
2010-06-15 02:37:35 |
Phillip Susi |
attachment added |
|
UdevLog.txt http://launchpadlibrarian.net/50349195/UdevLog.txt |
|
2010-06-15 02:38:41 |
Phillip Susi |
linux (Ubuntu): status |
Expired |
Incomplete |
|
2010-06-15 02:38:55 |
Phillip Susi |
tags |
apport-collected kj-expired kj-triage needs-kernel-logs needs-upstream-testing |
kj-triage needs-kernel-logs needs-upstream-testing |
|
2010-06-15 03:00:19 |
Phillip Susi |
tags |
kj-triage needs-kernel-logs needs-upstream-testing |
apport-collected kj-triage needs-kernel-logs needs-upstream-testing |
|
2010-06-16 13:58:16 |
Phillip Susi |
description |
Ubuntu kernels silently wrap access to disk locations above 2 TB back around to zero. This can easily be reproduced using lvm to create a thin provisioned virtual disk:
lvcreate -s -n thin -L 1g --virtualsize 3t vg0
mke2fs -t ext4 -E lazy_itable_init /dev/vg0/thin
e2fsck -f /dev/vg0/thin
Fsck will find errors in the bitmap because it is actually reading the superblock instead of the allocation bitmap situated just after the 2 tb mark.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: psusi 1874 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'NVidia'/'HDA NVidia at 0xfe024000 irq 20'
Mixer name : 'Realtek ALC888'
Components : 'HDA:10ec0888,1565820c,00100001'
Controls : 37
Simple ctrls : 20
Card1.Amixer.info:
Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfd9fc000 irq 16'
Mixer name : 'ATI R6xx HDMI'
Components : 'HDA:1002aa01,00aa0100,00100100'
Controls : 4
Simple ctrls : 1
Card1.Amixer.values:
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
IwConfig:
lo no wireless extensions.
eth0 no wireless extensions.
Lsusb:
Bus 002 Device 003: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 002 Device 002: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: BIOSTAR Group TF560 A2+
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=/dev/mapper/hostname-lucid ro quiet splash acpi_enforce_resources=lax
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Regression: No
RelatedPackageVersions: linux-firmware 1.34
Reproducible: Yes
RfKill:
Tags: lucid needs-upstream-testing
Uname: Linux 2.6.32-22-generic x86_64
UserGroups: adm admin cdrom dialout dip fax floppy fuse lpadmin plugdev sambashare tape video
WifiSyslog: Jun 14 22:36:08 faldara kernel: [ 1446.372143] lo: Disabled Privacy Extensions
dmi.bios.date: 06/11/2007
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: TF560 A2+
dmi.board.vendor: BIOSTAR Group
dmi.board.version: 1.0
dmi.chassis.type: 3
dmi.chassis.vendor: BIOSTAR Group
dmi.chassis.version: TF560 A2+
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd06/11/2007:svnBIOSTARGroup:pnTF560A2+:pvr1.0:rvnBIOSTARGroup:rnTF560A2+:rvr1.0:cvnBIOSTARGroup:ct3:cvrTF560A2+:
dmi.product.name: TF560 A2+
dmi.product.version: 1.0
dmi.sys.vendor: BIOSTAR Group
|
Ubuntu kernels silently wrap access to disk locations above 2 TB back around to zero. This can easily be reproduced using lvm to create a thin provisioned virtual disk:
lvcreate -s -n thin -L 1g --virtualsize 3t vg0
mke2fs -t ext4 -E lazy_itable_init /dev/vg0/thin
e2fsck -f /dev/vg0/thin
Fsck will find errors in the bitmap because it is actually reading the superblock instead of the allocation bitmap situated just after the 2 tb mark. |
|
2010-06-16 13:58:58 |
Phillip Susi |
linux (Ubuntu): status |
Incomplete |
Triaged |
|
2010-06-16 13:59:51 |
Phillip Susi |
tags |
apport-collected kj-triage needs-kernel-logs needs-upstream-testing |
kj-triage |
|
2010-06-16 14:06:33 |
Phillip Susi |
linux (Ubuntu): milestone |
|
lucid-updates |
|
2010-06-16 14:07:27 |
Phillip Susi |
linux (Ubuntu): milestone |
lucid-updates |
karmic-updates |
|
2010-06-16 14:09:16 |
Phillip Susi |
linux (Ubuntu): milestone |
karmic-updates |
|
|
2010-06-16 14:09:30 |
Phillip Susi |
nominated for series |
|
Ubuntu Karmic |
|
2010-06-16 14:09:30 |
Phillip Susi |
nominated for series |
|
Ubuntu Lucid |
|
2010-06-16 14:11:05 |
Phillip Susi |
description |
Ubuntu kernels silently wrap access to disk locations above 2 TB back around to zero. This can easily be reproduced using lvm to create a thin provisioned virtual disk:
lvcreate -s -n thin -L 1g --virtualsize 3t vg0
mke2fs -t ext4 -E lazy_itable_init /dev/vg0/thin
e2fsck -f /dev/vg0/thin
Fsck will find errors in the bitmap because it is actually reading the superblock instead of the allocation bitmap situated just after the 2 tb mark. |
Ubuntu kernels silently wrap access to disk locations above 2 TB back around to zero. This can easily be reproduced using lvm to create a thin provisioned virtual disk:
lvcreate -s -n thin -L 1g --virtualsize 3t vg0
mke2fs -t ext4 -E lazy_itable_init /dev/vg0/thin
e2fsck -f /dev/vg0/thin
Fsck will find errors in the bitmap because it is actually reading the superblock instead of the allocation bitmap situated just after the 2 tb mark.
See comment #26 for details on the problem and what needs done to fix it.
|
|
2010-06-16 18:10:07 |
Phillip Susi |
description |
Ubuntu kernels silently wrap access to disk locations above 2 TB back around to zero. This can easily be reproduced using lvm to create a thin provisioned virtual disk:
lvcreate -s -n thin -L 1g --virtualsize 3t vg0
mke2fs -t ext4 -E lazy_itable_init /dev/vg0/thin
e2fsck -f /dev/vg0/thin
Fsck will find errors in the bitmap because it is actually reading the superblock instead of the allocation bitmap situated just after the 2 tb mark.
See comment #26 for details on the problem and what needs done to fix it.
|
Ubuntu kernels silently wrap access to disk locations above 2 TB back around to zero. This can easily be reproduced using lvm to create a thin provisioned virtual disk:
lvcreate -s -n thin -L 1g --virtualsize 3t vg0
mke2fs -t ext4 -E lazy_itable_init /dev/vg0/thin
e2fsck -f /dev/vg0/thin
Fsck will find errors in the bitmap because it is actually reading the superblock instead of the allocation bitmap situated just after the 2 tb mark.
This affects Karmic and Lucid and will cause data loss and severe filesystem corruption that may go unnoticed for some time, if someone creates a snapshot of a 2TB + size logical volume. It was fixed upstream as of 2.6.33.
See comment #26 for details on the problem and what needs done to fix it.
|
|
2010-09-18 01:08:07 |
Phillip Susi |
summary |
Silent wraparound on > 2 TB LVM snapshots |
Silent wraparound on > 2 TB LVM volumes in lucid |
|
2010-10-06 18:19:13 |
Phillip Susi |
summary |
Silent wraparound on > 2 TB LVM volumes in lucid |
Silent wraparound on > 2 TB LVM snapshots in lucid and karmic |
|
2011-02-27 19:21:49 |
Phillip Susi |
tags |
kj-triage |
kj-triage patch |
|
2011-03-16 15:39:04 |
Phillip Susi |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2011-04-28 08:53:04 |
Martin Pitt |
bug task added |
|
linux (Ubuntu Lucid) |
|
2011-04-28 08:53:14 |
Martin Pitt |
linux (Ubuntu): status |
Triaged |
Fix Released |
|
2011-04-28 08:53:18 |
Martin Pitt |
linux (Ubuntu Lucid): status |
New |
Triaged |
|
2011-04-28 08:53:21 |
Martin Pitt |
linux (Ubuntu Lucid): importance |
Undecided |
High |
|
2015-06-17 11:00:47 |
Rolf Leggewie |
linux (Ubuntu Lucid): status |
Triaged |
Won't Fix |
|