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!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
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
[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:
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
Time (s) | Query |
---|---|
0.00012 | SET CHARSET latin2 |
0.00006 | SET NAMES latin2 |
0.00123 | 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='3.145.64.245' WHERE u.id=1 |
0.00293 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.145.64.245', 1732772148) |
0.00041 | SELECT * FROM punbb_online WHERE logged<1732771848 |
0.00113 | 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.00011 | SELECT search_for, replace_with FROM punbb_censoring |
0.00132 | 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.00095 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=22860 |
Total query time: 0.00826 s |