On Sun, Apr 29, 2012 at 23:16, Paul Pettigrew <[email protected]> wrote: > I cannot find the right syntax to mount a specific pool created, that has a > customised replica level set, which is different to the default "data" pool > (i.e. we have an additional pool called "backup"). Can somebody please advise > the right syntax?? > > I tried the following per: > http://ceph.newdream.net/docs/master/man/8/mount.ceph/ > mount -t ceph 10.32.0.10:6789:/backup /mnt/ceph -vv -o > name=admin,secret=ThisIsNotTheRealSecret== > And it hard-hung the server, and needed a hard power restart (ouch!). > > The following works fine, but it is not connecting to the "backup" pool (with > no pool name specified, it is going to pool0 called "data"): > mount -t ceph 10.32.0.10:6789:/ /mnt/ceph -vv -o > name=admin,secret=ThisIsNotTheRealSecret==
You don't mount pools directly; there's filesystem metadata (as managed by metadata servers) that is needed too. What you probably want is to specify that a subtree of your ceph dfs stores the file data in a separate pool, using "cephfs /mnt/ceph/some/subtree set_layout --pool 6". Note that a numerical pool id is currently required. http://ceph.newdream.net/docs/master/man/8/cephfs/ You can mount any subtree of the ceph dfs directly, using 10.32.0.10:6789:/some/subtree in your mount command. The crash you experienced may be completely separate from this, but if any logs survived, filing a bug would be appreciated. -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
