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 #1

Updated by Samuel Just over 8 years ago

  • Project changed from Ceph to rbd
Actions #2

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
Actions #3

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.

Actions #4

Updated by Ilya Dryomov almost 8 years ago

  • Tracker changed from Bug to Feature
  • Category set to rbd
Actions #5

Updated by Patrick Donnelly over 4 years ago

  • Status changed from 12 to New
Actions

Also available in: Atom PDF