From patchwork Thu Jun 3 15:43:54 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: CC Lien X-Patchwork-Id: 104113 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o53Fg3rn017833 for ; Thu, 3 Jun 2010 15:44:04 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756098Ab0FCPoD (ORCPT ); Thu, 3 Jun 2010 11:44:03 -0400 Received: from mail-pw0-f46.google.com ([209.85.160.46]:55898 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756082Ab0FCPoC (ORCPT ); Thu, 3 Jun 2010 11:44:02 -0400 Received: by pwj2 with SMTP id 2so122415pwj.19 for ; Thu, 03 Jun 2010 08:44:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.253.9 with SMTP id a9mr7139482wai.72.1275579834593; Thu, 03 Jun 2010 08:43:54 -0700 (PDT) Received: by 10.114.203.17 with HTTP; Thu, 3 Jun 2010 08:43:54 -0700 (PDT) X-Originating-IP: [219.87.142.18] Date: Thu, 3 Jun 2010 23:43:54 +0800 Message-ID: Subject: mkcephfs: error when creating journal file in a directory that differs from OSD data dir From: CC Lien To: ceph-devel@vger.kernel.org Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 03 Jun 2010 15:44:04 +0000 (UTC) diff --git a/src/mkcephfs.in b/src/mkcephfs.in index 1caddf1..6c1f2dc 100644 --- a/src/mkcephfs.in +++ b/src/mkcephfs.in @@ -220,6 +220,7 @@ for name in $what; do if [ "$type" = "osd" ]; then get_conf osd_data "" "osd data" + get_conf osd_journal "" "osd journal" get_conf keyring "" "keyring" get_conf btrfs_path "$osd_data" "btrfs path" # mount point defaults so osd data