hang when creating lvm snapshot

Bug #611624 reported by Patrick Pfeifer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
New
Undecided
Unassigned

Bug Description

Since the update to kernel

linux-image-2.6.32-24-generic

on my amd64 system, with a dm-crypt -mapped harddisk with lvm layered on top of dm-crypt, the system often hangs (any applications doing disk i/o get blocked forever) when I try to create a snapshot - only way is to hard reset.

launchpad bug #595489 looks very similar

i'm attaching 2 dmesg outputs with output by the kernel after applications beeing blocked for more than 120s ....

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-24-generic 2.6.32-24.38
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-24.38-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: pat 3341 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xfe020000 irq 16'
   Mixer name : 'Realtek ALC883'
   Components : 'HDA:10ec0883,10438232,00100002'
   Controls : 38
   Simple ctrls : 21
Date: Fri Jul 30 10:43:17 2010
HibernationDevice: RESUME=/dev/mapper/babar-swap
MachineType: System manufacturer System Product Name
ProcCmdLine: BOOT_IMAGE=/hostname/vmlinuz initrd=/hostname/initrd.img quiet splash root=/dev/mapper/hostname-linux ro acpi_enforce_resources=lax --
ProcEnviron:
 LC_TIME=C
 LC_COLLATE=C
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34.1
RfKill:
 0: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
dmi.bios.date: 03/28/2008
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: ASUS M2A-VM ACPI BIOS Revision 1705
dmi.board.name: M2A-VM
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: 1.XX
dmi.chassis.asset.tag: 123456789000
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvrASUSM2A-VMACPIBIOSRevision1705:bd03/28/2008:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM2A-VM:rvr1.XX:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
Patrick Pfeifer (patrick2000) wrote :
Revision history for this message
Patrick Pfeifer (patrick2000) wrote :
Revision history for this message
Patrick Pfeifer (patrick2000) wrote :
Revision history for this message
Patrick Pfeifer (patrick2000) wrote :

i was able to capture the dmesg's to another lvm logical volume disk despite i/o beeing blocked on the lvm locical volume that i was trying to take a snapshot of, like so

sudo lvcreate -s -n data.snap -l100%FREE /dev/babar/data
sudo lvcreate -s -n home.snap -l100%FREE /dev/babar/home

i have 225 lvm physical extents free at the end of the disk and the snapshots used to work like a charm in linux-2.6.32-22 (and -23 as well, i think)

judging from the diff from -22 to -24 it could be something about ext4...

btw... why is the linux_2.6.32-23.37.diff.gz not available in archive.ubuntu.com ???

Revision history for this message
Patrick Pfeifer (patrick2000) wrote :

Next, I am compiling an upstream kernel...

Revision history for this message
Stefan Bader (smb) wrote : Re: [Bug 611624] Re: hang when creating lvm snapshot

On 07/30/2010 11:41 AM, Patrick Pfeifer wrote:
> btw... why is the linux_2.6.32-23.37.diff.gz not available in
> archive.ubuntu.com ???
>
That version has been replaced by -24.38. -22.36 is only there because it was a
security update and -21.32 is retained as the initial release. Versions in
updates usually are replaced by the versions from proposed when they are released.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.