Actions
Feature #14198
openrbd: renaming a pool does not update the pool names in /dev/rbd or /sys/bus/rbd
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
Updated by Josh Durgin about 8 years ago
- Project changed from rbd to Linux kernel client
- Subject changed from Modify pool name,rbd map is effective,client can still read and wirte to rbd: renaming a pool does not update the pool names in /dev/rbd or /sys/bus/rbd
Updated by Ilya Dryomov about 8 years ago
- Status changed from New to 12
... and then to unmap, if you want to use the spec syntax, you have to specify the old pool name.
Updated by Ilya Dryomov almost 8 years ago
- Tracker changed from Bug to Feature
- Category set to rbd
Actions