Comment 77 for bug 1861941

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

VERIFICATION FOR FOCAL:

(k)rafaeldtinoco@bcachefocal:~$ apt-cache policy bcache-tools
bcache-tools:
  Installed: (none)
  Candidate: 1.0.8-3ubuntu0.1
  Version table:
     1.0.8-3ubuntu0.1 500
        500 http://br.archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages
     1.0.8-3 500
        500 http://br.archive.ubuntu.com/ubuntu focal/main amd64 Packages

(k)rafaeldtinoco@bcachefocal:~$ apt-get install bcache-tools

(k)rafaeldtinoco@bcachefocal:~/scripts$ sudo ./test-bcache.sh
/mnt is not a mountpoint
/dev/bcache0: 2 bytes were erased at offset 0x00000438 (ext4): 53 ef
writing 1 to /sys/class/block/bcache0/bcache/stop
writing 1 to /sys/fs/bcache/6fcbc055-be04-4527-9c73-788c2419b292/stop
/dev/vdc: 16 bytes were erased at offset 0x00001018 (bcache): c6 85 73 f6 4e 1a 45 ca 82 65 f5 7f 48 ba 6d 81
10+0 records in
10+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 0.0204717 s, 512 MB/s
/dev/vdb: 16 bytes were erased at offset 0x00001018 (bcache): c6 85 73 f6 4e 1a 45 ca 82 65 f5 7f 48 ba 6d 81
10+0 records in
10+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 0.0092515 s, 1.1 GB/s
UUID: 73cc1c6f-ded6-4874-b76a-465408cfbd19
Set UUID: a2400c1f-e83b-4086-a58d-0b2ebba97a9c
version: 0
nbuckets: 2048
block_size: 1
bucket_size: 1024
nr_in_set: 1
nr_this_dev: 0
first_bucket: 1
UUID: 5f51a399-d65d-49ec-af3b-6b2b28c39605
Set UUID: a2400c1f-e83b-4086-a58d-0b2ebba97a9c
version: 1
block_size: 1
data_offset: 16
/dev/vdc
tee: /sys/fs/bcache/register: Invalid argument
/dev/vdb
tee: /sys/fs/bcache/register: Invalid argument
total 0
drwxr-xr-x 2 root root 60 Aug 5 21:12 .
drwxr-xr-x 3 root root 60 Aug 5 21:12 ..
lrwxrwxrwx 1 root root 13 Aug 5 21:12 5f51a399-d65d-49ec-af3b-6b2b28c39605 -> ../../bcache0
Creating filesystems on bcache0
mke2fs 1.45.5 (07-Jan-2020)
Discarding device blocks: done
Creating filesystem with 2621438 4k blocks and 655360 inodes
Filesystem UUID: 1b609131-52ca-43f7-96b2-4dc931f2553f
Superblock backups stored on blocks:
 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done

mounting bcache0 to /mnt
total 0
drwxr-xr-x 2 root root 60 Aug 5 21:12 .
drwxr-xr-x 3 root root 60 Aug 5 21:12 ..
lrwxrwxrwx 1 root root 13 Aug 5 21:12 5f51a399-d65d-49ec-af3b-6b2b28c39605 -> ../../bcache0
Everything OK

All good!