Linux LVM users
 help / color / mirror / Atom feed
From: 오이라 <ohyira@gluesys.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] vgcreate -- ERROR 2 writing volume group backup file /etc/lvmtab.d/new.tmp in vg_cfgbackup.c [line 257]
Date: Thu Feb 19 19:29:02 2004	[thread overview]
Message-ID: <006e01c3f748$dfd91e00$9700a8c0@iris> (raw)

[-- 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 --]

             reply	other threads:[~2004-02-20  0:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-19 19:29 오이라 [this message]
2004-02-20 10:12 ` [linux-lvm] vgcreate -- ERROR 2 writing volume group backup file /etc/lvmtab.d/new.tmp in vg_cfgbackup.c [line 257] Heinz Mauelshagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='006e01c3f748$dfd91e00$9700a8c0@iris' \
    --to=ohyira@gluesys.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox