Project

General

Profile

Actions

Feature #14198

open

rbd: renaming a pool does not update the pool names in /dev/rbd or /sys/bus/rbd

Added by dong liao over 8 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
rbd
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:

Description

pool:LDTEST2,image:DE
client rbd map LDTEST2/DE; mkfs.ext4 /dev/rbd2;mount /dev/rbd2 /home/ld2;cp -r /root/centos.img /home/ld2;
Modify pool name:LDTEST22
client:cp -r /root/centos.img /home/ld2/ee is also Continuing。

[root@ceph4 ~]# rbd showmapped
id pool image snap device
1 zou0 big5 - /dev/rbd1
2 LDTEST2 DE - /dev/rbd2
[root@ceph4 ~]# mount
/dev/rbd2 on /home/ld2 type ext4 (rw,relatime,stripe=1024,data=ordered)
[root@ceph4 ld2]# cp -r /root/centos1.img /home/ld2/a1
[root@ceph4 ld2]# cp -r /root/centos1.img /home/ld2/ee

Actions

Also available in: Atom PDF