I would like to do some BlueStore testing using multiple devices like mentioned here:
However, simply creating the block.db and block.wal symlinks and pointing them at empty partitions doesn't appear to be enough:
2016-07-19 21:30:15.717827 7f48ec4d9800 1 bluestore(/var/lib/ceph/osd/ceph-0) mount path /var/lib/ceph/osd/ceph-0
2016-07-19 21:30:15.717855 7f48ec4d9800 1 bluestore(/var/lib/ceph/osd/ceph-0) fsck
2016-07-19 21:30:15.717869 7f48ec4d9800 1 bdev create path /var/lib/ceph/osd/ceph-0/block type kernel
2016-07-19 21:30:15.718367 7f48ec4d9800 1 bdev(/var/lib/ceph/osd/ceph-0/block) open path /var/lib/ceph/osd/ceph-0/block
2016-07-19 21:30:15.718462 7f48ec4d9800 1 bdev(/var/lib/ceph/osd/ceph-0/block) open size 6001069202944 (5588 GB) block_size 4096 (4096 B)
2016-07-19 21:30:15.718786 7f48ec4d9800 1 bdev create path /var/lib/ceph/osd/ceph-0/block.db type kernel
2016-07-19 21:30:15.719305 7f48ec4d9800 1 bdev(/var/lib/ceph/osd/ceph-0/block.db) open path /var/lib/ceph/osd/ceph-0/block.db
2016-07-19 21:30:15.719388 7f48ec4d9800 1 bdev(/var/lib/ceph/osd/ceph-0/block.db) open size 1023410176 (976 MB) block_size 4096 (4096 B)
2016-07-19 21:30:15.719394 7f48ec4d9800 1 bluefs add_block_device bdev 1 path /var/lib/ceph/osd/ceph-0/block.db size 976 MB
2016-07-19 21:30:15.719586 7f48ec4d9800 -1 bluestore(/var/lib/ceph/osd/ceph-0/block.db) _read_bdev_label unable to decode label at offset 66: buffer::malformed_input: void bluestore_bdev_label_t::decode(ceph::buffer::list::iterator&) decode past end of
struct encoding
2016-07-19 21:30:15.719597 7f48ec4d9800 -1 bluestore(/var/lib/ceph/osd/ceph-0) _open_db check block device(/var/lib/ceph/osd/ceph-0/block.db) label returned: (22) Invalid argument
2016-07-19 21:30:15.719602 7f48ec4d9800 1 bdev(/var/lib/ceph/osd/ceph-0/block.db) close
2016-07-19 21:30:15.999311 7f48ec4d9800 1 bdev(/var/lib/ceph/osd/ceph-0/block) close
2016-07-19 21:30:16.243312 7f48ec4d9800 -1 osd.0 0 OSD:init: unable to mount object store
I originally used 'ceph-disk prepare --bluestore' to create the OSD, but I feel like there is some kind of initialization step I need to do when moving the db and wal over to an NVMe device. My google searches just aren't turning up much. Could someone
point me in the right direction?
Thanks,
Bryan
|
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com