* [linux-lvm] changing LE / PE table
@ 2001-09-13 19:38 Julian Glashoff
2001-09-13 20:39 ` Andreas Dilger
0 siblings, 1 reply; 4+ messages in thread
From: Julian Glashoff @ 2001-09-13 19:38 UTC (permalink / raw)
To: linux-lvm
Hello,
As I already said, my volume group is not accessible because of a crash
while trying to extend a logical volume. 'vgscan' says 'only found 768 of
769 LEs for LV /dev/vg00/lvol1' and does not find my volume group.
I have not been able to restore the backups with _any_ version of LVM.
So now I am wondering if it is possible to change the 'LE' table while the
volume group is offline.
Is there?
--
Julian Glashoff
<helldog@gmx.net>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] changing LE / PE table
2001-09-13 19:38 [linux-lvm] changing LE / PE table Julian Glashoff
@ 2001-09-13 20:39 ` Andreas Dilger
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Dilger @ 2001-09-13 20:39 UTC (permalink / raw)
To: linux-lvm
On Sep 13, 2001 21:38 +0200, Julian Glashoff wrote:
> As I already said, my volume group is not accessible because of a crash
> while trying to extend a logical volume. 'vgscan' says 'only found 768 of
> 769 LEs for LV /dev/vg00/lvol1' and does not find my volume group.
> I have not been able to restore the backups with _any_ version of LVM.
> So now I am wondering if it is possible to change the 'LE' table while the
> volume group is offline.
Please read my description posted a couple of days ago to fix a similar
problem (subject: only 626 of 625 PEs available).
Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
^ permalink raw reply [flat|nested] 4+ messages in thread
* [linux-lvm] changing LE / PE table
@ 2001-09-13 23:41 Julian Glashoff
2001-09-14 3:06 ` Andreas Dilger
0 siblings, 1 reply; 4+ messages in thread
From: Julian Glashoff @ 2001-09-13 23:41 UTC (permalink / raw)
To: linux-lvm
I already tried that. But all I get is a file with 328 \0's...
How can I find out where the metadata of my volume is?
--
Julian Glashoff
<helldog@gmx.net>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] changing LE / PE table
2001-09-13 23:41 Julian Glashoff
@ 2001-09-14 3:06 ` Andreas Dilger
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Dilger @ 2001-09-14 3:06 UTC (permalink / raw)
To: linux-lvm
On Sep 14, 2001 01:41 +0200, Julian Glashoff wrote:
> I already tried that. But all I get is a file with 328 \0's...
> How can I find out where the metadata of my volume is?
The numbers used in my example depend on the values output from "pvdata -PP"
and also the LV number in question. In the example, it was LV 0 that was
affected, so it was easy to work with. Add 328 bytes offset to the start
of the LV table for each LV number increase.
Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-09-14 3:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-13 19:38 [linux-lvm] changing LE / PE table Julian Glashoff
2001-09-13 20:39 ` Andreas Dilger
-- strict thread matches above, loose matches on Subject: below --
2001-09-13 23:41 Julian Glashoff
2001-09-14 3:06 ` Andreas Dilger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox