From owner-freebsd-stable@freebsd.org Sat Jun 1 12:04:30 2019 Return-Path: Delivered-To: freebsd-stable@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 007AB15BB410 for ; Sat, 1 Jun 2019 12:04:30 +0000 (UTC) (envelope-from matheus@eternamente.info) Received: from hobbes.arroway.org (hobbes.arroway.org [173.199.118.77]) by mx1.freebsd.org (Postfix) with ESMTP id E47988D83F for ; Sat, 1 Jun 2019 12:04:28 +0000 (UTC) (envelope-from matheus@eternamente.info) Received: from [10.1.1.11] (unknown [181.223.129.91]) by hobbes.arroway.org (Postfix) with ESMTPA id 928761C73BF for ; Sat, 1 Jun 2019 09:04:20 -0300 (BRT) Received: from 10.1.3.100 (SquirrelMail authenticated user matheus) by 10.1.1.11 with HTTP; Sat, 1 Jun 2019 09:04:20 -0300 Message-ID: <01f6a0b0e75ea4f49601b155d54bad0d.squirrel@10.1.1.11> Date: Sat, 1 Jun 2019 09:04:20 -0300 Subject: Gmirror and bigger disks (growfs) From: "Nenhum_de_Nos" To: freebsd-stable@freebsd.org User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Rspamd-Queue-Id: E47988D83F X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [5.32 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.73)[0.727,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[eternamente.info]; MX_GOOD(-0.01)[hobbes.arroway.org]; NEURAL_SPAM_LONG(0.92)[0.920,0]; HAS_X_PRIO_THREE(0.00)[3]; NEURAL_SPAM_MEDIUM(0.69)[0.692,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:20473, ipnet:173.199.116.0/22, country:US]; MID_BARE_IP(2.00)[]; IP_SCORE(-0.01)[asn: 20473(0.03), country: US(-0.06)] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2019 12:04:30 -0000 Hi, I replaced a faulty disk from a gmirror some time ago. The array had two 1TB disks and I got one 2TB disk there. Now I replaced the second one and tried to growfs it. No good for me. I tried when there was only one disk, got not permitted message. I did the sysctl geomflags. No good also. So I inserted the new disk and tried again. Nothing. I tried both the /dev device and the mounting point. I have this now: Geom name: root State: COMPLETE Components: 2 Balance: load Slice: 4096 Flags: NONE GenID: 1 SyncID: 4 ID: 838844102 Type: AUTOMATIC Providers: 1. Name: mirror/root Mediasize: 998057295360 (930G) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r1w1e1 Consumers: 1. Name: ada1p3 Mediasize: 1998233534464 (1.8T) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 1 SyncID: 4 ID: 3941328331 2. Name: ada0p3 Mediasize: 1998251343872 (1.8T) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 1 SyncID: 4 ID: 3401957346 Is there a way I can growfs it? Or other way to use all slice? gpart show ada0 => 40 3907029088 ada0 GPT (1.8T) 40 128 1 freebsd-boot (64K) 168 4194304 2 freebsd-swap (2.0G) 4194472 3902834656 3 freebsd-ufs (1.8T) gpart show ada1 => 40 3907029088 ada1 GPT (1.8T) 40 128 1 freebsd-boot (64K) 168 4194304 2 freebsd-swap (2.0G) 4194472 3902799872 3 freebsd-ufs (1.8T) 3906994344 34784 - free - (17M) thanks, matheus