Re: Issue in renaming rbd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.
You can only rename in the same pool.
For transfer to another pool: rbd cp and rbd export/import.

2014-12-03 16:15 GMT+03:00 Mallikarjun Biradar <mallikarjuna.biradar@xxxxxxxxx>:
Hi all,

Whether renaming rbd is allowed?

I am getting this error,

ems@rack6-ramp-4:~$ sudo rbd rename rbdPool1 -p testPool2 rbdPoolTest1 -p testPool2
rbd: mv/rename across pools not supported
source pool: testPool2 dest pool: rbd
ems@rack6-ramp-4:~$

ems@rack6-ramp-4:~$ sudo rbd rename rbdPool1 rbdPoolTest1
rbd: rename error: (2) No such file or directory
2014-12-03 18:41:50.786397 7f73b4f75840 -1 librbd: error finding source object: (2) No such file or directory
ems@rack6-ramp-4:~$

ems@rack6-ramp-4:~$ sudo rbd ls -p testPool2
rbdPool1
ems@rack6-ramp-4:~$

Why its taking rbd as destination pool, though I have provided another pool as per syntax.

Syntax in rbd help:
rbd   (mv | rename) <src> <dest>                  rename src image to dest

The rbd which I am trying to rename is mounted and IO is running on it.

-Thanks & regards,
Mallikarjun Biradar

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




--
С уважением, Фасихов Ирек Нургаязович
Моб.: +79229045757
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux