1 |
On Wed, Mar 7, 2012 at 1:33 PM, Frank Steinmetzger <Warp_7@×××.de> wrote: |
2 |
|
3 |
> On Wed, Mar 07, 2012 at 09:03:36AM +0000, Neil Bothwick wrote: |
4 |
> > On Wed, 7 Mar 2012 00:46:17 +0000, Peter Humphrey wrote: |
5 |
> > |
6 |
> > > > A consultant is a person who borrows your watch, tells you what time |
7 |
> > > > it is, pockets the watch, and sends you a bill for it. |
8 |
> |
9 |
> Ah thanks for the notice, another nice catch for my signature database. :) |
10 |
> |
11 |
> > [...] |
12 |
> > Neil Bothwick |
13 |
> > |
14 |
> > Would a fly without wings be called a walk? |
15 |
> |
16 |
> What do you call a dead bee? - A was. |
17 |
> *scnr* |
18 |
> |
19 |
|
20 |
Thanks for the replies everyone, to give it a bit more info, its just a big |
21 |
dump of data but I want to get the old drives out before they die and lose |
22 |
everything (They're hitting 20,000 hours up time). Before now i'd been |
23 |
replacing the whole array and literally using cp as mentioned but I can't |
24 |
afford to do that this time thanks to the price of hard drives. The LVM is |
25 |
just one big volume group with one big logical volume with xfs slapped on |
26 |
top covering the whole thing, I set it up so I could just add drives as and |
27 |
when and expand the filesystem. As far as I understand I'm pretty stuck in |
28 |
this situation as I believe XFS partitions can't be shrunk only enlarged? |
29 |
Based on your replies it looks like pvmove is going to be the way forward, |
30 |
it'll be offline while its being done anyway as I dont have enough sata |
31 |
ports to plug the new drive in whilst the old 3 are connected (going to |
32 |
have to pull the OS drive and do the pvmove from sysrescuecd). The other |
33 |
option of creating a new volume and moving the data to it can't happen |
34 |
because theres a good 6tb of data on it and I only have a new 3tb going in. |
35 |
|
36 |
Should it just be a case of adding the new drive as a pv to the volume |
37 |
group then doing pvmove against one drive at a time and thus removing them |
38 |
from the volume group? |
39 |
|
40 |
Thanks again for the replies and I'll give pvmove a go when the drive |
41 |
arrives. |