You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have issues creating an encrypted disk and mounting it with current master.
I have build bcachefs without acl, quota, etc. but with debuging activated.
any hints how I can debug encryption?
Is encrpytion ready at all?
The text was updated successfully, but these errors were encountered:
Kernel 5.4.28
bachefs version f858cdd
bcachefs-tools version 096f2ec00ed6165894aa3218fa5a7ab7a6c3c9e1
`
msowka@homeserver:/$ sudo bcachefs format --encrypted --errors=remount-ro --gc_reserve_bytes=40000000 --label=bcachefs /dev/sd[he]
[sudo] Passwort für msowka:
Enter passphrase:
Enter same passphrase again:
/dev/sdh contains a btrfs filesystem labelled 'new'
Proceed anyway? (y,n) y
External UUID: a2feb5ce-7d1e-449a-b3fd-b9aaf32c1ed8
Internal UUID: 123a3af5-6971-45b1-8a7b-0e3f9d905cb4
Label: bcachefs
Version: 10
Created: Wed Mar 25 17:06:11 2020
Block_size: 4.0K
Btree node size: 256.0K
Error action: remount-ro
Clean: 0
Features:
Metadata replicas: 1
Data replicas: 1
Metadata checksum type: crc32c (1)
Data checksum type: crc32c (1)
Compression type: none (0)
Foreground write target: none
Background write target: none
Promote target: none
String hash type: siphash (2)
32 bit inodes: 0
GC reserve percentage: 8%
Root reserve percentage: 0%
Devices: 2 live, 2 total
Sections: members,crypt
Superblock size: 936
Members (size 120):
Device 0:
UUID: 5e7bad86-d1f3-4f06-8ebd-bdf89058c7a3
Size: 10.9T
Bucket size: 512.0K
First bucket: 0
Buckets: 22888447
Last mount: (never)
State: readwrite
Group: (none)
Data allowed: journal,btree,data
Has data: (none)
Replacement policy: lru
Discard: 0
Device 1:
UUID: 795590e7-aeed-4e89-b422-2e18f7a4c3f7
Size: 10.9T
Bucket size: 512.0K
First bucket: 0
Buckets: 22888448
Last mount: (never)
State: readwrite
Group: (none)
Data allowed: journal,btree,data
Has data: (none)
Replacement policy: lru
Discard: 0
msowka@homeserver:/$ sudo bcachefs unlock /dev/sdh
Enter passphrase:
msowka@homeserver:/$ sudo bcachefs unlock /dev/sde
Enter passphrase:
msowka@homeserver:~/bcachefs/bcachefs-tools$ sudo mount -t bcachefs /dev/sdh:/dev/sde /mnt/bcachefs/
[sudo] Passwort für msowka:
mount: /mnt/bcachefs: mount(2) system call failed: Nicht genügend Hauptspeicher verfügbar. #### Not enough RAM
sudo dmesg
#################
[ 7373.686888] bcachefs (a2feb5ce-7d1e-449a-b3fd-b9aaf32c1ed8): error requesting encryption key: -126
`
I have issues creating an encrypted disk and mounting it with current master.
I have build bcachefs without acl, quota, etc. but with debuging activated.
any hints how I can debug encryption?
Is encrpytion ready at all?
The text was updated successfully, but these errors were encountered: