On Mon, 30 Apr 2012, Henry C Chang wrote: > Hi all, > > I found one issue when I played around the "rados import/export" > commands. I tried: > > 1. Export the pool ".users.uid" to a local directory. > 2. Delete the pool. > 3. Import the pool ".user.uid" from the local directory. > > After the pool is restored, the rgw's user info are correct. However, > I failed to list the user's buckets. > Then, I traced the codes a little bit. It seems the problem is that we > do not export/import the omaps (stored in leveldb) of the objects. > Since v0.44, we employed leveldb to store the key/value maps. I think > we need to take care of the omaps as well during backup and restore. The real question here is how *should* we be storing omap values when we export to/import from regular files? A specially-marked (with xattr) .db file? A related problem is how to store placement key strings for objects with modified placement; I can't remember if we already did something for that yet or not (maybe specially-named xattr?). sage -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html