All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [linux-lvm] Meaning of LV -missing_<x>_<x> devices
@ 2011-06-16 13:03 Enrico Ferro
  0 siblings, 0 replies; 3+ messages in thread
From: Enrico Ferro @ 2011-06-16 13:03 UTC (permalink / raw)
  To: LVM general discussion and development

> > 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

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [linux-lvm] Meaning of LV -missing_<x>_<x> devices
@ 2011-06-15 17:25 Enrico Ferro
  2011-06-15 17:43 ` Stuart D. Gathman
  0 siblings, 1 reply; 3+ messages in thread
From: Enrico Ferro @ 2011-06-15 17:25 UTC (permalink / raw)
  To: linux-lvm

Hi all,

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

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.

Commands like vgdisplay reported errors like:

# vgdisplay -s
/dev/mapper/vgmysql-mysqld1-missing_4_0: read failed after 0 of 4096 at 0: 
Input/output error
"vg00" 132.59 GB [28.78 GB used / 103.81 GB free]
"vgmysql" 811.95 GB [793.00 GB used / 18.95 GB free]

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. :-(

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?)

thank your for your suggestions,
best regards,
-- 
Enrico

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-16 13:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-16 13:03 [linux-lvm] Meaning of LV -missing_<x>_<x> devices Enrico Ferro
  -- strict thread matches above, loose matches on Subject: below --
2011-06-15 17:25 Enrico Ferro
2011-06-15 17:43 ` Stuart D. Gathman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.