Grapple4139

bcachefs Mount Error

Sep 8th, 2023 (edited)
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.88 KB | Software | 0 0
  1. # Attempt to Format and Mount bcachefs-formatted USB
  2.  
  3. ```shell
  4. ~
  5. 󰁽 4% ❯ lsblk
  6. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
  7. sda 8:0 0 931.5G 0 disk
  8. ├─sda1 8:1 0 512M 0 part /boot
  9. └─sda2 8:2 0 931G 0 part
  10. └─crypted 254:0 0 931G 0 crypt
  11. ├─vg-swap 254:1 0 16G 0 lvm [SWAP]
  12. └─vg-nixos 254:2 0 915G 0 lvm /nix/store
  13. /
  14. sdb 8:16 0 59.6G 0 disk
  15. sr0 11:0 1 1024M 0 rom
  16.  
  17. ~
  18. 󰁽 4% ❯ sudo bcachefs format --label=sandisk64G --compression=lz4 --encrypted --force /dev/sdb
  19. Enter passphrase:
  20. Enter same passphrase again:
  21. External UUID: 5bb000ed-f5fc-468e-93db-492a2fc3b309
  22. Internal UUID: a06e4777-483b-4d85-829e-2eb0a5dc3b55
  23. Device index: 0
  24. Label:
  25. Version: snapshot_trees
  26. Oldest version on disk: snapshot_trees
  27. Created: Fri Sep 8 16:05:17 2023
  28. Sequence number: 0
  29. Superblock size: 936
  30. Clean: 0
  31. Devices: 1
  32. Sections: members,crypt,disk_groups
  33. Features: new_siphash,new_extent_overwrite,btree_ptr_v2,extents_above_btree_updates,btree_updates_journalled,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes
  34. Compat features:
  35.  
  36. Options:
  37. block_size: 512 B
  38. btree_node_size: 256 KiB
  39. errors: continue [ro] panic
  40. metadata_replicas: 1
  41. data_replicas: 1
  42. metadata_replicas_required: 1
  43. data_replicas_required: 1
  44. encoded_extent_max: 64.0 KiB
  45. metadata_checksum: none [crc32c] crc64 xxhash
  46. data_checksum: none [crc32c] crc64 xxhash
  47. compression: none [lz4] gzip zstd
  48. background_compression: [none] lz4 gzip zstd
  49. str_hash: crc32c crc64 [siphash]
  50. metadata_target: none
  51. foreground_target: none
  52. background_target: none
  53. promote_target: none
  54. erasure_code: 0
  55. inodes_32bit: 1
  56. shard_inode_numbers: 1
  57. inodes_use_key_cache: 1
  58. gc_reserve_percent: 8
  59. gc_reserve_bytes: 0 B
  60. root_reserve_percent: 0
  61. wide_macs: 0
  62. acl: 1
  63. usrquota: 0
  64. grpquota: 0
  65. prjquota: 0
  66. journal_flush_delay: 1000
  67. journal_flush_disabled: 0
  68. journal_reclaim_delay: 100
  69. journal_transaction_names: 1
  70. nocow: 0
  71.  
  72. members (size 64):
  73. Device: 0
  74. UUID: 436db131-e7d8-46ac-9210-13be59b6cc52
  75. Size: 59.6 GiB
  76. Bucket size: 256 KiB
  77. First bucket: 0
  78. Buckets: 244202
  79. Last mount: (never)
  80. State: rw
  81. Label: sandisk64G (0)
  82. Data allowed: journal,btree,user
  83. Has data: (none)
  84. Discard: 0
  85. Freespace initialized: 0
  86.  
  87. ~ took 16s
  88. 󰁽 4% ❯ sudo bcachefs unlock /dev/sdb
  89. Enter passphrase:
  90.  
  91. ~ took 6s
  92. 󰁽 4% ❯ sudo bcachefs mount -v /dev/sdb ~/USB/
  93. INFO - bcachefs_rust::key: checking if key exists for filesystem 5bb000ed-f5fc-468e-93db-492a2fc3b309
  94. Enter passphrase:
  95. INFO - bcachefs_rust::cmd_mount: mounting with params: device: /dev/sdb, target: /home/r0b0ty/USB/, options:
  96. DEBUG - bcachefs_rust::cmd_mount: parsing mount options:
  97. INFO - bcachefs_rust::cmd_mount: mounting bcachefs filesystem, /home/r0b0ty/USB/
  98. INFO - bcachefs_rust::cmd_mount: mounting filesystem
  99. ERROR - bcachefs_rust::cmd_mount: Fatal error: No such device
  100.  
  101. ~ took 7s
  102.  
  103. 󰁽 4% ❯ sudo mount -t bcachefs /dev/sdb ~/USB/
  104. ERROR - bcachefs_rust::cmd_mount: Fatal error: No such device
  105.  
  106. ~ took 3s
  107. ```
  108.  
Tags: bcachefs
Advertisement
Add Comment
Please, Sign In to add comment