linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Luca Berra <bluca@comedia.it>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Setting LVM logical volume filesystem type
Date: Wed, 10 Jun 2009 07:36:18 +0200	[thread overview]
Message-ID: <20090610053618.GA18433@maude.comedia.it> (raw)
In-Reply-To: <cf917e520906091417n31a7a0e1i4e40d84ee8170d68@mail.gmail.com>

On Wed, Jun 10, 2009 at 12:17:47AM +0300, ajalkane wrote:
>Hi,
>
>how can I set the filesystem type for LVM2 logical volume? For some
>reason my logical volume /var, which is ext3, suddenly started to be
>detected as solaris_mirror_member (or something to that effect) which
>causes it to be unable to be automatically mounted. If I mount it
>manually specifying the filesystem type as ext3 it works. Fsck reports
>no errors.
>
>This happened just suddenly. Naturally I would like to know how it
>could corrupt like that. But it might be difficult. Right now I just
>want my system to be usable again. How can I tell LVM that it is
>indeed ext3 volume without reformatting the logical volume?

lvm has no notion of what is inside a logical volume.
i suppose blkid (which is used by mount to find the fs type got it
wrong)
check running
blkid /dev/vgXXX/lvolYYY
and
blkid -c /dev/null /dev/vgXXX/lvolYYY

L.
-- 
Luca Berra -- bluca@comedia.it
         Communication Media & Services S.r.l.
  /"\
  \ /     ASCII RIBBON CAMPAIGN
   X        AGAINST HTML MAIL
  / \

      reply	other threads:[~2009-06-10  5:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-09 21:17 [linux-lvm] Setting LVM logical volume filesystem type ajalkane
2009-06-10  5:36 ` Luca Berra [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=20090610053618.GA18433@maude.comedia.it \
    --to=bluca@comedia.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;
as well as URLs for NNTP newsgroup(s).