Hi all,

I ran into a little problem when trying ceph-deploy, and I'm wondering
it's a bug?

steps:
1) ./ceph-deploy -v osd prepare --fs-type ext4
mon02:sdb:/mnt/cephjournal/journal0
2) ./ceph-deploy -v osd activate --fs-type ext4
mon02:/dev/sdb1:/mnt/cephjournal/journal0
"ERROR:ceph-disk:Failed to activate" shown.

solution:
go to target node, run `ceph-disk -v activate --mark-init sysvinit
--mount /dev/sdb1`, find that in maybe_mkdir()@/usr/sbin/ceph-disk,
os.mkdir("/var/lib/ceph/osd/osd-1") is called.
Right here should we use os.makedirs() instead of os.mkdir()? As
makedirs will create all intermediate directories but mkdir will not.
-- 
Best,
xan
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to