Linux LVM users
 help / color / mirror / Atom feed
From: Austin Gonyou <austin@coremetrics.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] I broke my PVs!
Date: Sun Oct 20 15:17:02 2002	[thread overview]
Message-ID: <1035144994.29693.2.camel@localhost.localdomain> (raw)
In-Reply-To: <20021020104912.GD26167@percy.comedia.it>

On Sun, 2002-10-20 at 05:49, Luca Berra wrote:
> On Sat, Oct 19, 2002 at 11:14:02PM -0500, Austin Gonyou wrote:
> >I have 3 disks, one 9GB and two 18GB scsi disks. I just re-installed my
> >system with RH 8.0, and it didn't like that the two 18's weren't
> >initialized, I guess I screwed up, cause I didn't think I was
> >initializing them(since I told the installer not to), and instead ran
> >fdisk and then saved without making partitions. 


> what do you mean with initialized?
> mke2fs? in this case you will find lovely ext2 superblock copies in the
> middle of your data, but then you could salvage most of your data.

I ran fdisk, then just saved. So I guess you could say I just lost the
partition table.
 
> lost partition table? just recreate it, it is not destructive?

I didn't have any partitions just whole disks. 

> lost lvm metadata?
> i s'pose you don't have a metadata backup handy,
> how were your lv's laid out in your vg?

one LV, one VG, and two PVs in the VG, striped. -i2 -I64
 
> i never tried this on linux, but on hp-ux pvcreate, vgcreate and
> lvcreate weren't
> destructive, it only touched disk metadata. so you could try pvcreate,
> vgcreate and lvcreate.
> DO A BACKUP OF YOUR RAW DISK DATA FIRST

what about vgcfgrestore from another set of smaller disks that are laid
out the same way? could that work?

Wish I could, but I can't. Don't have enough disk space. :(

> L.
> -- 
> Luca Berra -- bluca@comedia.it
>         Communication Media & Services S.r.l.
>  /"\
>  \ /     ASCII RIBBON CAMPAIGN
>   X        AGAINST HTML MAIL
>  / \
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

  reply	other threads:[~2002-10-20 15:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-19 23:14 [linux-lvm] I broke my PVs! Austin Gonyou
2002-10-20  5:49 ` Luca Berra
2002-10-20 15:17   ` Austin Gonyou [this message]
2002-10-20 16:35     ` Luca Berra
2002-10-20 18:03       ` Austin Gonyou
2002-10-21  4:55     ` Heinz J . Mauelshagen
2002-10-21  5:15       ` Austin Gonyou

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=1035144994.29693.2.camel@localhost.localdomain \
    --to=austin@coremetrics.com \
    --cc=linux-lvm@sistina.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