From owner-freebsd-fs@FreeBSD.ORG Sun Apr 13 11:57:55 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 241B8106566B for ; Sun, 13 Apr 2008 11:57:55 +0000 (UTC) (envelope-from fatalis.erratum@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id CF0478FC15 for ; Sun, 13 Apr 2008 11:57:54 +0000 (UTC) (envelope-from fatalis.erratum@gmail.com) Received: by yw-out-2324.google.com with SMTP id 2so444045ywt.13 for ; Sun, 13 Apr 2008 04:57:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=1Avrh9rDFP8mjl3fV1+8vcrzoCt6hY8C9aSO5nOrSwU=; b=MCumSEZHT7xjM9F3NnhnRx5goCdpjZVomDjpJtmZ6ohELAC8gVxcEKv8kSLEahRh1gmRCQ8eovixZ5v8yyKtyl6VNjFa02lIIQV5HZokVOsz8tOmfW47wyt3voXHYKK96F1TRL626FQJ5lFSFxym4Vwf2OIruA4y0ki+zTKrL1I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=oGgUoyaIOezNquxCaQtnURh8mHw7gH8NPrXcop1DyGKQokS0ULbw1l2CWq1Ad151o1ZFcM9dPFQ7BlnCFoic8f32d1C32IBLkkO7s/G5fgLwKviyI9jap9LyEzo8iF01nkt4QovyK+WHg6kAeUM0Gpck4DX+9tVz27aEDl/NrC4= Received: by 10.150.121.2 with SMTP id t2mr5081650ybc.130.1208086315692; Sun, 13 Apr 2008 04:31:55 -0700 (PDT) Received: by 10.150.198.5 with HTTP; Sun, 13 Apr 2008 04:31:55 -0700 (PDT) Message-ID: <5b826e210804130431w7ca5fbcbsbf86b22c956a7b2b@mail.gmail.com> Date: Sun, 13 Apr 2008 14:31:55 +0300 From: "Reinis Ivanovs" Sender: fatalis.erratum@gmail.com To: freebsd-fs@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 94f55f7f1ce1c67b Subject: growing ufs in a virtualization X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2008 11:57:55 -0000 hello, I have the following problem. I have a fbsd 7.0 vps running on vmware, and the available disk space has been increased since the os was installed. it means that the disk has "magically" gotten bigger, and in dmesg I see that /dev/da0 has 6291456 sectors, but bsdlabel says that the c partition has 4192902 sectors. if I do bsdlabel -e da0s1 and try to inclease the sectors to the correct number, it says > partition c: partition extends past end of unit > disklabel: partition c doesn't cover the whole unit! > disklabel: An incorrect partition c may cause problems for standard system utilities I'm a bit at a loss here. the manpage for growfs says that "the disk must be labeled to a bigger size using bsdlabel" before I can use it, but I don't know how. any help would be appreciated best, reinis -- http://untu.ms/