failed to open snapshot after 'rados cppool '

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

 



Good day.

Some time ago i change pg_num like this http://www.sebastien-han.fr/blog/2013/03/12/ceph-change-pg-number-on-the-fly/:

ceph osd pool create one-new 500
rados cppool one one-new
ceph osd pool delete one
ceph osd pool rename one-new one

Before changes:
ceph osd lspools
0 data,1 metadata,2 rbd,5 one,

After changes:
0 data,1 metadata,2 rbd,6 one,

But after that i got an error:
rbd --pool one ls -l
2014-01-22 15:03:49.965040 7f022a7cb760 -1 librbd: error looking up name for pool id 5: (2) No such file or directory
2014-01-22 15:03:49.965100 7f022a7cb760 -1 librbd: error opening parent snapshot: (2) No such file or directory
2014-01-22 15:03:49.982534 7f022a7cb760 -1 librbd: error looking up name for pool id 5: (2) No such file or directory
2014-01-22 15:03:49.982557 7f022a7cb760 -1 librbd: error opening parent snapshot: (2) No such file or directory
NAME           SIZE PARENT FMT PROT LOCK 
one-104      20480M          2           
one-41       11264M          2           
one-86        8192M          2           
one-93       10000M          2           
one-93@130-0 10000M          2 yes       
one-95       10000M          2           
one-95@142-0 10000M          2 yes       
one-95-150-0 10000M          2           
one-96       10000M          2           

rbd --pool one cp one-93-130-0 one-93-130+
2014-01-22 15:12:41.111368 7fd95d892760 -1 librbd: error looking up name for pool id 5: (2) No such file or directory
2014-01-22 15:12:41.111404 7fd95d892760 -1 librbd: error opening parent snapshot: (2) No such file or directory
rbd: error opening image one-93-130-0: (2) No such file or directory

and so on...

May be snapshots referenced to old pool with id=5? 
How to fix this?

Thank you.


_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux