Re: how to move data from one PV to other PV automaticly?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:  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

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux