Project

General

Profile

Actions

Bug #19347

closed

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.

Actions

Also available in: Atom PDF