Project

General

Profile

Bug #19347

cannot find /dev/nbd0 by using lsblk when map an image with size = 0

Added by Pan Liu about 7 years ago. Updated about 7 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

1)rbd allows the user to create an image with size zero:
rbd create image --size 0
2) then, rbd-nbd map image, it displayed:
/dev/nbd0

3) I could successfully list it by using rbd-nbd list-mapped:
id device pool image mon_host
0 /dev/nbd0 rbd image1 DEFAULT

4) When I use lsblk, we cannot find it.

According to this, rbd-nbd shouldn't allow to map an image with size zero.

History

#1 Updated by Ilya Dryomov about 7 years ago

  • Project changed from Linux kernel client to rbd
  • Priority changed from Low to Normal

krbd doesn't have this issue -- moving to the rbd project.

#2 Updated by Pan Liu about 7 years ago

After discussion, we won't fix it.
https://github.com/ceph/ceph/pull/14084

#3 Updated by Mykola Golub about 7 years ago

  • Status changed from New to Won't Fix

Also available in: Atom PDF