Linux LVM users
 help / color / mirror / Atom feed
From: Luca Berra <bluca@comedia.it>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] restoring my lvm
Date: Sat, 22 Apr 2006 10:06:22 +0200	[thread overview]
Message-ID: <20060422080622.GB15564@percy.comedia.it> (raw)
In-Reply-To: <2996.192.168.0.15.1145660815.squirrel@192.168.0.15>

On Sat, Apr 22, 2006 at 12:06:55AM +0100, Jannetta S Steyn wrote:
>My problem was that the new system (also FC4 and also a vanilla install)
>already had VolGroup00. I then did a 'vgcreate VolGroup01 /dev/hdb2'. I
vgcreate = msdos format
you just wiped your disk

>PV /dev/hdb2 VG VolGroup01 lvm2 [2.93 GB / 2.93 GB free]
>PV /dev/hda2 VG VolGroup02 lvm2 [3.91 GB / 32.00 MB free]
>Total: 2 [6.83 GB] / in use: 2 [6.83 GB] / in no VG: 0 [0 ]
if you are certain that the previous logical volume spanned the whole
disk, you can:
# vgdisplay /dev/VolGroup01
and look at the "Total PE" value, then
# lvcreate -Z n -l TOTAL_PE -n LogVol01 /dev/VolGroup01

but i'd rater first try with http://www.cgsecurity.org/wiki/TestDisk
which might be able to recover the damage you did.

L.

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

  reply	other threads:[~2006-04-22  8:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-21 23:06 [linux-lvm] restoring my lvm Jannetta S Steyn
2006-04-22  8:06 ` Luca Berra [this message]
2006-04-22 17:40   ` Jannetta S Steyn
2006-04-22 18:49     ` Jannetta S Steyn
2006-04-23  4:44     ` Luca Berra
2006-04-23  8:08       ` Jannetta S Steyn
2006-04-23  9:04         ` Luca Berra

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=20060422080622.GB15564@percy.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