* [linux-lvm] restoring lvm cinfiguration
@ 2001-08-21 10:40 Lars Grobe
2001-08-21 10:53 ` Ulrich Wiederhold
0 siblings, 1 reply; 6+ messages in thread
From: Lars Grobe @ 2001-08-21 10:40 UTC (permalink / raw)
To: linux-lvm
Hi!
This is somehow a followup to my message describing the (my) resize-error.
I took a look at vgcfgrestore, and it seams to be the right tool for me now
;-) But before I apply this to the ruins of our filesystem.... Am I right if
I suppose the /etc/lvmconf/vgname.conf to be the current configuration (so,
the wrong one after my lv-shrinking)? So that vgname.conf.1 is the previous
one, that I should restore? I need lvm to allocate the same space on the pvs as
it did before, so that I can rebuild my reiserfs with fsck.
Thank You, CU, Lars.
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] restoring lvm cinfiguration
2001-08-21 10:40 [linux-lvm] restoring lvm cinfiguration Lars Grobe
@ 2001-08-21 10:53 ` Ulrich Wiederhold
2001-08-21 11:23 ` Lars Grobe
0 siblings, 1 reply; 6+ messages in thread
From: Ulrich Wiederhold @ 2001-08-21 10:53 UTC (permalink / raw)
To: linux-lvm
* Lars Grobe <grobe@gmx.net> [010821 12:40]:
Hello Lars,
here it worked with /etc/lvmconf/vg01.conf.
Uli
--
'The box said, 'Requires Windows 95 or better', so i installed Linux - TKK 5
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] restoring lvm cinfiguration
2001-08-21 10:53 ` Ulrich Wiederhold
@ 2001-08-21 11:23 ` Lars Grobe
2001-08-21 12:53 ` Ulrich Wiederhold
0 siblings, 1 reply; 6+ messages in thread
From: Lars Grobe @ 2001-08-21 11:23 UTC (permalink / raw)
To: linux-lvm
Hi!
My question is concerning the naming conventions of the files. So is vg01
the name of your vg?
I did a vgcfgrestore -l with the different files in /etc/lvmconf, and while
the <vgname>.conf gives me the current config (that is after resize, and I
want to get the config before resizing), I have a file <vgname>.conf.1.old that
seams to hold the data before resizing.
So I would like where lvm will store the data if I resize a lv - is .conf
the new (current after resizing) and .conf.1.old the old (before resizing)
configuration? So if I want to undo resizing, should I restore from .conf.1.old?
Thank You, CU, Lars.
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] restoring lvm cinfiguration
2001-08-21 11:23 ` Lars Grobe
@ 2001-08-21 12:53 ` Ulrich Wiederhold
2001-08-22 7:02 ` Heinz J . Mauelshagen
2001-08-22 16:39 ` Lars O. Grobe
0 siblings, 2 replies; 6+ messages in thread
From: Ulrich Wiederhold @ 2001-08-21 12:53 UTC (permalink / raw)
To: linux-lvm
Hi,
* Lars Grobe <grobe@gmx.net> [010821 13:23]:
> My question is concerning the naming conventions of the files. So is vg01
> the name of your vg?
Yes.
> I did a vgcfgrestore -l with the different files in /etc/lvmconf, and while
> the <vgname>.conf gives me the current config (that is after resize, and I
> want to get the config before resizing), I have a file <vgname>.conf.1.old that
> seams to hold the data before resizing.
>
> So I would like where lvm will store the data if I resize a lv - is .conf
> the new (current after resizing) and .conf.1.old the old (before resizing)
> configuration? So if I want to undo resizing, should I restore from .conf.1.old?
I think you should use .conf.1.old then. The newest file is .conf, the
oldest one .conf.9.old (at my system, "ls -l" shows you this).
You can use the -t option to test the command.
Uli
--
'The box said, 'Requires Windows 95 or better', so i installed Linux - TKK 5
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] restoring lvm cinfiguration
2001-08-21 12:53 ` Ulrich Wiederhold
@ 2001-08-22 7:02 ` Heinz J . Mauelshagen
2001-08-22 16:39 ` Lars O. Grobe
1 sibling, 0 replies; 6+ messages in thread
From: Heinz J . Mauelshagen @ 2001-08-22 7:02 UTC (permalink / raw)
To: linux-lvm
On Tue, Aug 21, 2001 at 02:53:29PM +0200, Ulrich Wiederhold wrote:
> Hi,
> * Lars Grobe <grobe@gmx.net> [010821 13:23]:
> > My question is concerning the naming conventions of the files. So is vg01
> > the name of your vg?
> Yes.
>
> > I did a vgcfgrestore -l with the different files in /etc/lvmconf, and while
> > the <vgname>.conf gives me the current config (that is after resize, and I
> > want to get the config before resizing), I have a file <vgname>.conf.1.old that
> > seams to hold the data before resizing.
> >
> > So I would like where lvm will store the data if I resize a lv - is .conf
> > the new (current after resizing) and .conf.1.old the old (before resizing)
> > configuration? So if I want to undo resizing, should I restore from .conf.1.old?
>
> I think you should use .conf.1.old then. The newest file is .conf, the
> oldest one .conf.9.old (at my system, "ls -l" shows you this).
> You can use the -t option to test the command.
Yes, that's correct.
You can even have deaper backup histories setting the environment variable
LVM_VG_MAX_BACKUPS to a higher value than 9 (max is 999).
>
> Uli
>
> --
> 'The box said, 'Requires Windows 95 or better', so i installed Linux - TKK 5
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
--
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen@Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] restoring lvm cinfiguration
2001-08-21 12:53 ` Ulrich Wiederhold
2001-08-22 7:02 ` Heinz J . Mauelshagen
@ 2001-08-22 16:39 ` Lars O. Grobe
1 sibling, 0 replies; 6+ messages in thread
From: Lars O. Grobe @ 2001-08-22 16:39 UTC (permalink / raw)
To: linux-lvm
Hi!
Ulrich Wiederhold wrote:
> I think you should use .conf.1.old then. The newest file is .conf, the
> oldest one .conf.9.old (at my system, "ls -l" shows you this).
> You can use the -t option to test the command.
It worked fine here! Thank You!
CU, Lars.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-08-22 16:39 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-21 10:40 [linux-lvm] restoring lvm cinfiguration Lars Grobe
2001-08-21 10:53 ` Ulrich Wiederhold
2001-08-21 11:23 ` Lars Grobe
2001-08-21 12:53 ` Ulrich Wiederhold
2001-08-22 7:02 ` Heinz J . Mauelshagen
2001-08-22 16:39 ` Lars O. Grobe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox