bcachefs: fsck assert error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I have a bcachefs filesystem with --replicas=2, 2 SSDs serving as the
foreground_target and promote_target in --group=ssd, and 2 SMR drives +
 2 regular drives as the background_target in --group=hdd. 

I'm using the bcachefs kernel and tools in NixOS, which uses:

buildLinux (args // rec {
  version = "4.15.2018.04.14";
  modDirVersion = "4.15.0";
  extraMeta.branch = "master";

  src = fetchgit {
    url = "https://evilpiepirate.org/git/bcachefs.git";;
    rev = "3b7c824e9330a640312fce1b04537c684c1d602c";
    sha256 = "1l5ib28qkhrxggn6zj9b2839543anbxk2ip75yizgzlv9vr5m4pk";
};

as the kernel, and 

stdenv.mkDerivation rec {
  name = "bcachefs-tools-unstable-2018-04-10";

  src = fetchgit {
    url = "https://evilpiepirate.org/git/bcachefs-tools.git";;
    rev = "c598d91dcb0c7e95abdacb2711898ae14ab52ca1";
    sha256 = "1mglw6p1145nryn8babkg2hj778kqa0vrzjbdp9kxjlyb3fksmff";
};

for the tools.

After rebooting, I ran into an unmountable filesystem, running bcachefs
fsck -vp gives a ton of regular fsck output, then errors out:

deleting inode 1391501
deleting inode 1391502
deleting inode 1391503
deleting inode 1391504
deleting inode 1391505
deleting inode 1391506
deleting inode 1391507
deleting inode 1391508
deleting inode 1391509
Saw 388 errors like:
    unreachable directory found (inum 1391191)
fsck done
bcachefs: include/linux/mempool.h:37: mempool_alloc: Assertion
`!(!pool->elem_size)' failed. 

And trying to remount after the fsck gives:

 mount: /opt: wrong fs type, bad option, bad superblock on
/dev/sda:/dev/sdb4:/dev/sdc:/dev/sdd:/dev/sde:/dev/sdf, missing
codepage or helper program, or other error.
 
Is the fix for this included in newer branches? Or any other ideas on
how to recover this? Let me know what other info might be useful for
this.

Thanks,

Mitch
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux