All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: linux-f2fs-devel@lists.sourceforge.net
Subject: [f2fs-dev] [Bug 210795] fsck.f2fs - 1.14.0 - error when not /dev/vgXX/lvYYY path provided - [ASSERT] (init_sb_info:1017) !strcmp((char *)sb->devs[i].path, (char *)c.devices[i].path)
Date: Mon, 21 Dec 2020 01:18:21 +0000	[thread overview]
Message-ID: <bug-210795-202145-qeOfe8HDG4@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-210795-202145@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=210795

Chao Yu (chao@kernel.org) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |chao@kernel.org

--- Comment #1 from Chao Yu (chao@kernel.org) ---
> Info: Device[0] : /dev/vgftp1a/VIRTUALa blkaddr = 0--13fffff
> Info: [/dev/vgftp1b/VIRTUALb] Disk Model: SanDisk SDSSDXPS
> Info: Device[1] : /dev/vgftp1b/VIRTUALb blkaddr = 1400000--27fffff

You can see that in f2fs superblock, we record original paths of multipath
instead of paths symlinks point to, when you use fsck.f2fs /dev/xxx to check
multiple devices of f2fs image, fsck can only compare paths stored in
superblock with parameters we passed, otherwise it will trigger ASSERT warning.

So we can only use

fsck.f2fs  --dry-run /dev/vgftp1a/VIRTUALa

to check f2fs image, rather than using

fsck.f2fs  --dry-run /dev/dm-15

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

  reply	other threads:[~2020-12-21  1:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-20  5:28 [f2fs-dev] [Bug 210795] New: fsck.f2fs - 1.14.0 - error when not /dev/vgXX/lvYYY path provided - [ASSERT] (init_sb_info:1017) !strcmp((char *)sb->devs[i].path, (char *)c.devices[i].path) bugzilla-daemon
2020-12-21  1:18 ` bugzilla-daemon [this message]
2023-09-29 14:51 ` [f2fs-dev] [Bug 210795] " bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-210795-202145-qeOfe8HDG4@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=linux-f2fs-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.