From nobody Wed Dec 08 21:46:21 2021 X-Original-To: doc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6A41418E7FFE for ; Wed, 8 Dec 2021 21:46:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J8W2P167Cz3tWl for ; Wed, 8 Dec 2021 21:46:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 065561AABE for ; Wed, 8 Dec 2021 21:46:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1B8LkKTk074173 for ; Wed, 8 Dec 2021 21:46:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1B8LkK6t074172 for doc@FreeBSD.org; Wed, 8 Dec 2021 21:46:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 260280] growing gpt partion Date: Wed, 08 Dec 2021 21:46:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Documentation X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: sharky@schaack.io X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: doc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638999981; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pJ04YcCznOXS3rEiKmHm90kJK5Q/DwEGR/B64kvndbU=; b=g9Pu+VmY1bNjE6f3bfyDcr7E55gVvE75G4AuAq70Nwg91uSfvu0cOJTaj2PxEmxSDr4Lef Kv5Q5V95zCbds6OIN2BI7pmBkJa7bKdOxeVnk238z9cRmGn7vl5YpoamQDKabhEgbn0ee1 18ybTrSrEOBj/44CqStofKzxC4igPosjWu+7FsgavL3bn0vy9zIkUOGv3dfivIdecrMyh0 g8F8MyzQ3rhXyIqrNksJB1yg194Q4d7F/a80VPDoXqoi8DwpE7LsHPrPeMSJDKccVVtk83 4JTY2Rs543doc3yNaPskg8jMAQWVXSp+j47T219/LQ38eGH+hLXo8Fc/ORldwg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638999981; a=rsa-sha256; cv=none; b=FVu9HPRF5yXH/BtrnlR2AjLZhc7jn52viYZR/qkwb/7Kd4hLzaydT6bL6s63FJZHoPUuQa Oec4Qn7HgarySRIC3k4HUuKdm+e4ckwZMEQDq2IoxgTkjsJ0IYUZKmL/jEaAru8ceRNOZ9 uKuQao07EVnrbrVsBhyKMhWGiP40MfNuzfxN8L1L2gPBIsSqWWUhVTFDSTefNIqTPfeFly g2u/4VUNBbgGXEXKsVaosFBlisU5W3eDBVW95sE/Y7ZTLlEzcYE2LPCklAJSbJdNXfhCK+ 0A7hogVZ3agB46m1G7q+xy7ZZZ8L4HfD63SGvdc/Pq5UZx8iYY8EkF+o8Qyf5g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260280 Bug ID: 260280 Summary: growing gpt partion Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Documentation Assignee: doc@FreeBSD.org Reporter: sharky@schaack.io Hey,=20 I tried two expand a gpt partition , but I could not get it working with the solution from the handbook.=20 https://people.freebsd.org/~rodrigc/doc/handbook/disks-growing.html The last step=20 sharky@freebsd:~ $ sudo growfs /dev/ada0p4 It's strongly recommended to make a backup before growing the file system. OK to grow filesystem on /dev/ada0p4 from 4.0GB to 47GB? [yes/no] Yes growfs: /dev/ada0p4: Operation not permitted What works is this command.=20 growfs /dev/gpt/rootfs sharky@freebsd:~ $ sudo growfs /dev/gpt/rootfs Device is mounted read-write; resizing will result in temporary write suspension for /. It's strongly recommended to make a backup before growing the file system. OK to grow filesystem on /dev/gpt/rootfs, mounted on /, from 4.0GB to 47GB? [yes/no] yes super-block backups (for fsck_ffs -b #) at: 8979008, 10261696, 11544384, 12827072, 14109760, 15392448, 16675136, 17957= 824, 19240512, 20523200, 21805888, 23088576, 24371264, 25653952, 26936640, 28219328, 29502016, 30784704, 32067392, 33350080, 34632768, 35915456, 37198144, 38480832, 39763520, 41046208, 42328896, 43611584, 44894272, 46176960, 47459648, 48742336, 50025024, 51307712, 52590400, 53873088, 55155776, 56438464, 57721152, 59003840, 60286528, 61569216, 62851904, 64134592, 65417280, 66699968, 67982656, 69265344, 70548032, 71830720, 73113408, 74396096, 75678784, 76961472, 78244160, 79526848, 80809536, 82092224, 83374912, 84657600, 85940288, 87222976, 88505664, 89788352, 91071040, 92353728, 93636416, 94919104, 96201792, 97484480 I think this should be changed.=20 best regards, sebastian --=20 You are receiving this mail because: You are the assignee for the bug.=