linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Stuart D. Gathman" <stuart@bmsi.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Problems with dissapearing PV when mounting
Date: Sun, 6 Dec 2009 21:22:13 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0912062114210.24919@bmsred.bmsi.com> (raw)
In-Reply-To: <691e2b620912061047i13bd740eq947dc2a67086e439@mail.gmail.com>

On Sun, 6 Dec 2009, Johan Gardell wrote:

> But the problems appear when:
> vgchange -ay gardin
>   device-mapper: reload ioctl failed: Invalid argument
>   device-mapper: reload ioctl failed: Invalid argument
>   2 logical volume(s) in volume group "gardin" now active
> 
> Where dmesg shows:
> [31936.135588] device-mapper: table: 254:1: linear: dm-linear: Device
> lookup failed
> [31936.135592] device-mapper: ioctl: error adding target to table
> [31936.150572] device-mapper: table: 254:2: linear: dm-linear: Device
> lookup failed
> [31936.150576] device-mapper: ioctl: error adding target to table
> [31940.024525] end_request: I/O error, dev fd0, sector 0

The fd0 error means you need to exclude /dev/fd0 from the vgscan in
/etc/lvm/lvm.conf (or wherever Debian puts it).  Start to worry
if you get I/O errors on sdb or sdc.

> And trying to mount the vg:
> mount /dev/mapper/gardin-root /mnt/tmp
>   mount: you must specify the filesystem type

You need to show us the output of 'lvs'.  (Even if it just spits out an error.)

Is there an LV named "root"?  I think so, since it would say "special device
does not exist" if not.  But what kind of filesystem did it have
on it?  Maybe it is not an auto-detected one, or you need to load
the filesystem driver.  Does mount report I/O error if it gets one
trying to identify the filesystem?

-- 
	      Stuart D. Gathman <stuart@bmsi.com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.

      reply	other threads:[~2009-12-07  2:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-06 18:47 [linux-lvm] Problems with dissapearing PV when mounting Johan Gardell
2009-12-07  2:22 ` Stuart D. Gathman [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=Pine.LNX.4.64.0912062114210.24919@bmsred.bmsi.com \
    --to=stuart@bmsi.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).