From owner-freebsd-questions@FreeBSD.ORG Thu Dec 4 11:15:46 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1056F16A4CE for ; Thu, 4 Dec 2003 11:15:46 -0800 (PST) Received: from m00.ca.astound.net (m00.ca.astound.net [64.85.239.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 188C243F93 for ; Thu, 4 Dec 2003 11:15:45 -0800 (PST) (envelope-from rchopra@cal.berkeley.edu) Received: from cal.berkeley.edu (astound-66-234-212-148.ca.astound.net [66.234.212.148]) by m00.ca.astound.net (8.12.10/8.12.10) with ESMTP id hB4JEAq8018767; Thu, 4 Dec 2003 11:14:10 -0800 Message-ID: <3FCF87CF.30207@cal.berkeley.edu> Date: Thu, 04 Dec 2003 11:15:27 -0800 From: Rishi Chopra User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dan Nelson References: <3FCEF97C.2020401@cal.berkeley.edu> <20031204152733.GG32713@dan.emsphone.com> In-Reply-To: <20031204152733.GG32713@dan.emsphone.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new cc: doublef@tele-kom.ru cc: questions@freebsd.org Subject: Re: growfs says 'we are not growing' ?!?! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2003 19:15:46 -0000 Any idea why my partitions (da0s1a, da0s1d, da0s1e) don't have valid disk labels? # disklabel -A da0s1d | more disklabel: /dev/da0s1d: no valid label found # disklabel -A da0s1e | more disklabel: /dev/da0s1e: no valid label found I created the partitions and mount points when installing the os using the standard GUI. -Rishi Dan Nelson wrote: >In the last episode (Dec 04), Rishi Chopra said: > > >>Trying to enlarge a partition (/usr) on a slice (da0s1) with plenty of >>space: >> >># fdisk >> >>The data for partition 1 is: >>sysid 165 (0xa5), (FreeBSD/NetBSD/386BSD) >> start 63, size 1171861362 (572197 Meg), flag 80 (active) >> beg: cyl 0/ head 1/ sector 1 >> end: cyl 1023/ head 254/ sector 63 >> >># df -h: >> >>Filesystem Size Used Avail Capacity Mounted on >>/dev/da0s1a 193M 80M 98M 45% / >>/dev/da0s1d 193M 5.9M 172M 3% /var >>/dev/da0s1e 1.9G 670M 1.1G 37% /usr >> >>But when I try: >> >># umount /usr >># growfs /dev/da0s1e >> >> > >You need to extend your e slice (with disklabel -e da0s1) first. >You've got three "container" objects: Fdisk slices, BSD partitions, and >filesystem. You've grown the slice, but you need to also expand the >partition before growfs can resize the filesystem. > > >