Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] vgcreate -- ERROR 2 writing volume group backup file /etc/lvmtab.d/new.tmp in vg_cfgbackup.c [line 257]
@ 2004-02-19 19:29 오이라
  2004-02-20 10:12 ` Heinz Mauelshagen
  0 siblings, 1 reply; 2+ messages in thread
From: 오이라 @ 2004-02-19 19:29 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 1337 bytes --]

I'm lvm beginner ^^
Now I made a physical volume.(#pvcreate -ff /dev/sdc1)
but following problem occured..

I don't know why
Help me, please..


#vgcreate new /dev/sdc1 
vgcreate -- INFO: using default physical extent size 4 MB
vgcreate -- INFO: maximum logical volume size is 255.99 Gigabyte
vgcreate -- ERROR 2 writing volume group backup file /etc/lvmtab.d/new.tmp in vg_cfgbackup.c [line 257]
vgcreate -- ERROR "vg_cfgbackup(): write" writing "/etc/lvmtab"

#vgchange -a n new
vgchange -- ERROR: VGDA in kernel and lvmtab are NOT consistent; please run vgscan

#vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "new"
vgscan -- ERROR 2 writing volume group backup file /etc/lvmtab.d/new.tmp in vg_cfgbackup.c [line 257]
vgscan -- ERROR: unable to do a backup of volume group "new"
vgscan -- ERROR "lvm_tab_vg_remove(): unlink" removing volume group "new" from "/etc/lvmtab"
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume group


fdisk -l

Disk /dev/sdc: 64 heads, 32 sectors, 1436208 cylinders
Units = cylinders of 2048 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdc1             1   1436208 1470676976   8e  Linux LVM

[-- Attachment #2: Type: text/html, Size: 2472 bytes --]

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

end of thread, other threads:[~2004-02-20 15:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-19 19:29 [linux-lvm] vgcreate -- ERROR 2 writing volume group backup file /etc/lvmtab.d/new.tmp in vg_cfgbackup.c [line 257] 오이라
2004-02-20 10:12 ` Heinz Mauelshagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox