Linux LVM users
 help / color / mirror / Atom feed
From: Enrico Ferro <enrico.ferro@infocamere.it>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Meaning of LV -missing_<x>_<x> devices
Date: Thu, 16 Jun 2011 15:03:29 +0200	[thread overview]
Message-ID: <4DF9FF21.3080406@infocamere.it> (raw)

> > after the extention of a logical volume (mysqld1) a new "ghost"
> > logical volume appeared with a <missing> suffix:
> >
> > brw-rw---- 1 root disk 253, 38 Feb 15 20:53 vgmysql-mysqld1
> > brw-rw---- 1 root disk 253, 44 Jun 1 10:21
> > vgmysql-mysqld1-missing_4_0
>
> That means the lv was extended onto a PV that is no longer online.
> The missing device is the extents allocated on the missing PV.

Thank you Stuart for this information. We are now trying to
reproduce this strange behavior using virtual machines. We have got
the same error messages during the FS extension, but the -missing_
device did not appeared. We will try again using the SAN on a test
cluster (no virtual machines).

 > > Before performing this LV we partitioned and added a new LUN to the
> > existing vgmysql volume group (again, no errors reported).
> > We did not discovered this strange device immediately (the lvextend
> > command did not reported errors), only after resizing the file
> > system.
> > The ext2fs operation aborted and so we started with investigation.
>
> > So online resize of the FS failed, we unmounted the LV, extended
> > with
> > (apparent) success the filesystems and lived happy for a few days.
> > Only
> > while a deep corruption of the FS appeared. :-(
>
> You needed to do an fsck after the aborted filesystem resize. I'm
> suprised the fs resize didn't make you do so. If you did do the fsck,
> then there are serious problems with your new PV.

You are right: we did also the fsck before extending the unmounted LV, the check 
completed apparently without problems. Only after the catastrophe we discovered 
in the syslog lines like "buffer i/o errors"
during the umount-fscheck-extension-mount activity. It seems very strange that 
similar errors are not reported as failure by command lines tools like e2fsck, 
mount, etc... or causing a remount in read-only mode of the filesystem.

> > A reboot cleaned up the strange "missing" LV, it is no more present.
> > The point is: what is the meaning of -missing_* device? When are
> > they
> > generated (and why there are no warnings reported?)
>
> Apparently, the new PV went offline between lvextend and resize.

Thank you *very much* Stuart for your help, we are still investigating
but now we have a clue related to the storage...

Best regards,
-- 
Enrico

             reply	other threads:[~2011-06-16 13:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-16 13:03 Enrico Ferro [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-06-15 17:25 [linux-lvm] Meaning of LV -missing_<x>_<x> devices Enrico Ferro
2011-06-15 17:43 ` Stuart D. Gathman

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=4DF9FF21.3080406@infocamere.it \
    --to=enrico.ferro@infocamere.it \
    --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