All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Mohr <squisher@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] how to move data from one PV to other PV automaticly?
Date: Mon, 13 Jun 2005 03:20:55 -0500	[thread overview]
Message-ID: <472d4b2505061301207ea3783c@mail.gmail.com> (raw)
In-Reply-To: <200506130647.j5D6lG9s031447@mx3.redhat.com>

On 6/13/05, Steven Law <cwinl-linux-lvm@lnnu.edu.cn> wrote:
> > -----Original Message-----
> > From: linux-lvm-bounces@redhat.com
> > [mailto:linux-lvm-bounces@redhat.com] On Behalf Of Garrick Staples
> > Sent: Monday, June 13, 2005 1:14 PM
> > To: LVM general discussion and development
> > Subject: Re: [linux-lvm] how to move data from one PV to
> > other PV automaticly?
> >
> > On Mon, Jun 13, 2005 at 10:51:58AM +0800, cwinl alleged:
> > > hi,all:
> > >     i have a VG with 3 PV.
> > > here is 'pvdisplay' information:
> > >   --- Physical volume ---
> > >   PV Name               /dev/sdb1
> > >   Free PE               0
> > >
> > >   --- Physical volume ---
> > >   PV Name               /dev/sdc1
> > >   Free PE               0
> > >
> > >   --- Physical volume ---
> > >   PV Name               /dev/sdd1
> > >   Free PE               0
> > >
> > > i want to move all data from /dev/sdb1 to another two PV (/dev/sdc1
> > > and
> > > /dev/sdd1) automaticly.
> > > so i can remove the unstable PV /dev/sdb1 and repair it.
> > > then i will restore a new /dev/sdb1 device.
> > > /dev/mapper/nicvg-niclv
> > >                       2.0T  774G  1.2T  40% /ftproot
> > >
> > > ---------------------------------
> > >
> > > the volumn '/dev/mapper/nicvg-niclv' is on the VG above.
> > >
> > > how can finish it?
> > >
> > > any suggestion is regarded!
> >
> > The other 2 PVs (sdc1 and sdd1) are both full.  You can't
> > move any data on them with the current configuration.  You'll
> > need to free up ~840GB on nicvg before you can do it.
> >
> > The first step would be to shrink the filesystem using the
> > correct utility for the filesystem (you didn't mention the
> > filesystem type).  Fortunately you have 1.2TB free on the
> 
> my FS is reiserfs.
> please tell me in detail.

man resize_reiserfs, then use (c)fdisk to reduce the partition.

~David

  reply	other threads:[~2005-06-13  8:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-13  2:51 [linux-lvm] how to move data from one PV to other PV automaticly? cwinl
2005-06-13  5:13 ` Garrick Staples
2005-06-13  6:47   ` Steven Law
2005-06-13  8:20     ` David Mohr [this message]
2005-06-13  7:33   ` Steven Law

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=472d4b2505061301207ea3783c@mail.gmail.com \
    --to=squisher@gmail.com \
    --cc=david@mcbf.net \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.