[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[linux-lvm] "Close failed: Bad file descriptor" messages on pvcreate
- From: Sreedharan_Vinod emc com
- To: linux-lvm redhat com
- Subject: [linux-lvm] "Close failed: Bad file descriptor" messages on pvcreate
- Date: Wed, 4 May 2005 10:49:00 +0100
> Hi,
>
> When I do pvcreate, I get deluged with "pvcreate /dev/sdf: close failed:
> Bad file descriptor" messages.
>
> I need to explicity open another session to kill the previous pvcreate
> instance to get out of this situation.
>
> On the same system, pvcreate another device succeeds.
>
> Distro: RHEL 4.0 GA version
> version LVM version: 2.00.31 (2004-12-12)
> version Library version: 1.00.19-ioctl (2004-07-03)
> version Driver version: 4.3.0
>
> :~ # dd if=/dev/sdf of=/dev/null bs=1k count=2
> 2+0 records in
> 2+0 records out
> :~ # dd if=/dev/sde of=/dev/null bs=1k count=2
> 2+0 records in
> 2+0 records out
>
> # pvcreate /dev/sde
> pvcreate Physical volume "/dev/sde" successfully created
>
> # pvcreate /dev/sdf
> pvcreate /dev/sdf: close failed: Bad file descriptor
> pvcreate /dev/sdf: close failed: Bad file descriptor
> pvcreate /dev/sdf: close failed: Bad file descriptor
> pvcreate /dev/sdf: close failed: Bad file descriptor
>
>
> Same messages till I kill pvcreate explicitly.
>
> I see that lvmdiskscan does NOT list /dev/sdf but does list /dev/sde
>
> Note: I did a vgscan/pvscan explicitly after doing a "make install" of the
> built 2.00.31 sources.
>
> When I downgrade the lvm version (say: 2.00.15), make and make install --
> everything seems to work find
> and I am able to do a PV on both sde and sdf. And I am able to see both
> devices in lvmdiskscan output.
>
> Any idea on what's happening here?
>
> Thanks,
> Vinod
>
>
>
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]