From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7149079772069363712 X-Received: by 2002:a17:902:ef95:b0:17c:256a:d52c with SMTP id iz21-20020a170902ef9500b0017c256ad52cmr3706739plb.94.1664534354716; Fri, 30 Sep 2022 03:39:14 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:90a:660b:b0:202:c046:4732 with SMTP id l11-20020a17090a660b00b00202c0464732ls5640574pjj.1.-pod-canary-gmail; Fri, 30 Sep 2022 03:39:13 -0700 (PDT) X-Google-Smtp-Source: AMsMyM52Adreqxz7lu0vim6EbhW5dTal9VLyzcy0f1e5ml472pY6+TTLG0HQOAmqnbZhGZcnhLyt X-Received: by 2002:a17:902:8301:b0:178:7a61:c01e with SMTP id bd1-20020a170902830100b001787a61c01emr8430310plb.90.1664534353732; Fri, 30 Sep 2022 03:39:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664534353; cv=none; d=google.com; s=arc-20160816; b=T0HZoSipWOl/dxAAWsFwza+2A1Kkcf0vWQ2JWfqcG8mE1aWx3jMnlG4faUegVEWL1h AncICgy09ESY0knSJQxpxLav20recHMCQGbn5aVurLlxrnRdNZKpeTheYSdggnq9R5iH 5pVN6+WS7/4pJNuOtsdHiiX+147ZlmswgMmdGVjPOhXdd+82P0bP8CVHNNZZnE53rFIO z17uTqX1rEDQzobRzGqP5nKZkEU3J9hwhlERnOgBuVQDXHR/G+n2zQdyvhEVU+ILd21N YGndRUu6wKzvYU2o45DSAKLFX/2e0esBXCopNgq3xcSf0rsxqCTwwl2lZCfs6W5XoLKD sRcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=T+DItieA+/k94lskAI5pltBNsLqgIMrRYhHsl0u5jnc=; b=pHdrTyWXyO4Bu7FZA95eQQ0r++81Eu06RnkqC/eRnrigWag6YFmMrlt+Htd7Yw9vu8 sVoUV5EBeKhB6pz9u1MwojnV3lXG8/4BMTsndj9MBXofRrh1TlSBA8CVQbOtrYdehS8E 2LQVvXhXBnnPUySbnQLqBclweElVAdD4JMIv1Xwb/gmAdxM3G+XTmmGREGPh5j2cx8b9 4BwXkYhT0NZ0bOinM62hKFpuVEMHtn1tTWm9OUs5Mx5qQgp0f6RzUlZIywIDoJ46tzxZ CqPnZZCP9NovZXYGTv1A6A0o4Eg4p/8RGgQ+wpd9utWIi0GhYL4+Wxme/bp/GEBNPL52 sojw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=E9pk9i4x; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::d35 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com. [2607:f8b0:4864:20::d35]) by gmr-mx.google.com with ESMTPS id i4-20020a63b304000000b0042ba5b4bd9asi136596pgf.2.2022.09.30.03.39.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Sep 2022 03:39:13 -0700 (PDT) Received-SPF: pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::d35 as permitted sender) client-ip=2607:f8b0:4864:20::d35; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=E9pk9i4x; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::d35 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-io1-xd35.google.com with SMTP id b23so2948820iof.2 for ; Fri, 30 Sep 2022 03:39:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=T+DItieA+/k94lskAI5pltBNsLqgIMrRYhHsl0u5jnc=; b=E9pk9i4x68PX/b/tSeemJbjtVbxzfLJEzjP1f4qNbLBoZUggcZzRTaozuybTIPahAc vQ0rGmri1JQypdlKA8PxmnXK7wgyxxEnjrtE+iizrLDiqekt6a/OnIpMm6g9mdXzKvfx Kh4Bjpm8AP84VpqChCfolF6f6FErcM0dVNkXBwXzXH+GjQvnQG8FPk8WgusxOT6lHENe p8zd2CVsUZkCHVlUOayQ/Hnyeil8ISoSdxk8MHAcfK4N5d1RpfB8WVqOiUwk7h7pyYdY 4zAeY8lRbk2XVIyPK6BXrbn8Q0hzemmjJe9/lscWIcLEM+UrJKr8rz/XzuNEx/BYQQRF Wa8Q== 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=T+DItieA+/k94lskAI5pltBNsLqgIMrRYhHsl0u5jnc=; b=xEcHHD15qPhxR3Hd00m+v9aSelv/WzfM5nGyjQqwNHVJ4EaforlhVqMoRS1nssQ3Kv l3pHw/wMNMRMtiHPC3KWBZ0SXS27P+aiyTRAaMXDFa/V5qetucpIRBMrzy6CyTJh3O/L s8YRDYKsuKTMTAfDldzMJZCiQmONVPTGFA5i09p++4T5E3ZQJcA+KtHhpA3hurVuwLSq jdMPV9wHy5bPf3cUzEvNCn9OYEnNSjraHPaItNzAXqwJix2odxVx917VkDgU9PPJEmsJ /NPK1YaZNEuum+08VAqxvixiN8FWK91RHv0wmFK7NNLyu+6RzwnUOX310Th9TXycddsK oY/w== X-Gm-Message-State: ACrzQf3Gzrqya5z807sHqPYmYVr7o9MVXEAc3DvviDTFK+2ijxwn02KN Het3YvShhaEVnxajhwK8nKyFCcrlyBy+vXsEKg== X-Received: by 2002:a05:6638:120b:b0:35a:98f1:7a22 with SMTP id n11-20020a056638120b00b0035a98f17a22mr4437384jas.271.1664534352891; Fri, 30 Sep 2022 03:39:12 -0700 (PDT) MIME-Version: 1.0 References: <37b7c077-3d07-ab97-a9f8-a0e31bc85168@siemens.com> <7173fe9ca22bb8f50ba6c941fb62b1799f066e5d.camel@siemens.com> In-Reply-To: <7173fe9ca22bb8f50ba6c941fb62b1799f066e5d.camel@siemens.com> From: "Roberto A. Foglietta" Date: Fri, 30 Sep 2022 12:39:01 +0200 Message-ID: Subject: Re: [PATCH 1/1] expand last partition supports btrfs (inline test) To: "Schmidl, Tobias" Cc: isar-users@googlegroups.com, Jan Kiszka Content-Type: multipart/alternative; boundary="000000000000d2178305e9e29add" X-TUID: gWXwlBRfHlKY --000000000000d2178305e9e29add Content-Type: text/plain; charset="UTF-8" Il Ven 30 Set 2022, 12:23 Schmidl, Tobias ha scritto: > Hi Jan, Roberto, > > Am Freitag, dem 30.09.2022 um 10:56 +0200 schrieb Jan Kiszka: > > On 30.09.22 10:00, Roberto A. Foglietta wrote: > > > > > > > https://groups.google.com/d/msgid/isar-users/20220630135531.717696-2-tobiasschmidl%40siemens.com> > is the way forward, but it needs some more fine-tuning. Tobias, what is > > the status there? > > > > As I understand it the mentioned patch is dead, since the systemd version > in stretch is too old for systemd-resizefs - or did I miss anything? > Hi Tobias and Jan, as you can see my approach is straight simple: if extending the ext4 fails because it does not match the filesystem type then try with btrfs tool. Obviously, the btrfs tool is added as dependencies among others before defined. pro: it supports btrfs, easy to catch contro: not a general approach I tend to be very pragmatic: the current supports ext4 resize only + a simple patch it supports btrfs also. This is an improvement and add a little of complexity. May be tomorrow, it will arrive the support for xfs or dm-crypto. Step by step functionalities will be added and at a certain point someone will feel the nessecity to rationalise the code but not necessarily generalising (architecture change). This kind of development is about natural evolution rather than intelligent design. Ok, sometimes it is necessary to reorganise, rewrite, generalise, the product of the natural evolution but usually fits enough. My 2 cents, IMHO. Cheers, R. > --000000000000d2178305e9e29add Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Il Ven 30 Set 2022, 12:23 Schmidl, Tobias <tobiasschmidl@siemens.com> ha = scritto:
Hi Jan, Roberto,

