]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart: update for newfs/rmfs changes
authorJohn Spray <john.spray@inktank.com>
Fri, 23 May 2014 13:30:20 +0000 (14:30 +0100)
committerJohn Spray <jspray@redhat.com>
Mon, 30 Jun 2014 09:36:39 +0000 (10:36 +0100)
Signed-off-by: John Spray <john.spray@inktank.com>
src/vstart.sh

index 8ac97dc57c3042b50919f031f5b15e719e253f2c..7b1ff2644f9a65f0812d98223b71cdd3ac5dbab2 100755 (executable)
@@ -527,6 +527,18 @@ EOF
                     $SUDO $CEPH_ADM -i $CEPH_DEV_DIR/mds.${name}s/keyring auth add mds.${name}s \
                        mon 'allow *' osd 'allow *' mds 'allow'
            fi
+
+        cmd="$CEPH_ADM osd pool create cephfs_data 128"
+        echo $cmd
+        $cmd
+
+        cmd="$CEPH_ADM osd pool create cephfs_metadata 128"
+        echo $cmd
+        $cmd
+
+        cmd="$CEPH_ADM fs new default cephfs_metadata cephfs_data"
+        echo $cmd
+        $cmd
        fi
        
        run 'mds' $CEPH_BIN/ceph-mds -i $name $ARGS $CMDS_ARGS