[linux-lvm] [PATCH] cannot create PV on empty drive
Alasdair G Kergon
agk at redhat.com
Sat Dec 18 19:42:56 UTC 2004
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 at redhat.com
More information about the linux-lvm
mailing list