Thanks very much... its working..
On Wed, Dec 3, 2014 at 7:11 PM, Irek Fasikhov <malmyzh@xxxxxxxxx> wrote:
Sorry :).root@backhb2:~# rbd ls -l | grep testtest 1024M 1root@backhb2:~# rbd mv rbd/test rbd/test2root@backhb2:~# rbd ls -l | grep testtest2 1024M 1root@backhb2:~# rbd rename rbd/test2 rbd/testroot@backhb2:~# rbd ls -l | grep testtest 1024M 12014-12-03 16:36 GMT+03:00 Mallikarjun Biradar <mallikarjuna.biradar@xxxxxxxxx>:I am trying to rename rbd.ems@rack2-storage-5:~$ sudo rbd -h | grep rename(mv | rename) <src> <dest> rename src image to destems@rack2-storage-5:~$On Wed, Dec 3, 2014 at 6:55 PM, Irek Fasikhov <malmyzh@xxxxxxxxx> wrote:root@backhb2:~# ceph osd pool -h | grep renameosd pool rename <poolname> <poolname> rename <srcpool> to <destpool>2014-12-03 16:23 GMT+03:00 Mallikarjun Biradar <mallikarjuna.biradar@xxxxxxxxx>:Hi,I am trying to rename in the same pool.sudo rbd rename rbdPool1 -p testPool2 rbdPoolTest1 -p testPool2-Thanks & Regards,Mallikarjun BiradarOn Wed, Dec 3, 2014 at 6:50 PM, Irek Fasikhov <malmyzh@xxxxxxxxx> wrote: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 testPool2rbd: mv/rename across pools not supportedsource pool: testPool2 dest pool: rbdems@rack6-ramp-4:~$ems@rack6-ramp-4:~$ sudo rbd rename rbdPool1 rbdPoolTest1rbd: rename error: (2) No such file or directory2014-12-03 18:41:50.786397 7f73b4f75840 -1 librbd: error finding source object: (2) No such file or directoryems@rack6-ramp-4:~$ems@rack6-ramp-4:~$ sudo rbd ls -p testPool2rbdPool1ems@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 destThe 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--С уважением, Фасихов Ирек НургаязовичМоб.: +79229045757--С уважением, Фасихов Ирек НургаязовичМоб.: +79229045757
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com