I'm running into this on an AWS r5d.2xlarge instance.  I create the
instance with a 2TB EBS volume and am trying to setup its 300GB
ephemeral SSD as a cache for the EBS volume.

This part works, (nvme2n1 is the SSD):

make-bcache -C /dev/nvme2n1  --discard

But, when I run this:

make-bcache -B /dev/nvme1n1

I see the log messages:

Jun 02 23:41:27 ip-10-26-8-43 multipath[8745]: nvme1n1: failed to get udev uid: 
Invalid argument
Jun 02 23:41:27 ip-10-26-8-43 multipath[8745]: nvme1n1: uid = 
nvme.1d0f-766f6c3062623536336362353965333737383764-416d617a6f6e20456c617374696320426c6f636b2053746f7265-00000001
 (sysfs)
Jun 02 23:41:28 ip-10-26-8-43 systemd-udevd[8744]: nvme1n1: Process 
'bcache-register /dev/nvme1n1' failed with exit code 1.
Jun 02 23:41:28 ip-10-26-8-43 kernel: bcache: bcache_device_init() nr_stripes 
too large or invalid: 4294967280 (start sector beyond end of disk?)
Jun 02 23:41:28 ip-10-26-8-43 kernel: bcache: register_bdev() error nvme1n1: 
cannot allocate memory
Jun 02 23:41:28 ip-10-26-8-43 kernel: bcache: register_bcache() error : failed 
to register device
Jun 02 23:41:28 ip-10-26-8-43 kernel: bcache: bcache_device_free() bcache 
device (NULL gendisk) stopped

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1881286

Title:
  After ubuntu upgrade from Bionic to Focale bcache_device_init()
  nr_stripes too large or invalid: 3485497471 (start sector beyond end
  of disk?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bcache-tools/+bug/1881286/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to