[linux-lvm] vgcreate -- ERROR 2 writing volume group backup file /etc/lvmtab.d/new.tmp in vg_cfgbackup.c [line 257]

오이라 ohyira at gluesys.com
Thu Feb 19 19:29:02 UTC 2004


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20040219/28dc9415/attachment.htm>


More information about the linux-lvm mailing list