FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 07-05-2010, 07:24 AM
 
Default Any recent LVM changes?

I have two backup drives which use LVM partitions and groups. I also
have LVM partitions and groups on my main system.

When I try even vgscan on the backup disks, I get weird errors. Read
errors, can't find the vg groups, can't write ... sort of works for
reading, but I wasn't interested in exploring a bad mount, and I am
not about to actually try backing up to it and possibly trash what is
there, or potentially used to be :-O

What makes me nervous is that gentoo ~amd64 has twice before botched
an LVM upgrade and caused some tense times while I got it back in
shape. When the system won't even boot properly without a proper LVM,
it can raise my pulse ... I would rather keep this working system
running even tho it won't let me mount my backup drives.

My current LVM version is sys-fs/lvm2-2.02.67-r2, merged on 16 June.
I rebooted on 26 June (2.6.34-gentoo-r1) and backed up last weekend no
problems. Seems like something else must have changed since them.
These are the only sys-*/ ones which seem likely ...

sys-libs/e2fsprogs-libs-1.41.12

sys-fs/e2fsprogs-1.41.12

I see that sys-apps/util-linux-2.18 has failed:

Failed Patch: util-linux-ng-2.17.1-20100308.diff

Does anyone have a clue for me?

--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
 
Old 07-06-2010, 06:12 PM
walt
 
Default Any recent LVM changes?

On 07/05/2010 12:24 AM, felix@crowfix.com wrote:

I have two backup drives which use LVM partitions and groups. I also
have LVM partitions and groups on my main system.

When I try even vgscan on the backup disks, I get weird errors. Read
errors, can't find the vg groups, can't write ... sort of works for
reading, but I wasn't interested in exploring a bad mount, and I am
not about to actually try backing up to it and possibly trash what is
there, or potentially used to be :-O

What makes me nervous is that gentoo ~amd64 has twice before botched
an LVM upgrade and caused some tense times while I got it back in
shape. When the system won't even boot properly without a proper LVM,
it can raise my pulse ... I would rather keep this working system
running even tho it won't let me mount my backup drives.

My current LVM version is sys-fs/lvm2-2.02.67-r2, merged on 16 June.
I rebooted on 26 June (2.6.34-gentoo-r1) and backed up last weekend no
problems. Seems like something else must have changed since them.
These are the only sys-*/ ones which seem likely ...

sys-libs/e2fsprogs-libs-1.41.12

sys-fs/e2fsprogs-1.41.12

I see that sys-apps/util-linux-2.18 has failed:

Failed Patch: util-linux-ng-2.17.1-20100308.diff


I'm using all the same versions on my ~amd64 and having no problems.
I just re-merged util-linux without errors, so it's worrisome that the
patch fails. Filesystem corruption?

Smells to me like hardware or even driver problems. Did you just
recently update the kernel? Are the backup drives in a different
enclosure or connected to a different controller? Cable problems?
Flakey power supply? Machine overheating? Flakey memory? Overclocking?
 
Old 07-17-2010, 02:38 PM
 
Default Any recent LVM changes?

On Tue, Jul 06, 2010 at 11:12:09AM -0700, walt wrote:

> I'm using all the same versions on my ~amd64 and having no problems.
> I just re-merged util-linux without errors, so it's worrisome that the
> patch fails. Filesystem corruption?
>
> Smells to me like hardware or even driver problems. Did you just
> recently update the kernel? Are the backup drives in a different
> enclosure or connected to a different controller? Cable problems?
> Flakey power supply? Machine overheating? Flakey memory? Overclocking?

I rebooted and everything is working again. I was on pins and needles
while waiting, but a backup went fine last night.

util-linux still complains:

>>> Preparing source in /var/tmp/portage/sys-apps/util-linux-2.18/work/util-linux-ng-2.18 ...
* Applying util-linux-ng-2.17.1-20100308.diff ...

* Failed Patch: util-linux-ng-2.17.1-20100308.diff !
* ( /var/tmp/portage/sys-apps/util-linux-2.18/work/util-linux-ng-2.17.1-20100308.diff )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/sys-apps/util-linux-2.18/temp/util-linux-ng-2.17.1-20100308.diff.out

and that log says

***** util-linux-ng-2.17.1-20100308.diff *****

==============================================

PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < '/var/tmp/portage/sys-apps/util-linux-2.18/work/util-linux-ng-2.17.1-20100308.diff'

==============================================
can't find file to patch at input line 13
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|If this patch does not apply cleanly to newer version of util-linux-ng, try
|replacing original lomount.c lomount.h loop.h losetup.8 files in mount
|subdirectory with versions from util-linux-ng that the patch is for. And
|then apply this patch.
|
|mount/Makefile.in is a generated file. You can ignore patch failures on that
|file if you generate it again by running the ./autogen.sh script. That
|./autogen.sh script needs recent versions of autohell tools.
|
|diff -urN util-linux-ng-2.17.1/mount/Makefile.am util-linux-ng-2.17.1-AES/mount/Makefile.am
|--- util-linux-ng-2.17.1/mount/Makefile.am 2010-02-04 13:53:56.000000000 +0200
|+++ util-linux-ng-2.17.1-AES/mount/Makefile.am 2010-03-08 08:44:02.000000000 +0200

So I suppose I should open a bug on it. If it can't even find the
file, I don't think replacing existing files from elsewhere will do
any good. That also implies upstream will get things straightened out
sooner or later anyway.

--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
 

Thread Tools




All times are GMT. The time now is 07:12 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org