1 |
On Fri, Apr 2, 2010 at 2:49 PM, Paul Hartman |
2 |
<paul.hartman+gentoo@×××××.com> wrote: |
3 |
> On Fri, Apr 2, 2010 at 2:50 PM, Volker Armin Hemmann |
4 |
> <volkerarmin@××××××××××.com> wrote: |
5 |
>> On Freitag 02 April 2010, Neil Bothwick wrote: |
6 |
>>> On Fri, 2 Apr 2010 20:40:54 +0200, Volker Armin Hemmann wrote: |
7 |
>>> > > LVM and RAID are completely different animals. No one suggested using |
8 |
>>> > > it for any reasons of data security, running LVM on a RAID array |
9 |
>>> > > gives both security and flexibility. As for being able to add space |
10 |
>>> > > to RAID, you can't temporarily add a new volume whenever you want, |
11 |
>>> > > you have to go out and buy another drive, then power down the |
12 |
>>> > > computer to fit it, assuming there is room in the case for an extra |
13 |
>>> > > drive. |
14 |
>>> > |
15 |
>>> > no need to power down - and you can add and remove drives. Read man |
16 |
>>> > mdadm. |
17 |
>>> |
18 |
>>> Assuming your controller supports hotplugging, assuming you have a drive |
19 |
>>> available to plug in, assuming you are able to physically add a drive. |
20 |
>> |
21 |
>> sata can hotplug. all ahci controlers can hotplug and all sata drives can |
22 |
>> hotplug. If you insist on technology straight from the stone ages that is your |
23 |
>> problem. |
24 |
> |
25 |
> Do you know if it's necessary to signal to the system (like /proc/scsi |
26 |
> something) that I'm about to unplug the drive, and in which order the |
27 |
> power/data need to be disconnected to prevent a problem? I'm curious |
28 |
> in case of future need. :) |
29 |
> |
30 |
> Thanks. |
31 |
|
32 |
If it's part of a RAID the new one gets rebuilt. |
33 |
|
34 |
If it's not part of a RAID then I think, as per Neil's example, the |
35 |
computer is pretty much dead, right? However if you wanted to try it |
36 |
(and I'm not brave enough so don't listen to me) then you might want |
37 |
to do something like |
38 |
|
39 |
grep -A 1 dirty /proc/vmstat |
40 |
|
41 |
and wait until nothing is dirty. |
42 |
|
43 |
Just an idea, |
44 |
Mark |