summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110226/002817.html
blob: 868ecddf98c9c749893403b78b2163994e8ac57a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] time to switch from raw partitions to lvm?
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20time%20to%20switch%20from%20raw%20partitions%20to%20lvm%3F&In-Reply-To=%3C4D688BA9.2080400%40laposte.net%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="002816.html">
   <LINK REL="Next"  HREF="002818.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] time to switch from raw partitions to lvm?</H1>
    <B>andre999</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20time%20to%20switch%20from%20raw%20partitions%20to%20lvm%3F&In-Reply-To=%3C4D688BA9.2080400%40laposte.net%3E"
       TITLE="[Mageia-dev] time to switch from raw partitions to lvm?">andr55 at laposte.net
       </A><BR>
    <I>Sat Feb 26 06:12:09 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="002816.html">[Mageia-dev] freedesktop spec and categories
</A></li>
        <LI>Next message: <A HREF="002818.html">[Mageia-dev] About panotools patent problem (and other	problematic rpms)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2817">[ date ]</a>
              <a href="thread.html#2817">[ thread ]</a>
              <a href="subject.html#2817">[ subject ]</a>
              <a href="author.html#2817">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Frank Griffin a &#233;crit :
&gt;<i>
</I>&gt;<i> Wolfgang Bornath wrote:
</I>&gt;&gt;<i> Now with LVM, what do I do?
</I>&gt;&gt;<i>
</I>&gt;<i> Pretty much exactly the same, if that's what you want.  LVM is just a
</I>&gt;<i> layer of indirection that you place on top of *only* those partitions
</I>&gt;<i> you want LVM to control.  It lets you create multiple &quot;virtual&quot;
</I>&gt;<i> partitions each of which includes one or more physical partitions.  In
</I>&gt;<i> the minimal case, you can partition exactly as you would without LVM,
</I>&gt;<i> but make each of the Mageia partitions an LV formatted as ext4 (or
</I>&gt;<i> whatever) rather than a physical ext4.
</I>&gt;<i>
</I>&gt;<i> The difference is that later on if you need to expand one of these 1-1
</I>&gt;<i> LVM partitions, all you do is create another physical partition
</I>&gt;<i> *somewhere* - either on that physical disk or another you add - and tell
</I>&gt;<i> LVM to make that new physical partition part of the LV you want to
</I>&gt;<i> expand.  The original physical partition on which you based the LVM
</I>&gt;<i> stays exactly where it is without change, and the Logical Volume just
</I>&gt;<i> magically increases in size by the size of the new physical partition
</I>&gt;<i> you added.
</I>&gt;<i>
</I>&gt;<i> Using LVM for some or all of Mageia has no effect on your ability to use
</I>&gt;<i> standard partitioning for other partitions on these disks.
</I>
It occurs to me that LVM (which I have only tested a long time ago) 
would play nicely on a large disk with a gpt partition table.
Just divide the disk into a lot of reasonably-sized partitions (the 
limit for a default gpt table is 128 (primary) partitions, and let LVM 
combine them as appropriate, being dynamically reassociable as needed.

Then if you want to do a clean install of a new Mageia (or other) 
release, could you just reformat the partitions you want (excluding 
/home and whatever other partitions you want to keep), without problem 
with LVM ?

If so, that would be nice.
The trick of course would be to ensure that you assign directories to 
partitions in an appropriate manner.

some random thoughts ... :)

-- 
Andr&#233;
</PRE>


<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="002816.html">[Mageia-dev] freedesktop spec and categories
</A></li>
	<LI>Next message: <A HREF="002818.html">[Mageia-dev] About panotools patent problem (and other	problematic rpms)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2817">[ date ]</a>
              <a href="thread.html#2817">[ thread ]</a>
              <a href="subject.html#2817">[ subject ]</a>
              <a href="author.html#2817">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>