From: Roy Nicholl <RNicholl@NBNet.nb.ca>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Help recovering metadata
Date: Tue, 20 Apr 2004 16:07:18 -0300 [thread overview]
Message-ID: <200404201607.30967.RNicholl@NBNet.nb.ca> (raw)
In-Reply-To: <20040420153405.E99EE73D4C@hormel.redhat.com>
[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 1616 bytes --]
This should actually be titled, "Help recovering from stupidity ... why
not to use GUI administration tools"
I recently had a box fail [VRM on the MB] and moved it's drive into
another machine running SuSE 9.0. On this drive where separate
patitions for boot,root,swap and one partition comprised of a VG
(system) containing eight LVs (usr, opt, var, tmp, local, home,
mirror, & vmware). Each logical volume contains a JFS filesystem.
When I went to view the VG using the LVM tool under YaST, I somehow
managed to re-inistalize the VG on the disk partition [read: blew away
the existing metadata] ... Lesson ... use the command-line, Luke.
Now of course there is data on this disk that I really need (in home,
mirror and vmware) and I know that it is still there - I make an image
of the disk using EnCase and walked through it. EnCase does not appear
to undestand the Linux LVM or the JFS filesystem, so I was unable to
put humpty dumpty back together again.
Since all I did (irony intended) was re-initialise the VG descriptor and
metadata, the LVs and their respective filesystems must still be there
[my snoop with EnCase would appear to confirm this hypothesis]. How do
I go about finding the beginning of each LV/filesystem and re-creating
the former VG metadata ... and before you ask, now I do not have
vgcfgbackup file [but I still have the device nodes and the
correspnding 'group' file].
Help would be most appreciated.
Roy
--
Roy Nicholl
283-A Connaught St.
Fredericton, NB
Canada E3B 2B3
E-mail: RNicholl@NBNet.nb.ca
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next parent reply other threads:[~2004-04-20 19:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20040420153405.E99EE73D4C@hormel.redhat.com>
2004-04-20 19:07 ` Roy Nicholl [this message]
2004-04-21 3:25 [linux-lvm] Help recovering metadata drsmithy
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=200404201607.30967.RNicholl@NBNet.nb.ca \
--to=rnicholl@nbnet.nb.ca \
--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