Project

General

Profile

Actions

Bug #780

closed

cosd crashes on old btrfs

Added by Greg Farnum about 13 years ago. Updated about 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Program terminated with signal 6, Aborted.
#0  0x00007f05467a7e2b in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:41
41      ../nptl/sysdeps/unix/sysv/linux/pt-raise.c: No such file or directory.
        in ../nptl/sysdeps/unix/sysv/linux/pt-raise.c
(gdb) bt
#0  0x00007f05467a7e2b in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:41
#1  0x000000000061f82b in handle_fatal_signal (signum=6) at common/signal.cc:70
#2  <signal handler called>
#3  0x00007f0545397165 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#4  0x00007f0545399f70 in *__GI_abort () at abort.c:92
#5  0x00007f0545c2adc5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#6  0x00007f0545c29166 in ?? () from /usr/lib/libstdc++.so.6
#7  0x00007f0545c29193 in std::terminate() () from /usr/lib/libstdc++.so.6
#8  0x00007f0545c2928e in __cxa_throw () from /usr/lib/libstdc++.so.6
#9  0x00000000006077a2 in ceph::__ceph_assert_fail (assertion=0x658758 "0", file=<value optimized out>, line=809,
    func=<value optimized out>) at common/assert.cc:25
#10 0x00000000005b31f6 in FileJournal::do_write (this=0x2750400, bl=...) at os/FileJournal.cc:809
#11 0x00000000005b44f3 in FileJournal::write_thread_entry (this=0x2750400) at os/FileJournal.cc:915
#12 0x000000000059e72d in FileJournal::Writer::entry() ()
#13 0x000000000048175a in Thread::_entry_func (arg=0x3cc3) at ./common/Thread.h:41
#14 0x00007f054679f8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#15 0x00007f054543402d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()
2011-02-07 09:27:43.781145 7f7c897a6720 osd0 0 mounting dev/osd0 dev/osd0/journal
2011-02-07 09:27:43.781168 7f7c897a6720 filestore(dev/osd0) basedir dev/osd0 journal dev/osd0/journal
2011-02-07 09:27:43.781243 7f7c897a6720 filestore(dev/osd0) mount FIEMAP ioctl is NOT supported
2011-02-07 09:27:43.781262 7f7c897a6720 filestore(dev/osd0) mount detected btrfs2011-02-07 09:27:43.781271 7f7c897a6720 filestore(dev/osd0) mount btrfs CLONE_RANGE ioctl is supported
2011-02-07 09:27:43.781284 7f7c897a6720 filestore(dev/osd0) mount btrfs SNAP_CREATE is supported
2011-02-07 09:27:43.781293 7f7c897a6720 filestore(dev/osd0) mount btrfs SNAP_DESTROY failed: Operation not permitted
2011-02-07 09:27:43.781301 7f7c897a6720 filestore(dev/osd0) mount btrfs snaps enabled, but no SNAP_DESTROY ioctl (from kernel 2.6.32+
)
2011-02-07 09:27:43.781326 7f7c897a6720 filestore(dev/osd0) mount btrfs START_SYNC got -1 Operation not permitted
2011-02-07 09:27:43.781335 7f7c897a6720 filestore(dev/osd0) mount btrfs START_SYNC is NOT supported: Operation not permitted
2011-02-07 09:27:43.781357 7f7c897a6720 filestore(dev/osd0) mount fsid is 3592244202011-02-07 09:27:43.781411 7f7c897a6720 filestore(dev/osd0) mount found snaps <>
2011-02-07 09:27:43.781430 7f7c897a6720 filestore(dev/osd0) mount op_seq is 0
2011-02-07 09:27:43.781440 7f7c897a6720 filestore(dev/osd0) open_journal at dev/osd0/journal
2011-02-07 09:27:43.781456 7f7c897a6720 filestore(dev/osd0) mount: enabling WRITEAHEAD journal mode: 'filestore btrfs snap' mode is not enabled
2011-02-07 09:27:43.781469 7f7c897a6720 journal journal_replay fs op_seq 0
2011-02-07 09:27:43.781478 7f7c897a6720 journal open dev/osd0/journal next_seq 1
2011-02-07 09:27:43.781491 7f7c897a6720 journal _open journal is not a block device, NOT checking disk write cache on 'dev/osd0/journ
al'
2011-02-07 09:27:43.781503 7f7c897a6720 journal _open dev/osd0/journal fd 11: 104857600 bytes, block size 4096 bytes, directio = 1
2011-02-07 09:27:43.781512 7f7c897a6720 journal read_header
2011-02-07 09:27:43.782331 7f7c897a6720 journal header: block_size 4096 alignment 4096 max_size 104857600
2011-02-07 09:27:43.782350 7f7c897a6720 journal header: start 4096
2011-02-07 09:27:43.782361 7f7c897a6720 journal  write_pos 4096
2011-02-07 09:27:43.782371 7f7c897a6720 journal open header.fsid = 359224420
2011-02-07 09:27:43.782385 7f7c897a6720 journal read_entry 4096 : bad header magic, end of journal2011-02-07 09:27:43.782398 7f7c897a6720 journal open reached end of journal.
2011-02-07 09:27:43.782406 7f7c897a6720 journal read_entry 4096 : bad header magic, end of journal
2011-02-07 09:27:43.782414 7f7c897a6720 journal journal_replay: end of journal, done.
2011-02-07 09:27:43.782432 7f7c897a6720 journal _open journal is not a block device, NOT checking disk write cache on 'dev/osd0/journ
al'
2011-02-07 09:27:43.782444 7f7c897a6720 journal _open dev/osd0/journal fd 11: 104857600 bytes, block size 4096 bytes, directio = 1
2011-02-07 09:27:43.782474 7f7c897a6720 journal journal_start2011-02-07 09:27:43.782541 7f7c83b24710 journal write_thread_entry start
2011-02-07 09:27:43.782589 7f7c83b24710 journal write_thread_entry going to sleep
2011-02-07 09:27:43.782642 7f7c897a6720 osd0 0 boot
2011-02-07 09:27:43.782672 7f7c897a6720 filestore(dev/osd0) read couldn't open dev/osd0/current/meta/osd_superblock_0 errno 2 No such
 file or directory
