From nobody Sat Sep 17 18:20:32 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 4MVK4Y5pYwz4bxmP for ; Sat, 17 Sep 2022 18:20:45 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-qv1-f49.google.com (mail-qv1-f49.google.com [209.85.219.49]) (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 4MVK4Y0WXMz3gqQ for ; Sat, 17 Sep 2022 18:20:45 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-qv1-f49.google.com with SMTP id z9so7574017qvn.9 for ; Sat, 17 Sep 2022 11:20:45 -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=OjcYUnO6niZXIDOnMQZS2/6nBajfT62QXhCWpv470DI=; b=rviQutAfKYq1+iHk3Nj9cYQ/9+0OYLx9+jBPZp91qIlRe75NrrLlHdpYNiVeGFIG+g Fa9KCDFG1tMNDvc4Uk9a8qJd8SbK/nw6ctDii3l+xgzAzFV7Ixs0DD6x+YJ7UEXRp8Qs V+vB0NTKKEaxSzYiWF6lvwK6YHitaRhSE2CyOg0dM4Ay6zvDKZqXA9R6w/c5c3mRnEY+ 53+Uvt1apBZgBCPXQ16zabcI24D9tqX4oGjHmy15Hjhrkck9rboEpBk751ETftUiOl2U hP+6kS0h0C1UArnyn/AF8cmUOlppeXWIwUIvSAMg1fOgmyzFNlaMD3JP7C3XynjgOwuI xZvQ== X-Gm-Message-State: ACrzQf1rkVNzw0c+9bEbJpwDpiNFtEgBjzODcspcylZTTiYN3Co4giMm mB+Fl0z84IoCV4VGobuAABCOxTL949adb2IEvRTfw9MQ X-Google-Smtp-Source: AMsMyM7bXfePAkMQjcayQm5Ly8IMpvQjpO76CpGA5vcBafSfON16lOFbMe6Ezt/JAXKTKhfWt8Me42aUd9mYwR3Bepk= X-Received: by 2002:a05:6214:5295:b0:4ac:ae7d:6a46 with SMTP id kj21-20020a056214529500b004acae7d6a46mr8694372qvb.131.1663438843915; Sat, 17 Sep 2022 11:20:43 -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:20:32 -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: 4MVK4Y0WXMz3gqQ 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.219.49 as permitted sender) smtp.mailfrom=asomers@gmail.com X-Spamd-Result: default: False [-2.93 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.98)[-0.980]; NEURAL_HAM_MEDIUM(-0.95)[-0.946]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org]; FREEMAIL_TO(0.00)[gmail.com]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; R_DKIM_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.219.49:from]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[asomers]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.219.49:from]; 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:07 PM milky india wrote: > > Apologies about that - output of "geli list" below : > Seems like the provider is showing the old value (290G) while the consumer is showing the resized value (458G) - so now I'm confused about what is to be done and how to resolve this (not very familiar and still learning) > > ---------------------------------------------------------------------- > geli list > Geom name: ada0p3.eli > State: ACTIVE > EncryptionAlgorithm: AES-XTS > KeyLength: 256 > Crypto: accelerated software > Version: 7 > UsedKey: 0 > Flags: BOOT, GELIBOOT > KeysAllocated: 73 > KeysTotal: 73 > Providers: > 1. Name: ada0p3.eli > Mediasize: 311481593856 (290G) > Sectorsize: 4096 > Mode: r1w1e1 > Consumers: > 1. Name: ada0p3 > Mediasize: 491516858368 (458G) > Sectorsize: 512 > Stripesize: 0 > Stripeoffset: 8590983168 > Mode: r1w1e1 > > Geom name: ada0p2.eli > State: ACTIVE > EncryptionAlgorithm: AES-XTS > KeyLength: 128 > Crypto: accelerated software > Version: 7 > Flags: ONETIME, W-DETACH, W-OPEN, AUTORESIZE > KeysAllocated: 2 > KeysTotal: 2 > Providers: > 1. Name: ada0p2.eli > Mediasize: 8589934592 (8.0G) > Sectorsize: 4096 > Mode: r1w1e0 > Consumers: > 1. Name: ada0p2 > Mediasize: 8589934592 (8.0G) > Sectorsize: 512 > Stripesize: 0 > Stripeoffset: 1048576 > Mode: r1w1e1 > ---------------------------------------------------------------------------------------- So yes, you need to resize the geli device. Read the geli man page for details. Also, when you reply please bottom-post rather than top-post. It makes the mail archives more readable. -Alan