linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Nick Gushlow" <nick.gushlow@gmail.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] LVM Volumes No Longer Mount
Date: Wed, 3 May 2006 19:02:38 +0100	[thread overview]
Message-ID: <64b6db970605031102m8dd3db9s8444cbfc868f73d6@mail.gmail.com> (raw)

I'm having problems with all the LVM volumes on my system after a
forced reset (complete system hang forced the reset).  I want to give
as much info as possible so I'll use pastebin to keep the email
shorter, if you want me to add the pastebin entries to an email I can.

I spent some time on the irc channel earlier and despite pjc's efforts
(thanks) a resolution was not found.

----------------------------------------------------------------------------------------------

After the forced reset attempts at mounting any of the LVs give the
following error:

[root@cattlewash ~]# mount /home
mount: special device /dev/vg1/Home does not exist

My initial diagnosis of the problem was that 2 disks (yes I know
unlikely!) had failed and lost labels and partition tables -
http://guswrk.pastebin.com/696211.

I now realise that it's not just the one VG & LV covering those disks
but all LVs - one VG/LV covering two disks, and one VG with several
LVs on a partition on another disk; and that those disks were setup
without partitions.  It should be noted that this was done years ago
following instructions off a site so I've no idea what I did when
setting things up.

An fdisk of the disk with the an LVM partition and several LVs reports
right, but gpart doesn't - http://guswrk.pastebin.com/696208

The odd thing about this all is that pvscan, vgscan & lvscan seem to
report things ok. - http://guswrk.pastebin.com/696212

I tried using vgmknodes but then after running it attempts at mounting LVs gave:

mount: /dev/vg2/ftp: can't read superblock

The original mounting error message returns after a reboot of the system.

And lvm dumpconfig gives - http://guswrk.pastebin.com/696195

I'm really at a loss as to what to do to recover the LVs. If I can at
least recover the LVs in  vg1 I'd be happy. I thought about doing an
export then importing again, but I guess if it's the metadata that's
hosed then this won't help.

Anyone got any ideas that could help me?

--
Nick

                 reply	other threads:[~2006-05-03 18:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=64b6db970605031102m8dd3db9s8444cbfc868f73d6@mail.gmail.com \
    --to=nick.gushlow@gmail.com \
    --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).