[PVE-User] Cephfs starting 2nd MDS

Alwin Antreich a.antreich at proxmox.com
Wed Aug 8 09:22:38 CEST 2018


Hi,

On Wed, Aug 08, 2018 at 07:54:45AM +0200, Vadim Bulst wrote:
> Hi Alwin,
> 
> thanks for your advise. But no success. Still same error.
> 
> mds-section:
> 
> [mds.1]
>         host = scvirt03
>         keyring = /var/lib/ceph/mds/ceph-scvirt03/keyring
[mds]
    keyring = /var/lib/ceph/mds/ceph-$id/keyring

So it will work for every MDS that you setup. Besides that, no extra
options would be needed for MDS to start.

More then the bellow lines should not be needed to get the mds started.

mkdir -p /var/lib/ceph/mds/ceph-$SERVER
chown -R ceph:ceph /var/lib/ceph/mds/ceph-$SERVER
ceph --cluster ceph --name client.bootstrap-mds \
--keyring /var/lib/ceph/bootstrap-mds/ceph.keyring auth \
get-or-create mds.$SERVER osd 'allow rwx' mds 'allow' mon 'allow profile mds' \
-o /var/lib/ceph/mds/ceph-$SERVER/keyring

If it's not working, whats the output of 'systemctl status
ceph-mds@<id>'?

--
Cheers,
Alwin



More information about the pve-user mailing list