1 |
Peter Humphrey wrote: |
2 |
> On Sunday, 6 January 2019 22:13:31 GMT Dale wrote: |
3 |
> |
4 |
>> Even from my simple setup, LVM adds more benefits to managing data and |
5 |
>> drives than it does risk. The biggest thing, placing blame where it |
6 |
>> lies. Blaming LVM for a drive dying is placing the blame on something |
7 |
>> that wasn't the root of the problem. The dying drive was the problem, |
8 |
>> using LVM or not. |
9 |
> He isn't doing that, though. As I read it, he recounted the tale of recovering |
10 |
> data from a failed drive, then imagined how much worse it would be if it were |
11 |
> in an LVM setup. [Reported speech and mixed-up tenses causing me a problem |
12 |
> here...] |
13 |
> |
14 |
> Thanks Gevisz, that was interesting. What we used to call a cautionary tale. |
15 |
> |
16 |
|
17 |
From what I've read, that can be overcome. If you get say a SMART |
18 |
message that a drive is failing, just remove that drive or remove the |
19 |
whole LVM setup and use something else until a working drive setup can |
20 |
be made. Once ready, then move the data, if the drive still works, to |
21 |
the new drive. That is basically what I did when I swapped a smaller |
22 |
drive for a larger one. I moved the data from one drive to another. It |
23 |
did it fairly quickly. Someone posted that it may even be faster to do |
24 |
it with LVM's pvmove than it is with cp or rsync. I don't know how true |
25 |
that is but from what I've read, it moves the data really efficiently. |
26 |
If the drive has a very limited time before failure, speed is |
27 |
important. If the drive is completely dead, replace the drive and hope |
28 |
the backups are good. Either way, LVM or not, a failing drive is a |
29 |
failing drive. The data has to be moved if the drive still works or the |
30 |
data is gone if it just up and dies. The biggest thing, watching the |
31 |
SMART messages about the health of the drive. In the past when I've had |
32 |
a drive fail, I got error messages well ahead of time. On one drive, I |
33 |
removed the drive, set it aside, ordered a replacement drive, installed |
34 |
both drives and copied the data over. After I did all that, I played |
35 |
with the drive until it failed a day or so later. Lucky? Most likely. |
36 |
Still, it gave me time to transfer things over. |
37 |
|
38 |
While I get that LVM adds a layer to things, it also adds some options |
39 |
as well. Those options can prove helpful if one uses them. |
40 |
|
41 |
Just my thinking. |
42 |
|
43 |
Dale |
44 |
|
45 |
:-) :-) |