Linux LVM users
 help / color / mirror / Atom feed
From: "exxs.net - matevz sernc-urban" <ms@exxs.net>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Every now and then LVM is not recognized - LVM2 on RAID10
Date: Thu, 24 Jul 2008 17:36:48 +0200	[thread overview]
Message-ID: <4888A190.2090103@exxs.net> (raw)
In-Reply-To: <20080723173514.GC30203@soda.linbit>

Lars Ellenberg schrieb:
> On Wed, Jul 23, 2008 at 02:07:32PM +0200, exxs.net - matevz sernc-urban wrote:
>>
>> i am running into a very interesting situation today, that our LVM  
>> metadata is recognized only sometimes. LVM was running fine for some  
>> weeks and now from today on running pvscan 10 times one after another i  
>> get about 4 positive and 6 negative results (its somehow a coincidence  
>> that LVM is recognized).
>>
...
>>
>> Any hints?
>>
>> Where should it look regarding "/dev/md2: No label detected" vs.  
>> "/dev/md2: lvm2 label detected"??
>>
>> It seems like RAID-10 is not sync'ed well maybe? But, mdstat reports all  
>> disks are up.
> 
> just a shot in the dark:
> 
> for dev in /dev/sd{a,b,c,d}5; do
> 	md5=$(dd if=$dev iflag=direct bs=1M count=1 | md5sum)
> 	echo "$dev: $md5"
> done

this is a RAID 10,f2 (with 2 far copies)
so the starting order of blocks is different on all 4 hdd's (and 
therefore all four md5's are different).

> 
> echo check > /sys/block/md2/md/sync_action
> 

i did this, and it finished without any failures - all disks are up and 
sync'ed again. RAID is therefore not a possible problem.

i must add that the logical volumes are in use and working. i just 
really do not want to reboot the machine as i suppose they couldn't be 
brought up again.

Any other hints of why sometimes i get "/dev/md2: No label detected" vs.
  "/dev/md2: lvm2 label detected"?

thanks in advance for any possible hints
mat

      reply	other threads:[~2008-07-24 15:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-23 12:07 [linux-lvm] Every now and then LVM is not recognized - LVM2 on RAID10 exxs.net - matevz sernc-urban
2008-07-23 17:35 ` Lars Ellenberg
2008-07-24 15:36   ` exxs.net - matevz sernc-urban [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=4888A190.2090103@exxs.net \
    --to=ms@exxs.net \
    --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