All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Archive Question
@ 2006-08-11 21:14 John DeFranco
  2006-08-11 21:19 ` Alasdair G Kergon
  0 siblings, 1 reply; 5+ messages in thread
From: John DeFranco @ 2006-08-11 21:14 UTC (permalink / raw)
  To: linux-lvm

Hi All,

I am getting a lot of the following messages:

/etc/lvm/archive/.lvm_ny476.cup.hp.com_24035_984827937: rename to 
/etc/lvm/archive/vgsb1_01871.vg failed: File exists

I don't know is how this happens. I cannot find any documentation on 
this message. Any pointers?

-- 
===========
John DeFranco                  Hewlett Packard Company
john.defranco@hp.com           Availability Clusters Solution Lab
phone: 408 447-7543            19111 Pruneridge Ave., M/S 4101
fax:   408 447-0056            Cupertino, CA 95014

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] Archive Question
  2006-08-11 21:14 [linux-lvm] Archive Question John DeFranco
@ 2006-08-11 21:19 ` Alasdair G Kergon
  2006-08-11 21:26   ` John DeFranco
  0 siblings, 1 reply; 5+ messages in thread
From: Alasdair G Kergon @ 2006-08-11 21:19 UTC (permalink / raw)
  To: LVM general discussion and development

On Fri, Aug 11, 2006 at 02:14:58PM -0700, John DeFranco wrote:
> /etc/lvm/archive/.lvm_ny476.cup.hp.com_24035_984827937: rename to 
> /etc/lvm/archive/vgsb1_01871.vg failed: File exists
 
> I don't know is how this happens. I cannot find any documentation on 
> this message. Any pointers?

Exactly what version of LVM is this?
(And does the file exist?   Is /etc a local, writeable filesystem?)
 
Alasdair
-- 
agk@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] Archive Question
  2006-08-11 21:19 ` Alasdair G Kergon
@ 2006-08-11 21:26   ` John DeFranco
  2006-08-11 21:41     ` Alasdair G Kergon
  0 siblings, 1 reply; 5+ messages in thread
From: John DeFranco @ 2006-08-11 21:26 UTC (permalink / raw)
  To: LVM general discussion and development

Hi,

[root@ny176 log]# lvm version
   LVM version:     2.01.14 (2005-08-04)
   Library version: 1.01.04 (2005-08-02)
   Driver version:  4.4.0

/etc/ is a local writeable filesystem. I believe this occurs when I'm 
issuing a vgchange --addtag and/or vgchange -a y. I have scripts scripts
that are executing these commands but nothing that should be done in 
parallel.

Alasdair G Kergon wrote:
> On Fri, Aug 11, 2006 at 02:14:58PM -0700, John DeFranco wrote:
>> /etc/lvm/archive/.lvm_ny476.cup.hp.com_24035_984827937: rename to 
>> /etc/lvm/archive/vgsb1_01871.vg failed: File exists
>  
>> I don't know is how this happens. I cannot find any documentation on 
>> this message. Any pointers?
> 
> Exactly what version of LVM is this?
> (And does the file exist?   Is /etc a local, writeable filesystem?)
>  
> Alasdair

-- 
===========
Cheers
-jd

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] Archive Question
  2006-08-11 21:26   ` John DeFranco
@ 2006-08-11 21:41     ` Alasdair G Kergon
  2006-08-11 22:00       ` John DeFranco
  0 siblings, 1 reply; 5+ messages in thread
From: Alasdair G Kergon @ 2006-08-11 21:41 UTC (permalink / raw)
  To: LVM general discussion and development

On Fri, Aug 11, 2006 at 02:26:58PM -0700, John DeFranco wrote:
> /etc/ is a local writeable filesystem. I believe this occurs when I'm 
> issuing a vgchange --addtag and/or vgchange -a y. I have scripts scripts
> that are executing these commands but nothing that should be done in 
> parallel.
 
And you have default locking enabled?
  locking_type = 1  locking_dir = "/var/lock/lvm"
  in lvm.conf with /var also local

Perhaps there's some race in the backup file code:
It would be useful to have a list of all the lvm commands that might
possibly be executing against each other.

Alasdair
-- 
agk@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] Archive Question
  2006-08-11 21:41     ` Alasdair G Kergon
@ 2006-08-11 22:00       ` John DeFranco
  0 siblings, 0 replies; 5+ messages in thread
From: John DeFranco @ 2006-08-11 22:00 UTC (permalink / raw)
  To: LVM general discussion and development



Alasdair G Kergon wrote:
> On Fri, Aug 11, 2006 at 02:26:58PM -0700, John DeFranco wrote:
>> /etc/ is a local writeable filesystem. I believe this occurs when I'm 
>> issuing a vgchange --addtag and/or vgchange -a y. I have scripts scripts
>> that are executing these commands but nothing that should be done in 
>> parallel.
>  
> And you have default locking enabled?
>   locking_type = 1  locking_dir = "/var/lock/lvm"
>   in lvm.conf with /var also local
> 
Yes to all.

> Perhaps there's some race in the backup file code:
> It would be useful to have a list of all the lvm commands that might
> possibly be executing against each other.
I'm trying to assemble that list.

Thanks.
-- 
===========
Cheers
-jd

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-08-11 22:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-11 21:14 [linux-lvm] Archive Question John DeFranco
2006-08-11 21:19 ` Alasdair G Kergon
2006-08-11 21:26   ` John DeFranco
2006-08-11 21:41     ` Alasdair G Kergon
2006-08-11 22:00       ` John DeFranco

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.