From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Heinz J . Mauelshagen" Subject: Re: [linux-lvm] vgscan errors Message-Id: <20020305002428.B13751@sistina.com> References: <3C83AD42.20301@theiqgroup.com> MIME-Version: 1.0 In-Reply-To: <3C83AD42.20301@theiqgroup.com>; from kcorbin@theiqgroup.com on Mon, Mar 04, 2002 at 11:22:10AM -0600 Sender: linux-lvm-admin@sistina.com Errors-To: linux-lvm-admin@sistina.com Reply-To: linux-lvm@sistina.com List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: Date: Mon Mar 4 17:26:02 2002 List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-lvm@sistina.com Error 2 is ENOENT (no entry). Could be a space problem in case / run full. Regards, Heinz -- The LVM Guy -- On Mon, Mar 04, 2002 at 11:22:10AM -0600, Kelly Corbin wrote: > I'm getting the following errors when running vgscan from my custom > rescue CD: > > vgscan -- reading all physical volumes (this may take a while...) > vgscan -- found inactive volume group "first_vg" > vgscan -- ERROR 2 writing volume group backup file > /etc/lvmtab.d/first_vg.tmp in vg_cfgbackup.c (line 270) > vgscan -- ERROR: unable to do a backup of volume group "first_vg" > > Unfortunately, I can't figure out why it couldn't write the backup file. > The directory is successfully created, but apparently it can't write > the files there for some reason. > > If I do a -v I get a little more info: > > vgscan -- storing volume group data of "first_vg" in > "/etc/lvmtab.d/first_vg.tmp" > vgscan -- storing physical volume data of "first_vg" in > "/etc/lvmtab.d/first_vg.tmp" > vgscan -- storing logical volume data > > of "first_vg" in "/etc/lvmtab.d/first_vg.tmp" > > vgscan -- ERROR 2 writing volume group backup file > /etc/lvmtab.d/first_vg.tmp in vg_cfgbackup.c (line 270) > vgscan -- ERROR: unable to do a backup of volume group "first_vg" > > This is a new machine and all I have done is create the volume group, > mount it and copy data down to it. I then rebooted and tried to run > vgscan again to confirm the consistency of what I had done and got the > above errors. I've done this exact procedure several times before with > no problems. I'm using LVM 1.0.1 with kernel 2.4.16 patched for XFS. > > Is there anything else I can try? Ideas? > > Thanks! > > Kelly > > -- > -------------------------------------------- > -- Kelly Corbin > -- Systems Administrator > -- > -- http://www.theiqgroup.com > -- The Future of eServices... > -- > -- The IQ Group, Inc. > -- 6740 Antioch Suite 110 > -- Merriam, KS 66204 > -- (913)-722-6700 x105 > -- Fax (913)722-7264 > -------------------------------------------- > > > _______________________________________________ > linux-lvm mailing list > linux-lvm@sistina.com > http://lists.sistina.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html *** Software bugs are stupid. Nevertheless it needs not so stupid people to solve them *** =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Heinz Mauelshagen Sistina Software Inc. Senior Consultant/Developer Am Sonnenhang 11 56242 Marienrachdorf Germany Mauelshagen@Sistina.com +49 2626 141200 FAX 924446 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-