Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j5D6lSu15918 for ; Mon, 13 Jun 2005 02:47:28 -0400 Received: from mail.lnnu.edu.cn (mail.lnnu.edu.cn [218.25.162.219]) by mx3.redhat.com (8.12.11/8.12.11) with SMTP id j5D6lG9s031447 for ; Mon, 13 Jun 2005 02:47:17 -0400 Message-Id: <200506130647.j5D6lG9s031447@mx3.redhat.com> From: "Steven Law" Subject: RE: [linux-lvm] how to move data from one PV to other PV automaticly? Date: Mon, 13 Jun 2005 14:47:08 +0800 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit In-Reply-To: <20050613051331.GX2244@polop.usc.edu> Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii" To: 'LVM general discussion and development' > -----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. > filesystem so this shouldn't be a problem. > > Then reduce the size of niclv and you'll be able to move the > PEs off of sdb1. > > > -- > Garrick Staples, Linux/HPCC Administrator University of > Southern California >