[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] [PATCH] cannot create PV on empty drive



Do you have verbose output from the failing pvcreate with '-vvvv'?
(or debug-log-to-file output)

On Thu, Dec 16, 2004 at 05:27:14PM +0100, Jerome Borsboom wrote:
> Some debugging showed that the culprit was the recent change to 
> the dev_open_flags code. 

The patch was produced under severe time pressure before I went away 
and I know it doesn't deal with one case properly - maybe the case 
you hit.  It addresses a symptom not the cause: the code is not meant 
to be trying to write to read-only file descriptors in the first place,
and this happens here because of a shortcoming in way it does its locking. 
I'll deal with this maybe later this week or else in the New Year.

Alasdair
-- 
agk redhat com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]