# verification with 5.3 kernel
(k)rafaeldtinoco@drbdtest01:~$ sudo dd if=/dev/zero of=/.loop bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 2.35899 s, 455 MB/s
(k)rafaeldtinoco@drbdtest01:~$ sudo losetup --find --show /.loop
/dev/loop0
# verification with 5.0 kernel
(k)rafaeldtinoco@drbdtest01:~$ sudo dd if=/dev/zero of=/.loop bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 2.25077 s, 477 MB/s
(k)rafaeldtinoco@drbdtest01:~$ sudo losetup --find --show /.loop
/dev/loop0
# verification with v4.15 kernel:
(k)rafaeldtinoco@drbdtest01:~$ sudo dd if=/dev/zero of=/.loop bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 2.25576 s, 476 MB/s
(k)rafaeldtinoco@drbdtest01:~$ sudo losetup --find --show /.loop
/dev/loop0
@rbasak,
## Before my package is installed:
$ dpkg -l drbd-utils | grep RAID
ii drbd-utils 8.9.10-2 amd64RAID 1 over TCP/IP for Linux (user
utilities)
$ sudo losetup --find --show /.loop
/dev/loop0
$ sudo drbdadm create-md r0
initializing activity log
NOT initializing bitmap
Fix works in kernel 5.0 as well:
(k)rafaeldtinoco@drbdfix:~$ sudo dd if=/dev/zero of=/.loop bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.71956 s, 624 MB/s
(k)rafaeldtinoco@drbdfix:~$ sudo losetup --find --show /.loop
/dev/loop0
Thanks for the feedback. I have uploaded the fix:
rafaeldtinoco@workstation:~/.../drbd-utils$ dput ubuntu
../drbd-utils_8.9.10-2ubuntu0.1_source.changes
Checking signature on .changes
gpg: ../drbd-utils_8.9.10-2ubuntu0.1_source.changes: Valid signature from
A93E0E0AD83C0D0F
Checking signature
** Description changed:
[Impact]
* One can't manage drbd resources through drbdadm command after kernel
has been upgraded to 5.3 (latest HWE kernel).
[Test Case]
$ sudo dd if=/dev/zero of=/.loop bs=1M count=1024
$ sudo losetup --find --show /.loop
/dev/loop0
$ cat
PPA: https://launchpad.net/~rafaeldtinoco/+archive/ubuntu/lp1866458
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1866458
Title:
drbd not working after kernel upgrade 5.0.x -> 5.3.x
To
@a1bert: please check PPA and if the fix solves your initial issue if
you can. I'm pretty confident it will as the testcase is simple and I
was able to verify on my side... anyway =). I'll wait launchpad to fix
this small issue to push the merge review into ubuntu-server upload
queue so a
I'm having some issues pushing drbd-utils to my launchpad git repo and
launchpad team is working on it. Meanwhile I'm attaching this bug the
debdiff AND sending source package to a PPA to get reviews and
feedbacks.
--
You received this bug notification because you are a member of Ubuntu
Server,
** Patch added: "drbd-utils_8.9.10-2ubuntu1.debdiff"
https://bugs.launchpad.net/ubuntu/+source/drbd-utils/+bug/1866458/+attachment/5334993/+files/drbd-utils_8.9.10-2ubuntu1.debdiff
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to the bug
After applying the given patch:
(k)rafaeldtinoco@drbdfix:~$ sudo dd if=/dev/zero of=/.loop bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.93099 s, 556 MB/s
(k)rafaeldtinoco@drbdfix:~$ sudo losetup --find --show /.loop
/dev/loop0
** Description changed:
+ [Impact]
+
+ * One can't manage drbd resources through drbdadm command after kernel
+ has been upgraded to 5.3 (latest HWE kernel).
+
+ [Test Case]
+
+ $ sudo dd if=/dev/zero of=/.loop bs=1M count=1024
+
+ $ sudo losetup --find --show /.loop
+ /dev/loop0
+
+ $ cat
Thanks for your report @a1bert!
The commit that likely fixes the issue is this one:
1 commit 859151b2
2 Author: He Zhe
3 Date: Fri Jul 12 07:07:27 2019
4
5 netlink: Add NLA_F_NESTED flag to nested attribute
6
7 The mainline kernel v5.2 commit b424e432e770
8
14 matches
Mail list logo