public inbox for linux-bcachefs@vger.kernel.org
 help / color / mirror / Atom feed
* fsck: bch2_parse_mount_opts() Bad mount option read_only
@ 2024-01-14 23:55 Alec Moskvin
  2024-01-16 16:31 ` Kent Overstreet
  0 siblings, 1 reply; 2+ messages in thread
From: Alec Moskvin @ 2024-01-14 23:55 UTC (permalink / raw)
  To: linux-bcachefs

On Linux 6.7.0 with the latest bcachefs-tools 1.4.0, I get an error when 
trying to run fsck:

    bcachefs fsck -v /dev/sda3
    bch2_parse_mount_opts() Bad mount option read_only

If I try a newer git revision of bcachefs-tools, it works but does an 
upgrade of the fs version:

    bcachefs fsck /dev/sda3
    mounting version 1.3: rebalance_work opts=ro,compression=zstd:15,degraded,verbose,fsck,fix_errors=ask,read_only
    recovering from clean shutdown, journal seq 116268
    Doing compatible version upgrade from 1.3: rebalance_work to 1.4: member_seq 

and then when I mount it, it downgrades:

    [Jan14 11:06] bcachefs (sda3): mounting version 1.4: (unknown version) opts=compression=zstd:15
    [  +0.000016] bcachefs (sda3): recovering from clean shutdown, journal seq 116272
    [  +0.000003] bcachefs (sda3): Version downgrade required:
    
    [  +0.200171] bcachefs (sda3): alloc_read... done

Is there a correspondence between the kernel and bcachefs-tools 
versions? I.e., should bcachefs-tools 1.3.6 be used until a kernel with 
bcachefs 1.4 is released?

Thanks,
Alec

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-16 16:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-14 23:55 fsck: bch2_parse_mount_opts() Bad mount option read_only Alec Moskvin
2024-01-16 16:31 ` Kent Overstreet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox