Bug 178258 - annoying "File descriptor left open" messages while snapshoting
Summary: annoying "File descriptor left open" messages while snapshoting
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: lvm2
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Alasdair Kergon
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-01-18 21:44 UTC by Corey Marthaler
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-03-08 16:49:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Corey Marthaler 2006-01-18 21:44:18 UTC
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
lvm2-2.02.01-1.3.RHEL4
[root@link-08 bin]# rpm -q lvm2-cluster
lvm2-cluster-2.02.01-1.2.RHEL4


How reproducible:
everytime

Comment 1 Alasdair Kergon 2006-01-19 17:59:23 UTC
Run 'lsof' against your shell process and see where those file descriptors 3 and
4 are pointing.

Comment 2 Corey Marthaler 2006-03-08 16:53:36 UTC
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.

Comment 3 Alasdair Kergon 2006-03-08 17:08:01 UTC
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
from lvm2.


Note You need to log in before you can comment on or make changes to this bug.