On Wed, 9 Oct 2019, Yiming Zhang wrote: > Hi Sage, > > I have experienced an error when I tries to use vstart to create a cluster running on raw device. Here is my vstart command: > > sudo MON=1 OSD=1 MDS=0 ../src/vstart.sh -b -d -n -x -l -o 'bluestore block path = /dev/sda' -o 'bluestore fsck on mkfs = false' -o 'bluestore fsck on mount = false' -o 'bluestore fsck on umount = false' -o 'bluestore block db path = ' -o 'bluestore block wal path = ' -o 'bluestore block wal create = false' -o 'bluestore block db create = false' -o 'bluefs preextend wal files = true' > > And here is my error list: > /users/ceph/build/bin/ceph-osd -i 0 -c /users/yzhan298/ceph/build/ceph.conf > 7f34590d1d80 -1 Falling back to public interface > 7f34590d1d80 -1 bdev(0x562ce4c72000 /users/yzhan298/ceph/build/dev/osd0/block) _lock flock failed on /users/yzhan298/ceph/build/dev/osd0/block > 7f34590d1d80 -1 bdev(0x562ce4c72000 /users/yzhan298/ceph/build/dev/osd0/block) open failed to lock /users/yzhan298/ceph/build/dev/osd0/block: (11) Resource temporarily unavailable > 7f34590d1d80 -1 osd.0 0 OSD:init: unable to mount object store > 7f34590d1d80 -1 ** ERROR: osd init failed: (11) Resource temporarily unavailable This probably means there is another ceph-osd process still running on your host that has the device open and locked. sage > > I couldn’t find the reason for this error. > > Please help. > > Thanks, > Yiming >
_______________________________________________ Dev mailing list -- dev@xxxxxxx To unsubscribe send an email to dev-leave@xxxxxxx