Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #165210

Re: LVM disappeared after upgrade in jessie

From Sebastian Weckend <sebastian.weckend@posteo.de>
Newsgroups linux.debian.user
Subject Re: LVM disappeared after upgrade in jessie
Date 2016-03-10 15:20 +0100
Message-ID <rb9Bw-85J-9@gated-at.bofh.it> (permalink)
References <rb7Jn-6ST-9@gated-at.bofh.it> <rb8m7-78l-31@gated-at.bofh.it> <rb98u-7FW-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


I found the problem, here is what happened:

When first creating the raid partition for the lvm, I saved the config 
to /etc/mdadm.conf

Everything worked fine, because somehow it still got detected and was 
assembled as md127. I didnt notice and went on.

It seems that after an update (not shure which) it does not do the 
automated search and assembling of the unconfigured raid partitions 
anymore. I put the missing configuration in /etc/mdadm/mdadm.conf and 
everything is fine again.

thanks, Sebastian


Am 10.03.2016 um 14:43 schrieb Dan Ritter:
> On Thu, Mar 10, 2016 at 01:37:06PM +0100, Sebastian Weckend wrote:
>> In the backup of the LVM configuration I found
>>
>> physical_volumes {
>>      pv0 {
>>          id = "zKO1Xq-VGmI-nX8P-Rwh3-wiFn-GuD4-26dAoZ"
>>          device = "/dev/md127"   # Hint only
>>          status = ["ALLOCATABLE"]
>>          flags = []
>>          dev_size = 5798400896   # 2.70009 Terabytes
>>          pe_start = 2048
>>          pe_count = 707812       # 2.70009 Terabytes
>>      }
>> }
>>
>> but there is no /dev/md127. So it seems it is a software-raid problem.
>>
>> Did I configure the software-raid wrong? And why did it disappear
>> just now? Any idea how I get the partition back?
>
>
> Does it appear in /proc/mdstat in any form? I suspect that the
> device got renamed.
>
> Any mentions of mdadm in dmesg output?
>
> You can examine specific partitions with mdadm -Q /dev/sdXX
>
> -dsr-
>

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

LVM disappeared after upgrade in jessie Sebastian Weckend <sebastian.weckend@posteo.de> - 2016-03-10 13:20 +0100
  Update: LVM disappeared after upgrade in jessie Sebastian Weckend <sebastian.weckend@posteo.de> - 2016-03-10 13:40 +0100
  Re: LVM disappeared after upgrade in jessie Sebastian Weckend <sebastian.weckend@posteo.de> - 2016-03-10 14:00 +0100
    Re: LVM disappeared after upgrade in jessie Dan Ritter <dsr@randomstring.org> - 2016-03-10 14:50 +0100
      Re: LVM disappeared after upgrade in jessie Sebastian Weckend <sebastian.weckend@posteo.de> - 2016-03-10 15:20 +0100

csiph-web