linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Eric Ren <zren@suse.com>
To: LVM general discussion and development <linux-lvm@redhat.com>,
	georges.giralt@free.fr
Subject: Re: [linux-lvm] Sorry to ask here ...
Date: Thu, 2 Mar 2017 13:44:13 +0800	[thread overview]
Message-ID: <e7242e4c-537d-a0b5-523c-cfa55d7170cb@suse.com> (raw)
In-Reply-To: <b55d9679-db08-7e72-ff0f-ec471fc8f514@free.fr>

[-- Attachment #1: Type: text/plain, Size: 1937 bytes --]

Hi,

On 02/24/2017 03:25 AM, Georges Giralt wrote:
> Hello !
>
> I'm sorry to ask for help here, but I'm lost in the middle of nowhere ...
>
> The context :
>
> A PC hardware with an UEFI "BIOS" set to legacy boot only.
>
> 3 disks with 2 partitions each. The 3 first partitions are set in software mirror (md0) 
> and used for /boot (Ext4) .The second 3 partitions are used as a software mirror and the 
> resulting md1 is the sole PV of a vg0 group onto which 8 logical volumes are set. This is 
> used to run Ubuntu 16.04.2 software (after many upgrades...).   *
>
> This setup has worked for years and seen changes in disk sizes, main board, etc...
>
> Lastly, I bet the cause is an upgrade of some packages, the machine refuses to boot. It 
> drops onto initramfs shell because the vg0 volume group is not activated. Launching lvm 
> and doing a vgchange -a y does the trick and the system boots fine afterwards.
>
> I've searched everything I can (but maybe the setup was so rock solid I became lazy or 
> unconscious) and tried to make again the initramfs with no luck.
>
> So every leads or advice would be greatly appreciated. Please, refrain to hit me hard on 
> the face. I'm already mourning....
>
> Many thanks in advance for your help !
>
>
> * : The 3 disks are here because at one time, long ago, I used mirroring in the LVM 
> software. ... I switched to software raid and kept the 3 disks as I had them into the box.
Looks very similar with these bugs:

https://bugzilla.opensuse.org/show_bug.cgi?id=964862
https://bugzilla.opensuse.org/show_bug.cgi?id=919284
https://bugzilla.opensuse.org/show_bug.cgi?id=1019886

You might be interested in having a try with this fix (attached):
"simplify-special-case-for-md-in-69-dm-lvm-metadata.patch"

This patch was originally discussed here - https://www.spinics.net/lists/raid/msg55182.html

But for some reason, it is not accepted by upstream:)

Hope it can help.

Eric

>
>


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Simplify-special-case-for-md-in-69-dm-lvm-metadata.r.patch --]
[-- Type: text/x-patch; name="0001-Simplify-special-case-for-md-in-69-dm-lvm-metadata.r.patch", Size: 0 bytes --]



      parent reply	other threads:[~2017-03-02  5:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-23 19:25 [linux-lvm] Sorry to ask here Georges Giralt
2017-02-23 20:23 ` Xen
2017-02-24 17:00   ` Georges Giralt
2017-03-02  5:44 ` Eric Ren [this message]

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=e7242e4c-537d-a0b5-523c-cfa55d7170cb@suse.com \
    --to=zren@suse.com \
    --cc=georges.giralt@free.fr \
    --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;
as well as URLs for NNTP newsgroup(s).