From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DuaQX-0007Yh-Kk for garchives@archives.gentoo.org; Mon, 18 Jul 2005 18:33:18 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6IITK2P017918; Mon, 18 Jul 2005 18:29:20 GMT Received: from smtp109.mail.sc5.yahoo.com (smtp109.mail.sc5.yahoo.com [66.163.170.7]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6IIDTUe028227 for ; Mon, 18 Jul 2005 18:13:30 GMT Received: (qmail 30994 invoked from network); 18 Jul 2005 18:14:19 -0000 Received: from unknown (HELO ?192.168.50.105?) (richard?j?fish@212.180.33.26 with plain) by smtp109.mail.sc5.yahoo.com with SMTP; 18 Jul 2005 18:14:19 -0000 Message-ID: <42DBF22A.5080309@asmallpond.org> Date: Mon, 18 Jul 2005 20:17:14 +0200 From: Richard Fish User-Agent: Mozilla Thunderbird 1.0.5 (X11/20050715) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Resizing ext3 References: <42DAC506.6090409@terra.com.br> <42DB09D1.2080508@gmail.com> <42DAE06D.70803@terra.com.br> <42DB0F3E.5060800@gmail.com> <42DB1727.9020401@terra.com.br> <42DB17BF.8080309@terra.com.br> <42DB7512.7000109@terra.com.br> In-Reply-To: <42DB7512.7000109@terra.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 48b8caf6-4f93-4b99-b7b4-99a6852b8dda X-Archives-Hash: b65d5b1b5e42aacbc1ac6d998c82bdb1 Bruno Gola wrote: >Any way to resize a ext3 partition ? > >I'm trying with parted: > > > I guess you'll have to do it manually with resize2fs and fdisk. Just read the man page carefully, and think of it as a 2 or 3-step process: Growing: 1. use fdisk to grow the partition first. 2. use resize2fs to grow the filesystem. Shrinking: 1. use resize2fs to shink the filesystem to a point well below (at least 10% below) the size you want for the partition. 2. use fdisk to resize the partition. 3. use resize2fs to grow the filesystem to fill the partitition. HTH, -Richard -- gentoo-user@gentoo.org mailing list