Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Hard drive storage questions
Date: Wed, 29 Apr 2015 06:13:52
Message-Id: 55407695.7000808@gmail.com
In Reply to: Re: [gentoo-user] Hard drive storage questions by Neil Bothwick
1 On 28/04/2015 17:24, Neil Bothwick wrote:
2 > On Tue, 28 Apr 2015 17:01:49 +0200, Alan McKinnon wrote:
3 >
4 >> When you use only LVM for this and nothing else, you have a high risk of
5 >> losing everything if one disk fails. Why? Because LVM decides itself
6 >> which extent it will put data on. Maybe a whole file is on one disk,
7 >> maybe it's spread across two, because the software is designed so that
8 >> you don't have to be concerned with that. The only thing that LVM does
9 >> is expand your storage space as a single volume and make it easier to
10 >> shuffle things around without having to backup/repartition/restore.
11 >
12 > An alternative is to create a new volume group on the new disk and mounts
13 > PVs at various points in your home directory. That way you get the extra
14 > space and much of the flexibility without the risk of a failure on a
15 > single drive taking out data on both. However, if you are concerned about
16 > data loss, you should be using RAID t a minimum, preferably with an error
17 > detecting filesystem.
18
19
20 I've used that scheme myself in the past. You do get the increased space
21 but you don't get much in the way of flexibility. And it get COMPLICATED
22 really quickly.
23
24 To get around the situation of one drive almost full and the other
25 having lots of space, folks often use symlinked directories, which you
26 forget about and no-one else can figure out what you did...
27
28 It all smacks of the old saw:
29
30 For any non-trivial problem, there is always at least one solution that
31 is simple, elegant, and wrong.
32
33
34
35 --
36 Alan McKinnon
37 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] Hard drive storage questions Neil Bothwick <neil@××××××××××.uk>