Am Freitag, dem 30.09.2022 um 10:56 +0200 schrieb Jan Kiszka:
> On 30.09.22 10:00, Roberto A. Foglietta wrote:
>
>
>=C2=A0https://groups.google.com/d/msgid/isar-users/2022063013553= 1.717696-2-tobiasschmidl%40siemens.com> is the way forward, but it n= eeds some more fine-tuning. Tobias, what is
> the status there?
>

As I understand it the mentioned patch is dead, since the systemd version in stretch is too old for systemd-resizefs - or did I miss anything?

Hi Tobias and= Jan,

=C2=A0as you can s= ee my approach is straight simple: if extending the ext4 fails because it d= oes not match the filesystem type then try with btrfs tool. Obviously, the = btrfs tool is added as dependencies among others before defined.

=C2=A0pro: it supports btrfs, easy= to catch

=C2=A0contro: = not a general approach

= =C2=A0I tend to be very pragmatic: the current supports ext4 resize only + = a simple patch it supports btrfs also. This is an improvement and add a lit= tle of complexity. May be tomorrow, it will arrive the support for xfs or d= m-crypto. Step by step functionalities will be added and at a certain point= someone will feel the nessecity to rationalise the code but not necessaril= y generalising (architecture change).=C2=A0

=C2=A0This kind of development is about natural evoluti= on rather than intelligent design. Ok, sometimes it is necessary to reorgan= ise, rewrite, generalise, the product of the natural evolution but usually = fits enough. My 2 cents, IMHO.

=C2=A0Cheers, R.
--000000000000d2178305e9e29add--