Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2013-01-31 22:54:29

  szopa - Nowy użytkownik

szopa
Nowy użytkownik
Zarejestrowany: 2013-01-31

Ceph konfiguracja

Witam,
muszę postawić ceph na 20 komputerach. Oczywiście wcześniej chce sprawdzić jak to się robi na wirtualkach.
http://ceph.com/docs/master/start/quick-start/ Miało być 5 min i śmiga, niestety coś muszę źle robić...
plik /etc/ceph/ceph.conf

Kod:

[global]
    auth cluster required = cephx
    auth service required = cephx
    auth client required = cephx
    auth supported = cephx
    keyring = /etc/ceph/keyring.admin
[mds]
    keyring = /etc/ceph/keyring.$name
[mds.0]
    host = debian
[mds.1]
    host = debian2
[osd]
    osd data = /srv/ceph/osd$id
    osd journal = /srv/ceph/osd$id/journal
    osd journal size = 512
[osd.0]
    host = debian

[osd.1]
    host = debian2
[mon]
    mon data = /srv/ceph/mon$id
[mon.0]
    host = debian
    mon addr = 192.168.0.105:6789
[mon.1]
    host = debian2
    mon addr = 192.168.0.108:6789

partycja /srv to btrfs
po poleceniu
sudo mkcephfs -a -c /etc/ceph/ceph.conf -k ceph.keyring
wywala taki błąd:

Kod:

temp dir is /tmp/mkcephfs.yNOiGt14eg
preparing monmap in /tmp/mkcephfs.yNOiGt14eg/monmap
/usr/bin/monmaptool --create --clobber --add 0 192.168.0.105:6789 --add 1 192.168.0.108:6789 --print /tmp/mkcephfs.yNOiGt14eg/monmap
/usr/bin/monmaptool: monmap file /tmp/mkcephfs.yNOiGt14eg/monmap
/usr/bin/monmaptool: generated fsid 6c593c96-fa2a-4e32-ae00-34b64a00de54
epoch 0
fsid 6c593c96-fa2a-4e32-ae00-34b64a00de54
last_changed 2013-01-31 19:36:20.394447
created 2013-01-31 19:36:20.394447
0: 192.168.0.105:6789/0 mon.0
1: 192.168.0.108:6789/0 mon.1
/usr/bin/monmaptool: writing epoch 0 to /tmp/mkcephfs.yNOiGt14eg/monmap (2 monitors)
=== osd.0 === 
 ** WARNING: 'filestore btrfs snap' is enabled (for safe transactions,
             rollback), but btrfs does not support the SNAP_CREATE_V2 ioctl
             (added in Linux 2.6.37).  Expect slow btrfs sync/commit
             performance.
2013-01-31 19:36:22.984465 7f1059388780 -1 filestore(/srv/ceph/osd0) mount initial op seq is 0; something is wrong
2013-01-31 19:36:22.984767 7f1059388780 -1 OSD::mkfs: couldn't mount FileStore: error -22
2013-01-31 19:36:22.984929 7f1059388780 -1  ** ERROR: error creating empty object store in /srv/ceph/osd0: (22) Invalid argument
failed: '/sbin/mkcephfs -d /tmp/mkcephfs.yNOiGt14eg --init-daemon osd.0'

Może ktoś się tym bawił i wie co mogłem skopać

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)

[ Generated in 0.008 seconds, 11 queries executed ]

Informacje debugowania

Time (s) Query
0.00012 SET CHARSET latin2
0.00005 SET NAMES latin2
0.00138 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.119.161.216' WHERE u.id=1
0.00094 UPDATE punbb_online SET logged=1732773374 WHERE ident='18.119.161.216'
0.00041 SELECT * FROM punbb_online WHERE logged<1732773074
0.00044 SELECT topic_id FROM punbb_posts WHERE id=223087
0.00076 SELECT id FROM punbb_posts WHERE topic_id=22860 ORDER BY posted
0.00056 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=22860 AND t.moved_to IS NULL
0.00009 SELECT search_for, replace_with FROM punbb_censoring
0.00094 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=22860 ORDER BY p.id LIMIT 0,25
0.00082 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=22860
Total query time: 0.00651 s