kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #69688
[Bug 1328595] Re: lvcreate -s hangs when overlayfs is in use
Update:
I tried to find a work around by using aufs.
To make a long story short: There seams to be the same issue.
mkdir /tmp/dir1 /tmp/aufs-root
mount -t aufs -o br=/tmp/dir1:/home/test,xino=/dev/shm/aufs.xino none /tmp/aufs-root
lvcreate -s -L 5G /dev/virt/opt -n vm_backup
-> Hang
dmesg
[1213440.776036] INFO: task ypbind:9957 blocked for more than 120 seconds.
[1213440.776141] Not tainted 3.13.0-29-generic #53-Ubuntu
[1213440.776233] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[1213440.776351] ypbind D ffff88042fc14440 0 9957 8265 0x20020000
[1213440.776357] ffff880414fe9dd8 0000000000000002 ffff880414c547d0 ffff880414fe9fd8
[1213440.776362] 0000000000014440 0000000000014440 ffff880414c547d0 ffff880413016000
[1213440.776366] 0000000000000001 0000000000000001 0000000000000000 ffff8804130162b0
[1213440.776370] Call Trace:
[1213440.776380] [<ffffffff8171e639>] schedule+0x29/0x70
[1213440.776386] [<ffffffff811bee43>] __sb_start_write+0x93/0xe0
[1213440.776393] [<ffffffff810aaea0>] ? prepare_to_wait_event+0x100/0x100
[1213440.776397] [<ffffffff811bcb5e>] compat_do_readv_writev+0x20e/0x260
[1213440.776452] [<ffffffffa03e2ec0>] ? xfs_file_buffered_aio_write+0x1a0/0x1a0 [xfs]
[1213440.776455] [<ffffffff811bc030>] ? do_sync_read+0x90/0x90
[1213440.776461] [<ffffffff8111140c>] ? acct_account_cputime+0x1c/0x20
[1213440.776465] [<ffffffff8109d77b>] ? account_user_time+0x8b/0xa0
[1213440.776468] [<ffffffff8109dd94>] ? vtime_account_user+0x54/0x60
[1213440.776472] [<ffffffff811bcc57>] compat_writev+0x37/0x70
[1213440.776476] [<ffffffff811bdd69>] compat_SyS_writev+0x49/0xa0
[1213440.776480] [<ffffffff8172c8ec>] sysenter_dispatch+0x7/0x21
[1213440.776497] INFO: task lvcreate:28589 blocked for more than 120 seconds.
[1213440.776603] Not tainted 3.13.0-29-generic #53-Ubuntu
[1213440.776695] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[1213440.776811] lvcreate D ffff88042fcd4440 0 28589 24487 0x00000000
[1213440.776815] ffff8802ce4c1bc8 0000000000000002 ffff8802ce7b0000 ffff8802ce4c1fd8
[1213440.776819] 0000000000014440 0000000000014440 ffff8802ce7b0000 ffff880413016290
[1213440.776823] ffff8802ce4c1c00 ffff8802ce7b0000 ffff880413016218 0000000000000001
[1213440.776827] Call Trace:
[1213440.776831] [<ffffffff8171e639>] schedule+0x29/0x70
[1213440.776835] [<ffffffff811bef2d>] sb_wait_write+0x9d/0xb0
[1213440.776839] [<ffffffff810aaea0>] ? prepare_to_wait_event+0x100/0x100
[1213440.776842] [<ffffffff811bf128>] freeze_super+0x68/0x130
[1213440.776847] [<ffffffff811f6645>] freeze_bdev+0x75/0xd0
[1213440.776853] [<ffffffff815b6fca>] dm_suspend+0x11a/0x1e0
[1213440.776857] [<ffffffff815bc384>] dev_suspend+0x194/0x220
[1213440.776861] [<ffffffff815bc1f0>] ? table_load+0x350/0x350
[1213440.776864] [<ffffffff815bcbb5>] ctl_ioctl+0x255/0x500
[1213440.776868] [<ffffffff815bce73>] dm_ctl_ioctl+0x13/0x20
[1213440.776873] [<ffffffff811cf9c0>] do_vfs_ioctl+0x2e0/0x4c0
[1213440.776877] [<ffffffff8109dd94>] ? vtime_account_user+0x54/0x60
[1213440.776880] [<ffffffff811cfc21>] SyS_ioctl+0x81/0xa0
[1213440.776885] [<ffffffff8172adff>] tracesys+0xe1/0xe6
I wonder how no one else can suffer from this problem.
It should not be to uncommon to use LVM snapshots for backup purposes ...
Greetings,
Dirk
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1328595
Title:
lvcreate -s hangs when overlayfs is in use
Status in “linux” package in Ubuntu:
Confirmed
Bug description:
I am using xbuntu 14.04 LTS in combination with KVM, lxc, logical volumes and overlayfs.
After I started using overlayfs i realized that my backup based on LVM snapshots made the system "go mad".
As described in the manual I tried the kernel from 13.10 (3.11.0-xx) with the same result.
A test against main line does not help, since it does not include the overlayfs support.
I tested the behaviour on a server as well as in a VirtualBox environment with the same result:
lvcreate -s -n backup -L512M /dev/VG/NAME hangs and does not come back.
This issue is easy reproducable:
sudo mkdir /mnt/test /mnt/delta
sudo mount -t overlayfs -o lowerdir=/usr,upperdir=/mnt/delta overlayfs /mnt/test
sudo lvcreate -s -n backup -L512M /dev/xubuntu-vg/root
-> Hang
df@feretti-virt:~$ uname -r
3.13.0-29-generic
df@feretti-virt:~$ cat /proc/version_signature
Ubuntu 3.13.0-29.53-generic 3.13.11.2
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-29-generic 3.13.0-29.53
ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
Uname: Linux 3.13.0-29-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D1c', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Date: Tue Jun 10 18:02:13 2014
HibernationDevice: RESUME=UUID=6e68761a-6768-4e19-9c4e-f188538d6068
InstallationDate: Installed on 2014-02-18 (112 days ago)
InstallationMedia: Xubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016)
Lsusb:
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: innotek GmbH VirtualBox
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-29-generic root=/dev/mapper/xubuntu--vg-root ro quiet splash vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
linux-restricted-modules-3.13.0-29-generic N/A
linux-backports-modules-3.13.0-29-generic N/A
linux-firmware 1.127.2
RfKill:
SourcePackage: linux
UpgradeStatus: Upgraded to trusty on 2014-04-22 (49 days ago)
dmi.bios.date: 12/01/2006
dmi.bios.vendor: innotek GmbH
dmi.bios.version: VirtualBox
dmi.board.name: VirtualBox
dmi.board.vendor: Oracle Corporation
dmi.board.version: 1.2
dmi.chassis.type: 1
dmi.chassis.vendor: Oracle Corporation
dmi.modalias: dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:rvnOracleCorporation:rnVirtualBox:rvr1.2:cvnOracleCorporation:ct1:cvr:
dmi.product.name: VirtualBox
dmi.product.version: 1.2
dmi.sys.vendor: innotek GmbH
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1328595/+subscriptions
References