Ceph FS Guia

You might also like

You are on page 1of 1

ssh-keygen

ssh-copy-id -i .ssh/id_rsa.pub fs2


ssh fs2
ssh-copy-id -i .ssh/id_rsa.pub fs3

apt-get install ceph-deploy --force-yes


apt-get install upstart --force-yes (NO INSTALAR EN PROXMOX)
ceph-deploy new fs1 fs2 fs3
Change the default number of replicas in the Ceph configuration file from 3 to 2 so that
Ceph can achieve an active + clean state with just two Ceph OSDs. Add the
following line under the [default] section:

osd pool default size = 2

ceph-deploy install fs1 fs2 fs3


ceph-deploy mon create-initial

ceph-deploy osd --zap-disk create fs1:sdb


ceph-deploy osd --zap-disk create fs2:sdb
ceph-deploy osd --zap-disk create fs3:sdb
ceph osd pool create datastore 150
ceph-deploy osd prepare fs22:/var/local/osd2 fs3:/var/local/osd3
ceph-deploy osd prepare fs2:/var/local/osd2 fs3:/var/local/osd3
ceph-deploy osd activate fs2:/var/local/osd2 fs3:/var/local/osd3
ceph-deploy admin fs1 fs2 fs3
chmod +r /etc/ceph/ceph.client.admin.keyring
ceph health
initctl list | grep ceph
apt-get install upstart --force-yes
start ceph-all

You might also like