[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-user
Subject:    Re: [gentoo-user] LVM: Removing 3 disks and replacing with 1
From:       Datty <datty.wtb () gmail ! com>
Date:       2012-03-08 16:39:11
Message-ID: CAG+b7UVPr8frJQL-=QtMB0BQJ=qF_XFDwy9TqmcdJoOj-6Y99Q () mail ! gmail ! com
[Download RAW message or body]

On Wed, Mar 7, 2012 at 1:33 PM, Frank Steinmetzger <Warp_7@gmx.de> wrote:

> On Wed, Mar 07, 2012 at 09:03:36AM +0000, Neil Bothwick wrote:
> > On Wed, 7 Mar 2012 00:46:17 +0000, Peter Humphrey wrote:
> >
> > > > A consultant is a person who borrows your watch, tells you what time
> > > > it is, pockets the watch, and sends you a bill for it.
>
> Ah thanks for the notice, another nice catch for my signature database. :)
>
> > [...]
> > Neil Bothwick
> >
> > Would a fly without wings be called a walk?
>
> What do you call a dead bee? - A was.
> *scnr*
>

Thanks for the replies everyone, to give it a bit more info, its just a big
dump of data but I want to get the old drives out before they die and lose
everything (They're hitting 20,000 hours up time). Before now i'd been
replacing the whole array and literally using cp as mentioned but I can't
afford to do that this time thanks to the price of hard drives. The LVM is
just one big volume group with one big logical volume with xfs slapped on
top covering the whole thing, I set it up so I could just add drives as and
when and expand the filesystem. As far as I understand I'm pretty stuck in
this situation as I believe XFS partitions can't be shrunk only enlarged?
Based on your replies it looks like pvmove is going to be the way forward,
it'll be offline while its being done anyway as I dont have enough sata
ports to plug the new drive in whilst the old 3 are connected (going to
have to pull the OS drive and do the pvmove from sysrescuecd). The other
option of creating a new volume and moving the data to it can't happen
because theres a good 6tb of data on it and I only have a new 3tb going in.

Should it just be a case of adding the new drive as a pv to the volume
group then doing pvmove against one drive at a time and thus removing them
from the volume group?

Thanks again for the replies and I'll give pvmove a go when the drive
arrives.

[Attachment #3 (text/html)]

<br><br><div class="gmail_quote">On Wed, Mar 7, 2012 at 1:33 PM, Frank Steinmetzger \
<span dir="ltr">&lt;<a href="mailto:Warp_7@gmx.de">Warp_7@gmx.de</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex">

<div class="im">On Wed, Mar 07, 2012 at 09:03:36AM +0000, Neil Bothwick wrote:<br>
&gt; On Wed, 7 Mar 2012 00:46:17 +0000, Peter Humphrey wrote:<br>
&gt;<br>
&gt; &gt; &gt; A consultant is a person who borrows your watch, tells you what \
time<br> &gt; &gt; &gt; it is, pockets the watch, and sends you a bill for it.<br>
<br>
</div>Ah thanks for the notice, another nice catch for my signature database. :)<br>
<br>
&gt; [...]<br>
<div class="im">&gt; Neil Bothwick<br>
&gt;<br>
&gt; Would a fly without wings be called a walk?<br>
<br>
</div>What do you call a dead bee? - A was.<br>
*scnr*<br></blockquote><div> </div></div>Thanks for the replies everyone, to give it \
a bit more info, its just a big dump of data but I want to get the old drives out \
before they die and lose everything (They&#39;re hitting 20,000 hours up time). \
Before now i&#39;d been replacing the whole array and literally using cp as mentioned \
but I can&#39;t afford to do that this time thanks to the price of hard drives. The \
LVM is just one big volume group with one big logical volume with xfs slapped on top \
covering the whole thing, I set it up so I could just add drives as and when and \
expand the filesystem. As far as I understand I&#39;m pretty stuck in this situation \
as I believe XFS partitions can&#39;t be shrunk only enlarged? Based on your replies \
it looks like pvmove is going to be the way forward, it&#39;ll be offline while its \
being done anyway as I dont have enough sata ports to plug the new drive in whilst \
the old 3 are connected (going to have to pull the OS drive and do the pvmove from \
sysrescuecd). The other option of creating a new volume and moving the data to it \
can&#39;t happen because theres a good 6tb of data on it and I only have a new 3tb \
going in. <br>

<br>Should it just be a case of adding the new drive as a pv to the volume 
group then doing pvmove against one drive at a time and thus removing 
them from the volume group?<br><br>Thanks again for the replies and I&#39;ll give \
pvmove a go when the drive arrives. <br><br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic