All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Smith <peter.smith@utsouthwestern.edu>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Ran vgreduce --missing to remove broken disk,	am I screwed?
Date: Tue, 29 Aug 2006 16:16:26 -0500	[thread overview]
Message-ID: <44F4AEAA.808@utsouthwestern.edu> (raw)
In-Reply-To: <001f01c6cbae$74be1480$0a00000a@thomas>

Thomas Novin wrote:

>>I had a disk that stopped working. After booting I could see with
>>pvdisplay
>>that the disk was missing. After reading everything I could find via
>>google
>>I thought that you were supposed to run 'vgreduce --remove-missing
>>volgrp0'
>>to remove the missing disk from the group.
>>
>>After this the volume group looks OK but the entire logical volume got
>>removed! Am I screwed now or is there any way to salvage the data which is
>>on the remaining three disks?
>>    
>>
>
>Please someone answer this, is there any solution to this problem? To
>clarify:
>
>- Disk failure
>- Ran 'vgreduce --remove-missing volgrp0' (probably not such a good idea)
>- /dev/volgrp0/ emtpy. 'lvdisplay' doesn't show anything.
>
>So, can I somehow restore my logical volume? The three other physical
>disks/partitions are intact.
>
>Thanks in advance,
>
>Thomas Novin
>  
>

You will probably be able to restore your config from a backup. Look in 
/etc/lvmconf . Or, look for files that may be backups of your 
configuration. You should be able to do some sort of vgcfgrestore 
command using a previous conf and get back to, at least, where you were 
before doing the remove.

Peter

  reply	other threads:[~2006-08-29 21:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-18 14:29 [linux-lvm] Ran vgreduce --missing to remove broken disk, am I screwed? Thomas Novin
2006-08-29 21:02 ` Thomas Novin
2006-08-29 21:16   ` Peter Smith [this message]
2006-08-30  2:16   ` Tom+Dale
2006-08-30  3:09     ` Tom+Dale
2006-09-04  4:09     ` [linux-lvm] Wrecked Logical Volume with vgreduce --removemissing Tom+Dale
2006-09-06 16:29       ` Peter Smith
2006-09-07 17:18       ` Peter Smith
2006-09-11 19:05         ` Tom+Dale
2006-09-12 18:06           ` Peter Smith
2006-09-10 17:27       ` Nix

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=44F4AEAA.808@utsouthwestern.edu \
    --to=peter.smith@utsouthwestern.edu \
    --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 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.