From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7173333086179950592 X-Received: by 2002:a2e:9ec9:0:b0:279:c19f:a6d with SMTP id h9-20020a2e9ec9000000b00279c19f0a6dmr11545735ljk.37.1670513714540; Thu, 08 Dec 2022 07:35:14 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:651c:1722:b0:26c:56b2:1383 with SMTP id be34-20020a05651c172200b0026c56b21383ls958990ljb.4.-pod-prod-gmail; Thu, 08 Dec 2022 07:35:13 -0800 (PST) X-Google-Smtp-Source: AA0mqf5KgaxhUKxMAsQe9SzX+Qp4W4OfBIjuyvBhvaVW2XRE3B9H+FhWWtaro1WAacBlV8wsiuNT X-Received: by 2002:a2e:b8c6:0:b0:277:1c60:fded with SMTP id s6-20020a2eb8c6000000b002771c60fdedmr789942ljp.9.1670513713133; Thu, 08 Dec 2022 07:35:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1670513713; cv=pass; d=google.com; s=arc-20160816; b=VxZvJsOGpSj+1VojmV2+Cc4bzj34O+smDdSmQbyxyPvAx5dUx3NQCX2mJYeD/kCMcm 59df5nPLTwJ48+RwKbvpa9qLJSGHy8/2oFi86WY/qZX/lAdoUPFYED3haVb4nYAMYl+H TAOhiraupVBYRdLfnK5eO+UQ1AAGcDNkBOM9EnGCY6jfKdiLshGUmYIYV0cNXi2Jb4oF Yo088IhOvbHV17sjrAONQWqdrTvviLYsn6nLz+F7e5jz4/MHHDbU0LFtYo61qKqYFpMO EZ9tOIgHi+nn38iiD1nv1yke8TaD+E7uct00wMTFDFIkqKotfPwG5x1qGZ/5v0O2mn3I YYpA== 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=WFmmxcyAGyHSB9TxMBT58CyyP5FWOXkyzRWLT1ucZFA=; b=KgKWtvWLlerVRynOMM7N1dQXL/yE66sKbdAMnJfc8/ncJCVgLuXBeypNUdZjVyRHaJ fTzIAU+KrSGRALesbXiUo2TOWdm+FEC59FcwinofKJbzsAWkFcGv1Ga49M4LN9jhFGJA YrHYcVnJj6l1sve3q7xYjgWAB8p/rpIbvQ+BEiu/pPxIQpj72KXAjsnh4sGTd7XVd1Mc hJVnAtZCOJ1oeC43jmLrd5wdOhd9SM/Bzi7RxOlOWK2j2mQWskI6LxAsfkW3+z9L/qK/ 1bynTZrbEqUkbtS+j80xQx5BQuFEbt+Ai6p7133sb7eEaag9NULTENikoidnd1OL/tx3 TrPQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=X0Rt5l1T; 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.22.50 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 EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2050.outbound.protection.outlook.com. [40.107.22.50]) by gmr-mx.google.com with ESMTPS id bd23-20020a05651c169700b0027974eb1dc3si1078801ljb.7.2022.12.08.07.35.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Dec 2022 07:35:13 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 40.107.22.50 as permitted sender) client-ip=40.107.22.50; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=X0Rt5l1T; 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.22.50 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=brYh4s1kzjho7xaOVKkbdLD48ZvPWtmJZr2zvJZGL9x2xhJqKFLLKZLN6mO+OwqqrKBuwrkywxTn70UP6hVqPLb18OF7dnrRXYOAt3aUfUr/0/Fv6nhbGL6U0ERSQWSCDgYGeBXHYJLwiA0wbHnm6Y5Ju/tGg1ymZ+uHN1tsy/4wTyV9X6RkI04OC4fT8gCce7S+YYmRQsg1cOTZlr/6wlAxhLDuCTvMAzTKfW/m4Yft9k4KeMxM+bhUH7sYUQtRoften9DZxCq8TZXgad5L/aVf8QaN8PBe/3vHeRn8leSW9MC+JOEVZloPJoOnKZMsAfvBbU/9xK+PQhy6fPc1HA== 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=WFmmxcyAGyHSB9TxMBT58CyyP5FWOXkyzRWLT1ucZFA=; b=irZlRVShWD/jDuqPJT82owPOhjV3Z9NH056dUUyKFbiO8Q/oE68unTESc+VbS1zmz05PE5OvPcVuz2urEbkI0pWOho35l/6vkJibUxIZkPIb8hZuDqJDnyieY+OEO6L2LioIAf1Vx2q2splqtP6od9/3b59jVmvhNiqY/Du1q0C/YGNUKyj2AJvQaYZLZVUsMQieiIe7J51e/QQbkt25F6ddl4+Z2B1cY4VsVJgjIK/4fd8pwdQHK0O+lL2Q/ZdwXJvsf6p1XTQ5lutVBFAk2spKGmHa4+tF6WnZZdhsprnrEqQeMJvCxYAsNtvua9xCyFNvceH1OXu1H5OuAKgPPg== 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=WFmmxcyAGyHSB9TxMBT58CyyP5FWOXkyzRWLT1ucZFA=; b=X0Rt5l1TdpBkvcivs2MOxi+vebqUSDMrYYGULcf+IyoGa3x+5p1aYBQ3ZPV8PLX90asmizYusyOeVh95OhKbbAYZgc0qDBrv/VywQvEU0SEVSGReDsrNFEJdJdm6IVGsY9kkKeqSTK5Mh05JYI7wfSm6+dI0OJcKvp4eka2xQu32MH4kK6Empy0yaUcH4BOdUCj2yUUqHy03W5vSnTBpzG98nBTFz3Jzvz0CngO52EReKNw5L8lFHLhkrnooJ2a88MK6sHvdJzgLca8Hdz+4IwoMCZLrsReCj90mlgQwT0M+//T0gjPSb4ankn5F1xX9IukT78AwUk1gLv/EocKaQQ== 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 AS8PR10MB7427.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:5ab::22) 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:35:11 +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:35:10 +0000 Date: Thu, 8 Dec 2022 16:35:02 +0100 From: Henning Schild To: "Moessbauer, Felix (T CED INW-CN)" Cc: "Schaffner, Tobias (T CED SES-DE)" , "isar-users@googlegroups.com" , "Kiszka, Jan (T CED)" Subject: Re: expand-on-first-boot failure Message-ID: <20221208163502.7f3fc148@md1za8fc.ad001.siemens.net> In-Reply-To: <151b0bec5767bf7064848585f206864ecf306f45.camel@siemens.com> References: <8512db95-6e08-60ba-191f-e821e710f74d@siemens.com> <151b0bec5767bf7064848585f206864ecf306f45.camel@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: CH0P221CA0021.NAMP221.PROD.OUTLOOK.COM (2603:10b6:610:11c::17) 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_|AS8PR10MB7427:EE_ X-MS-Office365-Filtering-Correlation-Id: fdaa10a8-1314-4542-40c8-08dad931ca86 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: rys2e9hMvwFCKdkPx3KvuobPQGbTGmRO4ZSCS9oqqn/tMM0P+oCaTO/mOGlm7fbQPPYY0AlzCqlr1mqxObkbVBqHW+AB+pXUxmskCS+vodz6o0Bj4jdXFVcqiVB5Qiuj2n/kxxWso3Whlt7iy6gzbEE/Ej23ElTVe1JDJOE7Tc8r1xh5ndrjKOKwTE4ZHOgTYEc7cLiLFu/4RfdYolRhr7nx6Fh6k2/glnftxvEL5a8H1/qEgjD/gUm8/FAQgZP5KyD2nQHzrwIotzxeuA12VF7z4Ipg6VeViULIUCgH9GxI7Dkua0UKEqFHeaCa6oS1Ijtpg3Yb/M/BiizOQSwSGAxjW2PgKEVToOxgJZe6zt8yWLSlJ6Zvy5UujUni69cpVAW3JEVn9faUjgqM6q52xPOauTFgWVF4bzVH6R+3tkUeX0anQWxQ5ls7BIxQU/vDX043Ce9OEjYUJifgeWTtZzGfs9rWYcJ/YoQQADWINMwHk9Db837dgjXrHfpJl1Lwo8Kz1q5bv4NXom5ee631G/1lULCfs+vKV3gqtGm+Bp6lSXYzySVqf/CdLo86IK/fDwSIGh5HVS14BTolGEBY+heW5pvO0C9Rm9xyyW8nRowq500vZf4tLv+ujl90L01sIF+6DXT5TUlkwYar1zQURQ== 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)(396003)(376002)(346002)(366004)(39860400002)(136003)(451199015)(83380400001)(478600001)(3480700007)(8936002)(86362001)(2906002)(38100700002)(5660300002)(6862004)(4326008)(44832011)(9686003)(41300700001)(8676002)(1076003)(6666004)(66476007)(26005)(6506007)(6512007)(186003)(66556008)(107886003)(6636002)(66946007)(6486002)(82960400001)(316002)(54906003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?90lRplcVoRZ4ZGCW+DKYwRlNB4Z6mUg9IdgkW/fTKZzj8bY30as+s741LlNc?= =?us-ascii?Q?1UNuXDhTWoIry7ftjDg/n3X1RvBck/25dmYFcH1ia4OF7Q1CJOX6DgEzmU3a?= =?us-ascii?Q?HiSYGJW4y0rxZA+ZXZfYO4k77TGkwWHQ9IftxN4QvfBqhzgkFy+598ZY8oVn?= =?us-ascii?Q?RC+FFMpgjEm6lTlgGwaiEScilisVxt6RoWukxyTNbVCgLdlZ+i/39DuAT1ON?= =?us-ascii?Q?X4omDGrcays3xGSeb+H2fxKZ+jXzd0fr4VZQviysh/s21IkLR/b6DKyww38V?= =?us-ascii?Q?RJQecu5zhIG9cNT23xhIBvR1Kyxy1LsDTdaCJuU1Lf0XjbRTXbldMF/mwZuC?= =?us-ascii?Q?2/WwW3idu73zId0ICgxGeMSAJfbH7yHn+EvwQ9rGXmvUIPU93Ad3rxcRcySc?= =?us-ascii?Q?mH5IevzFzAMVZnMqeIAIwddomhr1Q9BT1nfZeC7sclSZ65ffVy4+ocrRfdnx?= =?us-ascii?Q?1+4nYX0zonOVTkmgTvjwgNw/TJCR/M1q/Bgj7HRI6MVSUDgc3r0jqp3deGX8?= =?us-ascii?Q?jOWgtYOI68TtzA8ccFRLJRvdz97Hd6u8IPihhPnDWz+UPV6hVC57D99wsJCe?= =?us-ascii?Q?B1Qsy9cJjTsfB/UOBktcH3LrBeE52dmZ5mqLFFgbAUe7d0MTr09MZJidH+M6?= =?us-ascii?Q?ZNycCOC8rB2gNldAdjDElv3EL0VB8+sJB1oh44bSlOgfoojQUx+rOiKKOc5i?= =?us-ascii?Q?Nx8IZz3bD3/ux7w+0wUPZbusR78o82mZK/9/dykUYonDkep/bErx2kdUFINS?= =?us-ascii?Q?p39gLhMIALFjgjofVC1YL6IvewkJMlcGLSiAMfKFU/j4BOVC/VCVOhWEdtA8?= =?us-ascii?Q?g0SSTCqK5W+5uUUXBWcHBjXlhB7ANoribuVf6M1rjHwacDG4vyD4yydIOM2a?= =?us-ascii?Q?Id/F4eRQDsgfQA54Ru/t+meHZWLm6lwtuUYwz+z7TdGhebkEM3htk1qniIyc?= =?us-ascii?Q?vkyoHyTJd2wDOTuaC+Pc2aT9g3D+9Gqu9fVMJE6DT87ojtFgwc4V1M/NoNEQ?= =?us-ascii?Q?1Tt1YrdXKfEk/CyCqhJL103UwDKj6JAk39WOQMEh7ULPHUyOvQ3wis29gJ8J?= =?us-ascii?Q?9p/3Q/bDErulVL1LvuBLgG/15FS5lnIWRDQ8EGQMxeYZDrpQUq0Zoot6EwdL?= =?us-ascii?Q?AMuuO34NeBIRWSD75K42mPGnPqbeNq+8g8Bc/s7cf/5oRUGmE4NZhCOyUuRx?= =?us-ascii?Q?rQ5f3TdgKrZIIOir9tUUDQL8UlHScUPz6UWqNACYadQum7OuRKUDtgwrk2L4?= =?us-ascii?Q?BLnFhw3reLZ6KYKC1dZr3GSXu0mtqJ1ApxUxZAeUXSTxgQjTWhcaU/hWDms4?= =?us-ascii?Q?VYuefaqMtNj9PSbl/6L/zR1aEZokAmbbfzQQQAUhve7LFe/MjaOcPA1H/0Og?= =?us-ascii?Q?RibWsgaF139vo16JmMNrVgvaNLLUIBtLSAqqIzBBUQWwLOOqw4wuLks7oIof?= =?us-ascii?Q?BXaKMjx3ARp8crcfnifC7M475QkiR4OGcCpCy9BZkmwK5p47gq4XfJjcGpd9?= =?us-ascii?Q?UzfZsSUCTZMaLcfYsxjV6XdLH5DPLfMLvVhBHYBEvWPZbeaq9QTeqXDZpOZN?= =?us-ascii?Q?uA9hzjUGs6dJHP8sgsW3BoL/wuVUSudMBc/2xgoHjsAd1r2S87zKsk32Jh1y?= =?us-ascii?Q?sg=3D=3D?= X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: fdaa10a8-1314-4542-40c8-08dad931ca86 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:35:10.3110 (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: WFhYvl6EpnSYVkzzi3wDjsrQXXdqZPPvAEpH07h0OfaluxRtMAUwrRoUWPTZjU6pKTOxmOpn8WdveIEl+gZ6vEtGbCs4yx+izqbuqTdbsZ8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR10MB7427 X-TUID: SnfSK0nhIBTW Am Mon, 5 Dec 2022 02:06:33 +0100 schrieb "Moessbauer, Felix (T CED INW-CN)" : > 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. No it was more complex than that and there should be summary mails somewhere. You can use it but it will be pretty specific and not as generic. You need to drop some bits into fstab, wks and rootfs. rootfs: a snippet that says what you want "grow 100%" and which partition "partition uuid" (the first hit ... ) wks: give your funny partition a funny part uuid and make sure it is the first, maybe a label would work as well fstab: put in the x-systemd.growfs Now you do everything with systemd and simply do not install the isar package. That all seems very powerful and maybe worth trying for a layer. (mdadm ... lvm2 ... what have you) With repart it seems you can not put all into one nice place/package and can not make it generic. That is why we have what we have, you do not have to use it. Henning > Felix > > > > > Jan > > > > -- > > Siemens AG, Technology > > Competence Center Embedded Linux > > >