From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 790A1C433DB for ; Wed, 31 Mar 2021 01:42:01 +0000 (UTC) Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2AFF1619A7; Wed, 31 Mar 2021 01:42:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2AFF1619A7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-f2fs-devel-bounces@lists.sourceforge.net Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.92.3) (envelope-from ) id 1lRPrr-000500-SF; Wed, 31 Mar 2021 01:41:59 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1lRPrq-0004zs-Hi for linux-f2fs-devel@lists.sourceforge.net; Wed, 31 Mar 2021 01:41:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=L8n/4VUQWUJV9mlWkoYEQtZDlHeNpagA4+aAv8cqMpE=; b=WGzqJsVYBqbzNnUEiLd1yiHtbf PnK2gFcD5aXdsbuaBB+8MCABkLA3QR4GMOZPPsN69nUSmQIWB8iHxt9Un8iOsOZnqHYBgDal+G0Wg X74qDY8Jh6cE1MD9VcHY+z8qb+NM399ZwMCEMUkJVfnRJbdYBPlyGFiOSwah0AYjsGFE=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=L8n/4VUQWUJV9mlWkoYEQtZDlHeNpagA4+aAv8cqMpE=; b=VYC5SfH9vRQ4L02lGF0GVojtBs a3ufIC5+DGzb94JtDfkuUC9JclmzShF7dfYKDQ1bKmwcN0/lQfNEL9KzhdrU9XnL6o8FHXTqVnx3+ mF7DGpwCs0VjUoGhKmYsCfJ2UB8aT0RKP5C1lhuz5L37K2Pv/Wmiek3R4ZMcdCjoZQPM=; Received: from mail.kernel.org ([198.145.29.99]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) id 1lRPrl-0008HS-Pz for linux-f2fs-devel@lists.sourceforge.net; Wed, 31 Mar 2021 01:41:58 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4411A61990; Wed, 31 Mar 2021 01:41:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617154908; bh=1iV7Un/LyXW7x1IqRqmyRILuAsTcNZQ7cBPPjEp8LTQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fjBQmk78My24+94/O2s7QtVs3OgobmGfkJPN9EC2isKu7tut0ickGnb6z/s6yy/pf BA9sQkC594JOw7CQ713+isbA0/oIty1/B25Nzel1SfgdrjCIfjbeX7IZwgc6n1uVgR kuK0E2WCJXD85NRH5VmVWIcE6cfI95uZmRJCKcX1ZbuhDc24r9/rJcXyyOFtOalpsf ANZhGGxwzGEqWLKCmnXItEvHn/wutxKqqwt4nJ89U+vCW6cAv0dCHqzCKVYrKxrlX6 kyWF4kOsTm/zNPn6OKkQJUdVYqPg5/9rgJgR0Lonlb+CMOIqE3z5uGZoSocXKmSF7G ydJ+HFCUyREVA== Date: Tue, 30 Mar 2021 18:41:46 -0700 From: Jaegeuk Kim To: beroal Message-ID: References: <739ae455-07b4-7dc4-1789-5b162ed25ede@beroal.in.ua> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Headers-End: 1lRPrl-0008HS-Pz Subject: Re: [f2fs-dev] `mount` reports an error, but `fsck.f2fs` does not X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-f2fs-devel@lists.sourceforge.net Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net Hi, On 03/27, beroal wrote: > Ping. > = > On 20.03.21 00:46, beroal wrote: > > Hi. After I extended a partition containing F2FS with a recent version > > of Gparted, the partition no longer mounts. `mount` reports an error, > > but `fsck.f2fs` does not see any problem (well, except for `Invalid CP > > CRC offset: 0`) and does not fix the file system. > > = > > ``` > > losetup /dev/loop0 arch-os.img > > mount -t f2fs -o ro /dev/loop0 /root/mnt/temp > > ``` > > = > > ``` > > [ 6890.647749] F2FS-fs (loop0): Wrong valid_user_blocks: 16040048, > > user_block_count: 10016768 > > [ 6890.647808] F2FS-fs (loop0): Failed to get valid F2FS checkpoint > > ``` > > = > > ``` > > losetup -d /dev/loop0 > > fsck.f2fs arch-os.img May I ask run this? # fsck.f2fs -d 3 arch-os.img? Thanks, > > ``` > > = > > ``` > > Info: Segments per section =3D 1 > > Info: Sections per zone =3D 1 > > Info: sector size =3D 512 > > Info: total sectors =3D 162916352 (79549 MB) > > Info: MKFS version > > =A0 "Linux version 4.4.1-2-ARCH (builduser@foutrelis) (gcc version 5.3.0 > > (GCC) ) #1 SMP PREEMPT Wed Feb 3 13:12:33 UTC 2016" > > Info: FSCK version > > =A0 from "Linux version 5.7.12-arch1-1 (linux@archlinux) (gcc version > > 10.1.0 (GCC), GNU ld (GNU Binutils) 2.34.0) #1 SMP PREEMPT Fri, 31 Jul > > 2020 17:38:22 +0000" > > =A0=A0=A0 to "Linux version 5.11.7-arch1-1 (linux@archlinux) (gcc (GCC) > > 10.2.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Wed, 17 Mar 2021 > > 16:59:58 +0000" > > Info: superblock features =3D 0 : > > Info: superblock encrypt level =3D 0, salt =3D > > 00000000000000000000000000000000 > > Info: total FS sectors =3D 162916352 (79549 MB) > > =A0=A0=A0 Invalid CP CRC offset: 0 > > Info: CKPT version =3D a14d4c > > Info: Checked valid nat_bits in checkpoint > > Info: checkpoint state =3D 81 :=A0 nat_bits unmount > > = > > [FSCK] Unreachable nat entries=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 [Ok..] [0x0] > > [FSCK] SIT valid block bitmap checking=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 [Ok..] > > [FSCK] Hard link checking for regular file=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 [Ok..] [0x719] > > [FSCK] valid_block_count matching with CP=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 [Ok..] [0xf4c070] > > [FSCK] valid_node_count matching with CP (de lookup)=A0 [Ok..] [0xe242a] > > [FSCK] valid_node_count matching with CP (nat lookup) [Ok..] [0xe242a] > > [FSCK] valid_inode_count matched with CP=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 [Ok..] [0xe0470] > > [FSCK] free segment_count matched with CP=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 [Ok..] [0x1d6b] > > [FSCK] next block offset is free=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0 [Ok..] > > [FSCK] fixing SIT types > > [FSCK] other corrupted bugs=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 [Ok..] > > = > > Done: 14.100000 secs > > ``` > > = > > Can I fix this file system and how? > > = > > f2fs-tools 1.14.0 > > = > > = > > = > > _______________________________________________ > > Linux-f2fs-devel mailing list > > Linux-f2fs-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel > = > = > _______________________________________________ > Linux-f2fs-devel mailing list > Linux-f2fs-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel