Red Hat Bugzilla – Bug 178258
annoying "File descriptor left open" messages while snapshoting
Last modified: 2007-11-30 17:07:22 EST
Description of problem:
I saw some closed bugs similar to this (having the same messages) for mkinitrd
and init, but I only needed to attempt snapshot creations inorder to see the
messages this time.
[root@link-08 bin]# lvcreate -s /dev/snapper/origin -L 50M
File descriptor 3 left open
File descriptor 4 left open
Rounding up size to full physical extent 52.00 MB
Logical volume "lvol2" created
Version-Release number of selected component (if applicable):
[root@link-08 bin]# rpm -q lvm2
[root@link-08 bin]# rpm -q lvm2-cluster
Run 'lsof' against your shell process and see where those file descriptors 3 and
4 are pointing.
This was a legitimate bug. If it is just going to be closed since I haven't been
able to reproduce it, close it WORKSFORME, not NOTABUG.
It's not a bug in lvm2 - the problem lies elsewhere. The warning message tells
you that something else run by a previous process forgot to close some file
desciptors and they got inherited by lvm2. For WORKSFORME you'd need to track
down what didn't close its file descriptors and change the component to that