Gentoo Archives: gentoo-user

From: gottlieb@×××.edu
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] using lvm without a partition of type linux LVM
Date: Sat, 12 Oct 2013 15:58:05
Message-Id: 87a9iewo1m.fsf@nyu.edu
In Reply to: Re: [gentoo-user] using lvm without a partition of type linux LVM by joost@antarean.org
1 On Sat, Oct 12 2013, joost@××××××××.org wrote:
2
3 > gottlieb@×××.edu wrote:
4 >>The lvm handbook addendum is no longer and we are instead to use
5 >>the software raid + lvm2 quick install guide.
6 >>
7 >>That guide makes a few partitions of type linux raid and then puts lvm
8 >>on a mirrored set (more is done).
9 >>
10 >>I wasn't using raid so skipped that step and wound up with
11 >>one partition as a pv in my single vg and created several lvs in that
12 >>vg.
13 >>
14 >>So far so good. But I realized that the single partition that I used
15 >>was of type linux instead of linux lvm as I had always done when
16 >>following the lvm handbook addendum.
17 >>
18 >>So what, I've made plenty of mistakes before, and will surely make
19 >>plenty more later.
20 >>
21 >>But the resulting system works perfectly!
22 >>
23 >>If this is risky; I can reinstall. But I wonder if any action is
24 >>necessary.
25 >>
26 >>What do you think?
27 >>allan
28 >
29 > I have done similar things in the past.
30 > I think the idea is that with the LVM partition type, the tools can auto detect.
31 > The reality is, the tools scan all the block devices.
32 >
33 > It is possible to change the partition type from Linux to LVM without
34 > a reinstall. I would just reboot afterwards to be safe.
35
36 Thank you and alan.
37
38 I did a paranoic version of your suggestion
39
40 boot minimal install disk
41 copy the lvm partitions to directories on an external disk (ext3)
42 change partition type
43 reboot onto hard disk
44 test
45 remove copies
46
47 thanks again.
48 allan

Replies

Subject Author
Re: [gentoo-user] using lvm without a partition of type linux LVM Thanasis <thanasis@××××××××××.org>