From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7173333086179950592 X-Received: by 2002:a2e:bd8a:0:b0:277:b4e:6286 with SMTP id o10-20020a2ebd8a000000b002770b4e6286mr25093936ljq.279.1670513877842; Thu, 08 Dec 2022 07:37:57 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:651c:1208:b0:277:22e9:929f with SMTP id i8-20020a05651c120800b0027722e9929fls958851lja.5.-pod-prod-gmail; Thu, 08 Dec 2022 07:37:56 -0800 (PST) X-Google-Smtp-Source: AA0mqf4t06KWjGoKHanjcQ6Vho37MXJxmWyD4KJ+UHbKiz4kTiZ4LX3DM9/NHKzUrxAcqB012IBq X-Received: by 2002:a2e:b61b:0:b0:27a:c0f:30be with SMTP id r27-20020a2eb61b000000b0027a0c0f30bemr672708ljn.35.1670513876473; Thu, 08 Dec 2022 07:37:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1670513876; cv=pass; d=google.com; s=arc-20160816; b=syGmjLlo4TzL2FWbAKYTC3ogIM919U1i7rf5RMXjHnaxO393+vjH2PmUqc/Yyi0g9m qFMG/+kfZTuKxU0A8DVKL1dON5Lhq4cBINB52D+gtcxoTaIqpNSB9klo3Kaqc1LPcwVL rCBRecY9z4YDGDOvaH187KssR469boiXBHxctDtdNwuqsTEwLtbQauY4gSfkLuyKpF+H vNhWdsq7Awqe6CePUbdGKuI1LbizzuTOqQG/csQiisg2lL7vLCxjTYdirx1RSBghhSZa S9UWcIpM5+DejllPNKlKuMWOwXLi5xg8uV1GFL1OldpGCtb0Lea9vtHR5oBaz7L26eGG kSmA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:references:in-reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=0pRJj27Nw/mw34zq+LQcSKFG40FFcIwGlWp5+vZlu14=; b=adE8yiRyTI99H5s5ZJYAaF01wmjSM7xut3M3EeytwIO56EsRfsW+8CEtWJB9tnemI6 OHCFg7MWQDB7RZnPNhtavrzxZ7IKQncL+23MX5IbX2+61Y59nR/FvlHPvX6pjl5Upqtt iCwuk5vpmFixvv+1Bt5ZVztYVoz9obPou3+ygS+9A2VIG4+fRlvx6si5bGH5JjPFE47v EbOehH5hQbOCkXP1bTqs21OUAAqnPdV1TNIzDWB3HEp0b/w3ZY/7JBZS7NknIMEB8Dxv h3a4gbW+LXZAuWKweyv1fWQDn1Xsf4z2qB41FE1SUBT1n0LKHDTMaHVVeSy/5ODoOZR0 Fsxw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=gLZphL7i; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of henning.schild@siemens.com designates 40.107.6.87 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2087.outbound.protection.outlook.com. [40.107.6.87]) by gmr-mx.google.com with ESMTPS id g15-20020a2eb5cf000000b0027a0c7ad60bsi392599ljn.1.2022.12.08.07.37.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Dec 2022 07:37:56 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 40.107.6.87 as permitted sender) client-ip=40.107.6.87; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=gLZphL7i; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of henning.schild@siemens.com designates 40.107.6.87 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bZGdQvMrcmCPIMQYNLzmQhKzc4yDq6VcEFJmXBO4F/+FFz1G+hgvUExizN3pwRJKF9671m9d93h09fGVzMYS7iwfzyw6ch+Q/fS+nYd2yaiSFhiqv95v5ZQYFZG8wSCXQcFXYJCWrRoyLx+Pg5MY9IoJsBEQXRkMPamRc/Mv+TiPL938o272d52dTR25nyGdd1xz7yD57D10rOxfKguuJE290RQdhQo+kAYlD0HZfvsELBPFchgb9slPzz57HOSRL28K5evbeL+jotSAZJ930J6Xixd7h1E806kxPRgP9HxfO8H9j6WwfIKXy6GDcaDpURhin0bDXW8LDuxCfxhB6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=0pRJj27Nw/mw34zq+LQcSKFG40FFcIwGlWp5+vZlu14=; b=efon816y6MWZMyip5a7gwDaist+eGrkOlgvgQMbxrMz2gO7Iq+AoSbshp1IRVDPih+XIIJGvJ2KKSziIunLBXma2398dW/L34eyY3XWXW2yQYb4Dsij2asw+fQaH4oJLqKv4EZe470Yj6jmaZRycAkZipAH1hYvXA2cPv0S371QxYS/vc6PBgvm9e1uDEs4dNQv4CKXt530/r9BpPhytF5B2wB2TiEzKYrt+wvN76N5EWSepBmyCCBtnWMtL2jnT/kPeG3DCNddXPcnAZV7+j6+EJ7lamlVS91x+4EmgVOAo/LW7YIq7nYsvuIvHOf1bbZcGclcB5DbVt35elr2XPA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=siemens.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0pRJj27Nw/mw34zq+LQcSKFG40FFcIwGlWp5+vZlu14=; b=gLZphL7i8i5obIW6Y4TJ1sIiYgUGC1V/b9+zo2wXx7lZls8XXoZ2sDCmLFB1SaMgQKUT4OBupa93yxm3A0xyhbIKYQWzYG59CG4zaN+nJkAjSGRkP18YbP9isj2fJxUa6wguoefVxvo1orZcblSUhhMAcLLh5YakpeCK2M0ZqUK7O62QeBxPMBLjnG6WDIev7zPobTIT78BPVCJpKSnJYCbBTwmy1C6c3xSHabifEu2J5e0Imz6LVXJxB87Czh/rzmmPQTFYYdud16yETy17RfUFHi2HJzH9IvuOrJkIRIAG24+kS6+4O+b+YoozcZAbFz03Su9EYSXwsmSPlDu6Mg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=siemens.com; Received: from PA4PR10MB5780.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:269::8) by DB9PR10MB7931.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:303::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.14; Thu, 8 Dec 2022 15:37:54 +0000 Received: from PA4PR10MB5780.EURPRD10.PROD.OUTLOOK.COM ([fe80::bdf0:fdeb:f955:bc79]) by PA4PR10MB5780.EURPRD10.PROD.OUTLOOK.COM ([fe80::bdf0:fdeb:f955:bc79%3]) with mapi id 15.20.5880.014; Thu, 8 Dec 2022 15:37:54 +0000 Date: Thu, 8 Dec 2022 16:37:46 +0100 From: Henning Schild To: Jan Kiszka Cc: "Moessbauer, Felix (T CED INW-CN)" , "Schaffner, Tobias (T CED SES-DE)" , "isar-users@googlegroups.com" Subject: Re: expand-on-first-boot failure Message-ID: <20221208163746.2e477a64@md1za8fc.ad001.siemens.net> In-Reply-To: <38b26c00-9d20-3557-5bbd-b52f45e5bc83@siemens.com> References: <8512db95-6e08-60ba-191f-e821e710f74d@siemens.com> <151b0bec5767bf7064848585f206864ecf306f45.camel@siemens.com> <38b26c00-9d20-3557-5bbd-b52f45e5bc83@siemens.com> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ClientProxiedBy: CH2PR14CA0041.namprd14.prod.outlook.com (2603:10b6:610:56::21) To PA4PR10MB5780.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:269::8) Return-Path: henning.schild@siemens.com MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR10MB5780:EE_|DB9PR10MB7931:EE_ X-MS-Office365-Filtering-Correlation-Id: 8e93dbc0-e5b9-421a-d8fd-08dad9322c84 X-LD-Processed: 38ae3bcd-9579-4fd4-adda-b42e1495d55a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Sw7HAx1Sgs5fdi8Qk1AF/mZd/kgqr4Q1JbZRQgz6xtimXaq3jfdaHxob7e3vAzv6FhL85d6L+O2T76XR93EF6g0sB3nEcNC5LYoi5ENY8sR6e5nDLkP7sONkKuo/y6eFzX8hQ9H0l/XT5DVgcSsE1SfBqsxI7pODdtBouAB0xxRBpZUNM3/PAgcpyROUBseMjYTSb7mEdWjhkELwaT6JnTobsW3lkf8XPuZTPnG4h3Vg7nwaHgtxGDL7KMn05bGcm0YjTwIhkqUIRLTCXG98wqBcIMeuENS1mIZXbJERebZ7kQf1dCoycQ7IYMJAD1qXI1p2bIhfiyUeoSOCzS7WskAEtFfSZ61zMr3y/2ccYGlSwAQRJ80AoGWZah2rCMfckWowcG9wmnDkDsxNho2dKRaWuImsX+JlQJMoYU5+4fbW6gv+MSkGRIH3mbIrQ42Rxy2wRQMbPkwsTA9FfTBsSYsMJa9HHQMQMnJxLluHC6zOyg6FTK40Fe/cF3OgSDnui65H+DxofSwToim3m7ZY8cAellQ4jR5iCln5lHNRreRFLsv57JZKwDPsinKLMKCdQdv9VxsHLHRMNRI31dJq1qa7FAKBhXP+jx7Ohti+Z2HyWSiXVOQP4fIt7yv0WobUh3gXjT1e3earw+F+V6+aDQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR10MB5780.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(346002)(366004)(136003)(39860400002)(396003)(451199015)(53546011)(86362001)(38100700002)(6506007)(3480700007)(6486002)(478600001)(26005)(8936002)(66476007)(9686003)(6666004)(41300700001)(6862004)(44832011)(6512007)(8676002)(2906002)(316002)(66556008)(4326008)(66946007)(6636002)(54906003)(186003)(1076003)(5660300002)(83380400001)(82960400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?y7ezF2Ulwm0O2MAQXqZYI2YEaE6IUFzZ2YzGI4JOWRFZIWO0Mj/ard9vtCjI?= =?us-ascii?Q?QjK7IfWbC5X+410nRTaEtCjXe8gEObzTZGiS7f872+dL7fxMDSzro2AnmZ45?= =?us-ascii?Q?JSSt83qe3iTtKgvNHTgcK6PrNHLBvoNcAtju1H6Eaba9ferHTxagFugCkx2s?= =?us-ascii?Q?JX+mGFRYTJvrf0OJs8jPcD1/NBgxNUqGU4Qs6Vh35wfRMf7gp53QZ5yXAjpZ?= =?us-ascii?Q?IgYqrYAtpLbNCNulhpiBFYySxAnYAEY79Xlyu4k5RQw9I2WX77gBirdIUu4W?= =?us-ascii?Q?Unal7HvTDkiJE9K0fEsvJVXMvMUXL+gxhhvBYgtlJmXDr+qfGxjB9o5nSi24?= =?us-ascii?Q?9EyfqeV8NRHKdFwvUiUIgsw+hFlNc6/rfN1Cs5ta92l9IHrZGV7Ijjbvo9y9?= =?us-ascii?Q?rIni67fXBEsnuSUC5K9Qnxr+q2kIXvOKv5xBU5uel4c7EPe3YNuf415Wizdg?= =?us-ascii?Q?vmxSoJtlwAqvnMmNtQeV6OwpBTlkiTbzROfii4L3p74UOzAPMbFwaGZANrvA?= =?us-ascii?Q?OdggClzWrGAFC1MmLbxufTRHIP+RxgCg6i7DaESL1XOtMuhlfOipJObtX75r?= =?us-ascii?Q?Mhmd4TpPPrQKTYfTMMHqYBVvekQ4CrHAJupDLI+NzECzsTyUBzjnlrNYBCcf?= =?us-ascii?Q?DRiU7o2SpbBwZxMMaK7L1uB9cghcnTUMlBUBFOKzUNhKbrjSyjrnUqBEa5Fv?= =?us-ascii?Q?98MXyQWXBGRjuyxeizb38uSD6WBvaeHNd9zcM6lMzTjZYxltej/EVir9erIk?= =?us-ascii?Q?B9VJrW8eI6H9Po03oq0KwPlCGLAdwGw+ydxDlhK8plN2/3k9OCI0D8tSl+Gv?= =?us-ascii?Q?5jyKhU/WOTOnxZSYa+7m69P3uvOoa2qSL8+T2UxyiZAX886k2z1XZTe02K7s?= =?us-ascii?Q?oS2Y4PZcPQnZJThJVOcGIKzgfxWO9RFm9DZEw7LQMnDvyzcn9ljo1zo8dq/5?= =?us-ascii?Q?X8tYZySAkV6Lz8PZgvQDwcrOzlEBGaU9y6OrhB1QUyrbVzKWEWyJDtrHfBE2?= =?us-ascii?Q?RWkYRNmQoDuw3h3Dsfo16cDqM5y8PV+bHPSk6Y1/8hxN7cdsKOOfcdzDhKvD?= =?us-ascii?Q?K9s4iX6QE9Xahx0jv96qjJ6tAPw3k6OySa24p0FRX3s6+yQgYC4ghEqrJekM?= =?us-ascii?Q?MHY2OnRvbpkI7XUmX6WP67InF2H9Hxmzld4zIHqal892Km55TlK9MBOUEt+r?= =?us-ascii?Q?kb27pDosRWAJcJg2PrZKkVitKtmmjoUYfeTtEiOh3TKBnBOaZpRl4cY6Iow0?= =?us-ascii?Q?xfKVDa7DvGiEcD1IlY/L9+waqOEVAuQsJO6/grw0nFXszV9SLVbeEhgQh/Ta?= =?us-ascii?Q?WPhKoM9Dq6KYKzBZaUnM6wUmQcie3kVrKv86BKzbOwsg3nvTBj9dJJNeaDE5?= =?us-ascii?Q?vlL9Lh1jghF8Uw/lzNwWuHxMGxgby5OBU9ofkyOuvkDuPUXbw0ExYdO4OVit?= =?us-ascii?Q?HVsfasxAMA5gpt/ZzJoW0fbiYuntua1EuvrCO2MUFM84jBNFiJRP8DcXna0D?= =?us-ascii?Q?naB8aJlPFkB0xfI5IxibowWLdvXx80R+ainqdRxTp3P//Ly9cwVz7kP3PKTg?= =?us-ascii?Q?su5+UShpEaPkEijqSRE4WE4IorJHRk3DNZZ/Vp5AcwJZ0HCjxjDjGNPycEYI?= =?us-ascii?Q?6w=3D=3D?= X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8e93dbc0-e5b9-421a-d8fd-08dad9322c84 X-MS-Exchange-CrossTenant-AuthSource: PA4PR10MB5780.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2022 15:37:54.7029 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ifkcyrdG4EUhYWJKhSBIF3P2Q010sNTucfvaj8D3JA0K1nspJylZUc+tpaDBm9nzdJr62ShhCzAwPOVgbQlFGA7oNwaBni6axkVFjYXEuqw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR10MB7931 X-TUID: DqVnJOCQTi3s Am Mon, 5 Dec 2022 08:36:46 +0100 schrieb Jan Kiszka : > On 05.12.22 02:06, Moessbauer, Felix (T CED INW-CN) wrote: > > On Sun, 2022-12-04 at 17:35 +0100, Jan Kiszka wrote: > >> Hi all, > >> > >> this is with current master: > >> > >> Aug 07 13:25:35 iot2050-debian systemd[1]: Starting Expand last > >> partition... > >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: GPT > >> PMBR size mismatch (5407157 != 33554431) will be corrected by > >> write. Aug 07 13:25:36 iot2050-debian > >> expand-last-partition.sh[272]: The backup GPT table is not on the > >> end of the device. This problem will be corrected by write. > >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: > >> Checking that no-one is using this disk right now ... FAILED > >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: This > >> disk is currently in use - repartitioning is probably a bad idea. > >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: > >> Umount all file systems, and swapoff all swap partitions on this > >> disk. Aug 07 13:25:36 iot2050-debian > >> expand-last-partition.sh[272]: Use the --no-reread flag to > >> suppress this check. Aug 07 13:25:36 iot2050-debian > >> expand-last-partition.sh[272]: Disk /dev/sda: 16 GiB, 17179869184 > >> bytes, 33554432 sectors Aug 07 13:25:36 iot2050-debian > >> expand-last-partition.sh[272]: Disk model: File-Stor Gadget > >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: > >> Units: sectors of 1 * 512 = 512 bytes > >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: > >> Sector size (logical/physical): 512 bytes / 512 bytes > >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: I/O > >> size (minimum/optimal): 512 bytes / 512 bytes > >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: > >> Disklabel type: gpt > >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: Disk > >> identifier: 69D3FE47-A859-42D9-B04E-D26BFE6121C6 > >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: Old > >> situation: > >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: > >> Device Start End Sectors Size Type > >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: > >> /dev/sda1 2048 5407123 5405076 2.6G Linux filesystem > >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: >>> > >> Script header accepted. > >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: >>> > >> Script header accepted. > >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: >>> > >> Script header accepted. > >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: >>> > >> Script header accepted. > >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: >>> > >> Script header accepted. > >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: >>> > >> Script header accepted. > >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: >>> > >> Created a new GPT disklabel (GUID: 69D3FE47-A859-42D9-B04E- > >> D26BFE6121C6). > >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: > >> /dev/sda1: Created a new partition 1 of type 'Linux filesystem' and > >> of size 16 GiB. > >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: > >> Partition #1 contains a ext4 signature. > >> Aug 07 13:25:37 iot2050-debian expand-last-partition.sh[272]: > >> /dev/sda2: Done. > >> Aug 07 13:25:37 iot2050-debian expand-last-partition.sh[272]: New > >> situation: > >> Aug 07 13:25:37 iot2050-debian expand-last-partition.sh[272]: > >> Disklabel type: gpt > >> Aug 07 13:25:37 iot2050-debian expand-last-partition.sh[272]: Disk > >> identifier: 69D3FE47-A859-42D9-B04E-D26BFE6121C6 > >> Aug 07 13:25:37 iot2050-debian expand-last-partition.sh[272]: > >> Device Start End Sectors Size Type > >> Aug 07 13:25:37 iot2050-debian expand-last-partition.sh[272]: > >> /dev/sda1 2048 33554398 33552351 16G Linux filesystem > >> Aug 07 13:25:37 iot2050-debian expand-last-partition.sh[272]: The > >> partition table has been altered. > >> Aug 07 13:25:37 iot2050-debian expand-last-partition.sh[272]: > >> Calling ioctl() to re-read partition table. > >> Aug 07 13:25:37 iot2050-debian expand-last-partition.sh[272]: Re- > >> reading the partition table failed.: Device or resource busy > >> Aug 07 13:25:37 iot2050-debian expand-last-partition.sh[272]: The > >> kernel still uses the old table. The new table will be used at the > >> next reboot or after you run partprobe(8) or partx(8). > >> Aug 07 13:25:37 iot2050-debian expand-last-partition.sh[272]: > >> Syncing disks. > >> Aug 07 13:25:37 iot2050-debian systemd-growfs[296]: Failed to open > >> "/dev/block/8:1": No such file or directory > >> Aug 07 13:25:37 iot2050-debian systemd[1]: expand-on-first- > >> boot.service: Main process exited, code=exited, status=1/FAILURE > >> Aug 07 13:25:37 iot2050-debian systemd[1]: expand-on-first- > >> boot.service: Failed with result 'exit-code'. > >> Aug 07 13:25:37 iot2050-debian systemd[1]: Failed to start Expand > >> last partition. > >> > >> Is the downstream layer lacking something to make things work > >> again? Or > >> is the slow, emulated storage device triggering a bug in the new > >> script? > > > > Hi, I recently discovered the same problem on an IoT2050. > > I'm really asking my self if we should continue with our own > > implementation of expand-on-first-boot. We almost always had bugs in > > this recipe which shows that this is definitely not something > > trivial. But it is still a critical part of the infrastructure. > > > > IIRC the only reason for not using systemd-repart was the lack of > > backward compatibility for Debian stretch. Why not simply split the > > recipe into the old version for old distros and systemd-repart for > > new ones. > > It was more complicated than that, see the discussion around it. > > First of all, we quickly need to restore to the working state now - or > fix this new issue. Fix is on the way. Tobias Schaffner has a fix and we already did a first "talking about it" review round. I could repro on a raspbi as well, but seems Tobias was faster. Stay tuned. Henning > Jan >