From: Jean-Adrien <adv1@jeanjean.ch>
To: ceph-devel@vger.kernel.org
Subject: Re: mkcephfs 0.20 failure on debian: FAILED assert(r == 0)
Date: Wed, 12 May 2010 12:29:14 +0000 (UTC) [thread overview]
Message-ID: <loom.20100512T140305-368@post.gmane.org> (raw)
In-Reply-To: hrhh53$gf3$2@dough.gmane.org
Thomas Mueller <thomas <at> chaschperli.ch> writes:
>
> Hi
>
> I wanted to do some testing. but i failed on mkcephfs. see mkcephfs
> output below.
> ** testing and review. Do not trust it with important
> data. **
> os/FileJournal.cc: In function 'int FileJournal::_open(bool, bool)':
> os/FileJournal.cc:74: FAILED assert(r == 0)
> 1: (FileJournal::create()+0x7f) [0x55725f]
> 2: (FileStore::mkjournal()+0x74) [0x542f04]
> 3: (FileStore::mkfs()+0x4c9) [0x540dd9]
> 4: (OSD::mkfs(char const*, char const*, ceph_fsid, int)+0x4a) [0x4c2dca]
> 5: (main()+0x751) [0x4585e1]
> 6: (__libc_start_main()+0xe6) [0x7fc412c811a6]
> 7: (std::ios_base::Init::~Init()+0x61) [0x457be9]
> NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed
> to interpret this.
> terminate called after throwing an instance of 'ceph::FailedAssertion*'
> /usr/lib/ceph/ceph_common.sh: line 95: 8680 Aborted
> (core dumped) bash -c "$1"
> failed: '/usr/bin/cosd -c /etc/ceph/ceph.conf --monmap /tmp/monmap.8485 -
> i 1 --mkfs --osd-data /data/osd1'
Hi,
I try to setup a little test cluster using kvm, and I have exactly the same
problem.
Moreover, I notice that when I want to delete the data created in the btrfs
partition it is not possible to remove the current directory, even if it is
empty:
root@cods-1:/mnt/btrfs/data# rm -rf osd0/
rm: cannot remove directory `osd0/current': Directory not empty
The only way is to reformat the partition (mkfs.btrfs /dev/sdb1)
But the next time I try to make the fs I have the same problem
./mkcephfs -c ceph.conf -a -k /var/ceph-data/keyring.bin
I tried the --mkbtrfs option too, but I have the same result.
Did you made the same observations ? Any clue ?
Have a nice day
-- Jean-Adrien
next prev parent reply other threads:[~2010-05-12 12:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-01 15:25 mkcephfs 0.20 failure on debian: FAILED assert(r == 0) Thomas Mueller
2010-05-02 22:05 ` Sage Weil
2010-05-03 6:18 ` Thomas Mueller
2010-05-12 12:29 ` Jean-Adrien [this message]
2010-05-12 19:55 ` Sage Weil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20100512T140305-368@post.gmane.org \
--to=adv1@jeanjean.ch \
--cc=ceph-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox