From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=basealt.ru; s=dkim; t=1732911047; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZV/VTyMGmPDj7FzBdLhWQi9O8/IVnL3yxiDmBacL0+A=; b=P2TZedEejqulIqetmF+uGW8biJBTPyT6FbQsUY3hh5fFHqO2dzR6ZDAHc8fWiRElvdgGIT QCwv39iC8t4S54Ec/CEVielBM49ObvzDxunKvH4EGtBoqKbWSS6ClwbBn7C420BPBsnI25 /KkcvvUvHTX/svx5DRHd9lmEKi7Udj8p/pZGTYionktdcOPFcZAJd+7esRB8/wdEKRVtYN Z3/ZxisBGqohZ2jdlBS5T8EuFDdlTxK2qpQ7zFiCKr1p1cBT/V0tGTCdZ52wgyxS60Lsy4 hdjoi3PkGRBsm+0yDS77wYBeYYJ31k2sOpAtseqHGKB0tFikrzGeyr1oA6cwJQ== Message-ID: <4278e9d1-9468-49fa-a23d-4415d3a4ec6c@basealt.ru> Date: Fri, 29 Nov 2024 23:10:46 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: make-initrd@lists.altlinux.org References: <631122a2-0586-4e1d-b181-9a130075349d@basealt.ru> <73534df6-1402-4775-917e-015095c0ab8a@basealt.ru> <0a970589-62c2-4811-b268-db4283082095@basealt.ru> <383e0064-3633-4410-bc86-4035084e4260@basealt.ru> Content-Language: ru From: =?UTF-8?B?0JDQvdGC0L7QvSDQnNC40LTRjtC60L7Qsg==?= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [make-initrd] =?utf-8?b?0KDQsNGB0YjQuNGA0LXQvdC40LUg0YDQsNC30LQ=?= =?utf-8?b?0LXQu9CwINGBINC60L7RgNC90LXQvA==?= X-BeenThere: make-initrd@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: make-initrd@lists.altlinux.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Nov 2024 20:10:50 -0000 Archived-At: List-Archive: 29.11.2024 22:00, Alexey Gladkov пишет: > On Fri, Nov 29, 2024 at 09:13:39PM +0300, Антон Мидюков wrote: >>>>> Понятно. Это общая проблема: >>>>> >>>>> Из kicstart_not_resizefs.txt: >>>>> >>>>> ++ e2fsck -yf /dev/mmcblk1p2 >>>>> e2fsck 1.47.1 (20-May-2024) >>>>> Pass 1: Checking inodes, blocks, and sizes >>>>> Pass 2: Checking directory structure >>>>> Pass 3: Checking directory connectivity >>>>> Pass 4: Checking reference counts >>>>> Pass 5: Checking group summary information >>>>> /dev/mmcblk1p2: 36511/263472 files (0.3% non-contiguous), 603579/1051904 blocks >>>>> ++ resize2fs /dev/mmcblk1p2 >>>>> resize2fs 1.47.1 (20-May-2024) >>>>> Please run 'e2fsck -f /dev/mmcblk1p2' first. >>>>> >>>>> ++ ret=1 >>>>> ++ return 1 >>>>> >>>>> >>>>> Из kicstart_resizefs_success.txt: >>>>> >>>>> ++ e2fsck -yf /dev/mmcblk1p2 >>>>> e2fsck 1.47.1 (20-May-2024) >>>>> Pass 1: Checking inodes, blocks, and sizes >>>>> Pass 2: Checking directory structure >>>>> Pass 3: Checking directory connectivity >>>>> Pass 4: Checking reference counts >>>>> Pass 5: Checking group summary information >>>>> /dev/mmcblk1p2: 36535/263472 files (0.3% non-contiguous), 605515/1051904 blocks >>>>> ++ resize2fs /dev/mmcblk1p2 >>>>> resize2fs 1.47.1 (20-May-2024) >>>>> Resizing the filesystem on /dev/mmcblk1p2 to 7567872 (4k) blocks. >>>>> The filesystem on /dev/mmcblk1p2 is now 7567872 (4k) blocks long. >>>>> >>>>> ++ return 0 >>>>> >>>> >>>> А что можно с этим поделать? >>> >>> Я запушил в for-master исправление. Теперь должно работать. >>> >>> https://github.com/osboot/make-initrd/commit/932f55f062e6cf7f7355b61c4da99d85f664b487 >>> >> >> Не помогло. >> >> ++ printf '%s\n' 'kickstart: Increase filesystem to partition size: /dev/mmcblk1p2' >> kickstart: Increase filesystem to partition size: /dev/mmcblk1p2 >> ++ case "$fs" in >> ++ e2fsck -y -p -f /dev/mmcblk1p2 >> /dev/mmcblk1p2: 36511/263472 files (0.3% non-contiguous), 603585/1051904 blocks >> ++ '[' 0 -le 2 ']' >> ++ resize2fs /dev/mmcblk1p2 >> resize2fs 1.47.1 (20-May-2024) >> Please run 'e2fsck -f /dev/mmcblk1p2' first. >> >> ++ ret=1 >> ++ return 1 >> + rc=1 > > Хм. А вот это неожиданно. Тогда думаю нужно делать resize2fs -f . > Если добавить -f будет работать ? > Да. С -f работает. -- С уважением, Антон Мидюков