From: Luca Berra <bluca@comedia.it>
To: jannetta@henning.org,
LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] restoring my lvm
Date: Sun, 23 Apr 2006 11:04:49 +0200 [thread overview]
Message-ID: <20060423090449.GB950@percy.comedia.it> (raw)
In-Reply-To: <4660.192.168.0.15.1145779720.squirrel@192.168.0.15>
On Sun, Apr 23, 2006 at 09:08:40AM +0100, Jannetta S Steyn wrote:
>Hi Luca
>
>>>Disk /dev/hdb - 3249 MB / 3098 MiB - CHS 6296 16 63
>>> Partition Start End Size in sectors
>>>* Linux 0 1 1 202 15 63 204561 [/boot]
>>>D Linux 203 0 1 5645 15 63 5486544 [/]
>>>D Linux LVM 203 0 1 6295 15 63 6141744
>>>D Linux 229 0 1 5560 15 63 5374656
>>>D Linux 265 0 1 5596 15 63 5374656
>>>
>>
>> try with each of the linux partitions found and see if you can mount it
>> and get your data back.
>
>If I look at the way Redhat created a similar on a working system, I get
>the following information for the lv's created:
>
># lvscan
> ACTIVE '/dev/VolGroup02/LogVol00' [3.56 GB] inherit
> ACTIVE '/dev/VolGroup02/LogVol01' [320.00 MB] inherit
>
>Based on the above information, would you say that it is a reasonable to
>say that on the broken drive, the first lv was LogVol00, used for data and
>the second lv would have been LogVol01, used for swap. Could I, like you
>suggested create a logical volume for the total size and perhaps get my
>data back (since the swap is at the end of it all?)
>
>Is creating a logical volume with lvcreate also only adjusting the
>information about the lvm and not actually touching the data, which means
>I can safely experiment, trying to change the lv's until I find the
>correct size? (I hope my questions make sense)
>
yes, but remember the "-Z n" option to lvcreate, or it will wipe the
first 1k of your data.
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
prev parent reply other threads:[~2006-04-23 9:04 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
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 [this message]
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=20060423090449.GB950@percy.comedia.it \
--to=bluca@comedia.it \
--cc=jannetta@henning.org \
--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