[linux-lvm] "Close failed: Bad file descriptor" messages on pvcreate

Jeffrey Johnson capitan.dorko at gmail.com
Wed May 11 17:23:21 UTC 2005


On 5/3/05, Sreedharan_Vinod at emc.com <Sreedharan_Vinod at emc.com> wrote:
> 
> 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.
> 

I've had the same problem with some SAN attached storage. I was able to 
workaround it by doing a vgcreate using the physical volume pvcreate failed 
on. This will obviously fail, but a subsequent pvcreate on the device will 
then work.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20050511/b390ff22/attachment.htm>


More information about the linux-lvm mailing list