From owner-freebsd-fs@freebsd.org Mon Feb 26 14:30:18 2018 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83313F28D40 for ; Mon, 26 Feb 2018 14:30:18 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 183887777A for ; Mon, 26 Feb 2018 14:30:17 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x233.google.com with SMTP id o9so10972183itc.1 for ; Mon, 26 Feb 2018 06:30:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=RDclMnSAk7DALgOvL1DptWQ/J6qZ5zSnWjhBaAOOu8M=; b=JB0L4MPQGb05LIsL0v6VBelB9l1Dfgns/iG/SrPe+0wYOHJG02byxeTJdk2lOKkt40 yI7g9ZzRMum/cUV+Uo859tFNomcNWNL45bmQhWlylgoDf8i8Nomko0LOUpoBhoDKUrSh 48/ljhb1UPba1GlK/dkIkTIaVY1j5Pa2Qcm2XIPQDZCfAg/2CSWAFgRjBscarW4rFquQ hF2lST00OvrUIbEKvJnAvxvYO1lm7NolyEALTRKmPPEcBor4Puu6tWnCtImL5Cff5ny9 rCqZBdpRDwQyfSWImS+xwA4i6NaCOECSyULvbaBUrFKEfN1+VjDUARomTP3lm/f1aj5Q nuMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=RDclMnSAk7DALgOvL1DptWQ/J6qZ5zSnWjhBaAOOu8M=; b=QGTuT1NyVdtJnkhraDegTNIOtHqdb6QMkc/g06fPW0UmQXrkgSXO8x4tmxQMTZJBqh swELN8IT8nDrVyc0jkp3PPYJIrdI4k1P8jCEeIKNk9jjewRqsmBTxnYVcMlRFzrzWnFX nh7dMLYyAQiboaWjTUHnU/6EyITcRsZ0SKRycKJ6BJcTZpqwiwLYoQHBAF7ajTeQlgg8 30A9zbxSDPloIXZ2syonIvxoe24zNZREUQZ26QNOAd4Ly0EmZRCF481i4Niz9kCE2UQk nr1B7aHHcMHb1mFZ8zcyRPCXXPxfQ81QHouKMldx6RwrZ78n1kmRwaZ5NlyxQYAMplk4 ULig== X-Gm-Message-State: APf1xPC2YEb1bvgXKGHzyu3jsok8ipuCjfkL0n+OvQo2WcZ1+hd6PFnJ p5Mk+9pH2ZYVBb0YHPE9O5mtrGTq60n+Nn5mrn7HKA== X-Google-Smtp-Source: AG47ELvu52lujYL8nBt5eAkocfYLgpui3qffMGNY1/m90eVZHv7K9LzCYPB8TwEmuavb+Y6rv5E1h+Y+oH5cEitoSbU= X-Received: by 10.36.111.4 with SMTP id x4mr81567itb.51.1519655416989; Mon, 26 Feb 2018 06:30:16 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.201.67 with HTTP; Mon, 26 Feb 2018 06:30:16 -0800 (PST) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: <201802261411.w1QEBRt1002026@higson.cam.lispworks.com> References: <201802261411.w1QEBRt1002026@higson.cam.lispworks.com> From: Warner Losh Date: Mon, 26 Feb 2018 07:30:16 -0700 X-Google-Sender-Auth: TldihnQKzQfYi-jPC0xUPGWG8Hk Message-ID: Subject: Re: growfs only works on GPT partitioning schemes? To: Martin Simmons Cc: Mars G Miro , FreeBSD FS Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2018 14:30:18 -0000 On Mon, Feb 26, 2018 at 7:11 AM, Martin Simmons wrote: > >>>>> On Mon, 26 Feb 2018 11:55:10 +0800, Mars G Miro said: > > > > It seems that growfs only works on GPT partitioned schemes ? > > > > When I first installed my FreeBSD, I unfortunately chose BSD during > the > > FS creation. Now that I ran out of space, I wanted to increase the > > filesystem size. Successfully did so in Virtualbox but after rebooting, > the > > HD doesn't see the new allocated space. It has another virtual HD, one > > created with GPT and I was able to increase it via growfs. > > For the BSD scheme, I think you also have to resize the slice (i.e. the MBR > entry) and then resize the BSD partition within the slice. > You do. The /etc/rc.d script that does resize on boot does that automatically, but we have no other automation for the process. Warner