From nobody Sat Sep 17 18:42:54 2022 X-Original-To: freebsd-fs@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 4MVKZM5BMTz4c2wR for ; Sat, 17 Sep 2022 18:43:07 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-qt1-f178.google.com (mail-qt1-f178.google.com [209.85.160.178]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MVKZL3QBKz3krl for ; Sat, 17 Sep 2022 18:43:06 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-qt1-f178.google.com with SMTP id r20so17486264qtn.12 for ; Sat, 17 Sep 2022 11:43:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=FgkvswVmtkFiEk8X8/xiMLU9mx9WWqNSCzmg50gevTk=; b=2Dmk4bWetHxzT/KclN4lhfPkhzQqEJ5PPx/jHCZW3x0qr+qlN5gyKWnU2Snc+axLpc s9t3itsvWL7ccQK+3CsFg040giPnnMvhv0fggJKYM/TxbCDEQoRQFulI/xmwp92zHBen 4bYEBTjs1yYrRrZnWr8q7Ygs5Rg3vP1s2Xly8H627mHGDKaMHidldgYfWAUgvK81iJO8 Gw53HqB/gw08VJwZIIFJpxeSsgG3pF8doJ5pTHUUOtd5j5IplG0/xJrF9tbW7z6NM8po v7xzNFIAdl7VyqCj1zEh5MuTJFvvNTD6oincc2tWujHNm4TaOtWoIj4YqPOaNvNOamA4 Kssg== X-Gm-Message-State: ACrzQf1FTSA9GAMgRHp19IIOl3Nywa1PJy0xA2Oe4JylNm0qb6kZK003 1Y05i9pzNkrBZGYTEipr5uEEhIBimbW0LpIXWLd3Jw0J X-Google-Smtp-Source: AMsMyM7YrvvI3X3MW1ib9Xmj+Mf5JkzbUNgGLA/RErHBf4NhStvTSCnceEWGMvhgCC7Pr+V2zTy5RYsjsL5w2HsAj4M= X-Received: by 2002:ac8:5a8c:0:b0:35b:b2f7:7e96 with SMTP id c12-20020ac85a8c000000b0035bb2f77e96mr9263378qtc.659.1663440185689; Sat, 17 Sep 2022 11:43:05 -0700 (PDT) List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Alan Somers Date: Sat, 17 Sep 2022 12:42:54 -0600 Message-ID: Subject: Re: Need help with live system expansion (zfs+geli) To: milky india Cc: freebsd-fs Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4MVKZL3QBKz3krl X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of asomers@gmail.com designates 209.85.160.178 as permitted sender) smtp.mailfrom=asomers@gmail.com X-Spamd-Result: default: False [-3.09 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-1.00)[-0.997]; NEURAL_HAM_LONG(-0.99)[-0.992]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; RWL_MAILSPIKE_GOOD(-0.10)[209.85.160.178:from]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; RCVD_IN_DNSWL_NONE(0.00)[209.85.160.178:from]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[asomers]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_NA(0.00)[freebsd.org]; TO_DN_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On Sat, Sep 17, 2022 at 12:31 PM milky india wrote: > > Sorry about that, again - I'm not sure what you mean by bottom-post vs top-post. > > Be that as it may - I read the geli man page. I was specifically warned against using "geli resize" since it may not work as expected https://forums.FreeBSD.org/threads/how-to-extend-zfs-geli-encrypted-disk-space-not-showing.86447/post-581642 > Is this advise wrong? > > "The geli has autoresize flag which will handle the new provider size after gpart resize command." > followed by > > You are right, no geli resize needed. > > What would be the correct sequence of commands to fix this - Simply "geli resize" ? (the -s option seems to be additional, will it figure it out without providing s?) > > On Sat, Sep 17, 2022 at 10:20 PM Alan Somers wrote: top-posting is where you insert your reply above the previous email. Bottom posting is where you insert your reply below it, like I'm doing. The forum user said that you shouldn't need to run "geli resize" because the AUTORESIZE flag is on. But as you can see from your "geli list" output, it's actually off. So you need to run "geli resize". The "-s" flag should be unnecessary since your provider is already online. At any rate, you can try it both ways. You might want to make a copy of /var/backups/ada0p3.eli, just in case you make a mistake.