vgcreate -- ERROR 2 writing volume group backup file /etc/lvmtab.d/new.tmp in vg_cfgbackup.c [line 257]
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
Quoted 8 lines · ���̶�
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..
Quoted 5 lines
#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.tmpinvg_cfgbackup.c[line 257] vgcreate -- ERROR "vg_cfgbackup(): write" writing "/etc/lvmtab"
Filesystem holding /etc is either readonly or full.
Quoted 21 lines
#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.tmpinvg_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 groupfdisk -l
Disk
/dev/sdc: 64 heads, 32 sectors, 1436208 cylinders Units = cylinders of 2048 * 512 bytesDevice Boot Start End Blocks Id System
/dev/sdc11 1436208 1470676976 8e Linux LVM
Signature · 15 lines
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
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-