1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
> Beso wrote: |
5 |
>> second, i'd like to know if there's a need for a raid enabled |
6 |
>> motherboard and more than one disk to go on lvm. i only have a 100gb |
7 |
>> disk that i'd like to convert to lvm with no raid. |
8 |
|
9 |
I recommend using software RAID unless you go all the way and get one of |
10 |
those really fancy (expensive) RAID cards. Honestly, software RAID has |
11 |
some advantages over even the expensive setups, although a few |
12 |
disadvantages as well. I definitely wouldn't use the RAID built-into a |
13 |
motherboard - it is effectively software RAID anyway and you're tossing |
14 |
the flexibility of linux software RAID. |
15 |
|
16 |
And LVM works fine without RAID - I've used it that way without issue at |
17 |
all. Of course, you have no protection so if you have a partition split |
18 |
across two disks without RAID you lose data no matter which drive fails. |
19 |
|
20 |
LVM is all about taking one pool of block devices and chopping it up |
21 |
into a different pool of block devices - that's all. You could run LVM2 |
22 |
on a floppy disk, on a USB drive, or whatever. You could use LVM2 to |
23 |
combine a floopy disk, an mp3-player, and a USB flash drive into a |
24 |
single storage pool and then split it into a whole bunch of read-only |
25 |
partitions. It really has nothing to do with RAID other than the fact |
26 |
that a RAID gives you one really big block device that is inconvenient |
27 |
to use on its own. |
28 |
|
29 |
One thing I haven't done is run boot/root on LVM2 - you might want to |
30 |
look into that. It might work with a initrd - I never bothered with |
31 |
those so I keep it simple. Besides, I keep little to nothing on my 1GB |
32 |
root partition so it never fills up (root only contains /bin, /sbin, |
33 |
/root, /lib, and /etc). |
34 |
|
35 |
|
36 |
>> and last, does it make sense doing a passage to lvm? i currently run |
37 |
>> into some problems with my root partition that gets filled and that i |
38 |
>> always have to watch the free space on it, so if i don't pass to raid |
39 |
>> i'll try to duplicate the partition on a greater one. |
40 |
|
41 |
I'd recommend lvm for anybody doing anything at all. It gives you a |
42 |
whole lot more flexibility with your disk space. If all your data is on |
43 |
lvm and you want to add a raid later, or just add some new non-raid |
44 |
drives, moving your data around becomes trivial (even with the system |
45 |
running in full production). Growing and shrinking partitions is |
46 |
trivial as long as your filesystem supports it (I tend to use ext3 for |
47 |
this reason - I don't think anything else supports both growing and |
48 |
shrinking). |
49 |
|
50 |
>> i was forgetting: i'd like to use it on amd64. is there any problem? i |
51 |
>> have seen around some problems with lvm and amd64 some of them marked |
52 |
>> as solved, so i'd like to know if there could be problems with this arch. |
53 |
>> thanks for your help. |
54 |
|
55 |
Maybe in the early dawns of time there were problems with lvm and amd64, |
56 |
but I haven't experienced them. |
57 |
|
58 |
-----BEGIN PGP SIGNATURE----- |
59 |
Version: GnuPG v1.4.7 (GNU/Linux) |
60 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
61 |
|
62 |
iD8DBQFHD1KnG4/rWKZmVWkRAmowAJ9zk0Y71XPxfnopJY2El45nu5GpXgCgldZg |
63 |
SiSjzsVfBCcDwy5UtE6Cj1I= |
64 |
=CPm6 |
65 |
-----END PGP SIGNATURE----- |