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/simple; d=kernel.org; s=k20201202; t=1732916373; bh=MB3dNFdbbHOiAY/0aT2lp/YWhHcJ2TKGouDbFG8yO9o=; h=Date:From:To:Subject:References:In-Reply-To:From; b=AHtMUm5nCzc8uh3RI+YxHvGxHXKbtQmBzlNjL2arUMklSVkSKm8G6J7/z2hy7OIZy 3Vj3RVR98pAKJrkp/WhcUTZDDBXhzCyimw/rMQtv3x+FbH8d+hy3r25JsSJSedn0jt nB3lmF4bLOTE907zrg4Z02A9KlbgxGijYxNJPtqEMQFrT3oi9PDi96DFqwVYlE361V uoobbtoTUGyOoVKpj6AeDHjm30+Zx/Z200vHCNhXRGz6BCDbe0oI4uA2x+pTIaiCNY uTRSQPLMaI/vs2tsMWwDtbtPvJxuh/km7dmkuVPZ6dA3KH8/AFyqZlUYgKs9an3Klb HHiKsH0fQNEFg== Date: Fri, 29 Nov 2024 22:39:29 +0100 From: Alexey Gladkov To: make-initrd@lists.altlinux.org Message-ID: References: <73534df6-1402-4775-917e-015095c0ab8a@basealt.ru> <0a970589-62c2-4811-b268-db4283082095@basealt.ru> <383e0064-3633-4410-bc86-4035084e4260@basealt.ru> <4278e9d1-9468-49fa-a23d-4415d3a4ec6c@basealt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4278e9d1-9468-49fa-a23d-4415d3a4ec6c@basealt.ru> 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 21:39:37 -0000 Archived-At: List-Archive: On Fri, Nov 29, 2024 at 11:10:46PM +0300, Антон Мидюков wrote: > 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 работает. Отлично. Запушил в for-master исправление. https://github.com/osboot/make-initrd/commit/72281f227d0e95e36cd4933996eea2a2d843a050 -- Rgrds, legion