[linux-lvm] vgcreate -- ERROR 2 writing volume group backup file /etc/lvmtab.d/new.tmp in vg_cfgbackup.c [line 257]
Heinz Mauelshagen
Mauelshagen at redhat.com
Fri Feb 20 10:12:19 UTC 2004
On Fri, Feb 20, 2004 at 09:31:16AM +0900, ¿ÀÀ̶ó wrote:
> 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"
Filesystem holding /etc is either readonly or full.
>
> #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
--
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Red Hat GmbH
Consulting Development Engineer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen at RedHat.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
More information about the linux-lvm
mailing list