2011-02-07 09:27:43.782684 7f7c897a6720 filestore(dev/osd0) read dev/osd0/current/meta/osd_superblock_0 0~0 = -2
2011-02-07 09:27:43.782692 7f7c897a6720 osd0 0 OSD::init() : unable to read osd superblock
2011-02-07 09:27:43.782702 7f7c897a6720 filestore(dev/osd0) umount dev/osd0
2011-02-07 09:27:43.783194 7f7c82b22710 journal commit_start op_seq 0, applied_seq 0, committed_seq 0
2011-02-07 09:27:43.783213 7f7c82b22710 journal commit_start nothing to do
2011-02-07 09:27:43.783222 7f7c82b22710 journal commit_start
2011-02-07 09:27:43.783599 7f7c82321710 FileStore::op_tp worker finish
2011-02-07 09:27:43.783622 7f7c81b20710 FileStore::op_tp worker finish
2011-02-07 09:27:43.783656 7f7c897a6720 journal journal_stop
2011-02-07 09:27:43.784177 7f7c897a6720 journal close dev/osd0/journal
2011-02-07 09:27:43.784748 7f7c83b24710 journal write_thread_entry woke up
2011-02-07 09:27:43.784777 7f7c83b24710 journal write_thread_entry finish
2011-02-07 09:27:43.785381 7f7c897a6720 ESC[0;31m ** ERROR: initializing osd failed: error 1: Operation not permittedESC[0m
Actions #1

Updated by Greg Farnum about 13 years ago

This works fine on f54b793f3a3a63921bb47b1156667694604e68ee, btw.

Actions #2

Updated by Sage Weil about 13 years ago

  • Status changed from New to Resolved
  • Assignee changed from Colin McCabe to Sage Weil
Actions

Also available in: Atom PDF