Can you strace it or add some debugging and confirm which call is failing? -Sam On Fri, Oct 11, 2019 at 11:03 AM Yiming Zhang <yzhan298@xxxxxxxx> wrote: > > Hi Sage and Sam, > > Reboot works for the first time! After reboot, when I run the vstart command for the first time, everything is fine, > but failed for the second time after the stop command is called. And then I rebooted again, and the error is persisted. > I checked the osd, ceph process and I didn’t see any active threads in the system. > > Any thoughts? > > Thanks, > Yiming > > > On Oct 10, 2019, at 5:02 AM, Sage Weil <sweil@xxxxxxxxxx> wrote: > > > > 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