linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Heinz Mauelshagen <heinzm@redhat.com>
To: lvm@qasmos.net,
	LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Recovering a volume after lost disk
Date: Tue, 29 Nov 2011 11:03:56 +0100	[thread overview]
Message-ID: <4ED4AE0C.8010504@redhat.com> (raw)
In-Reply-To: <20111128124632.GA17443@hulk.dreamhost.com>


vgreduce --removemissing $VGName ; vgchange -ay

Of course you'll loose any LV data on the lost drive.

Heinz

On 11/28/2011 01:46 PM, lvm@qasmos.net wrote:
> I have a file system that spanned two physical disks on my Linux machine but one disk was lost and had to be pulled out due to excessive errors.  Are there instructions anywhere for being able to truncate the file system to the size of the good disk and mount it that way?  The disk that is left is good so data in it should be intact.  It is just that volume manager commands don’t see the volume in it, only the disk group itself.
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 
===============================================================
Heinz Mauelshagen                               +49 2626 141200
Consulting Development Engineer             FAX +49 2626 924446
Red Hat GmbH
Am Sonnenhang 11
56242 Marienrachdorf
Germany                                       heinzm@redhat.com
===============================================================

  reply	other threads:[~2011-11-29 10:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-28 12:46 [linux-lvm] Recovering a volume after lost disk lvm
2011-11-29 10:03 ` Heinz Mauelshagen [this message]
2011-11-29 14:20 ` Milan Broz
  -- strict thread matches above, loose matches on Subject: below --
2011-11-29 10:46 shtegtari
2011-11-30 18:09 ` Stuart D. Gathman
2011-11-29 15:43 lvm

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=4ED4AE0C.8010504@redhat.com \
    --to=heinzm@redhat.com \
    --cc=linux-lvm@redhat.com \
    --cc=lvm@qasmos.net \
    /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).