]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart.sh: create default fs via 'fs volume create'
authorSage Weil <sage@redhat.com>
Tue, 27 Nov 2018 19:14:07 +0000 (13:14 -0600)
committerSage Weil <sage@redhat.com>
Tue, 27 Nov 2018 19:14:07 +0000 (13:14 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
src/vstart.sh

index 2f6d2608005b7e3630f5f9d551676bfd254d1e04..248bc471d7052a8e36d1405baca9070c32f28d13 100755 (executable)
@@ -815,10 +815,8 @@ EOF
             local fs=0
             for name in a b c d e f g h i j k l m n o p
             do
-                ceph_adm osd pool create "cephfs_data_${name}" 8
-                ceph_adm osd pool create "cephfs_metadata_${name}" 8
-                ceph_adm fs new "cephfs_${name}" "cephfs_metadata_${name}" "cephfs_data_${name}"
-                                        ceph_adm fs authorize "cephfs_${name}" "client.fs_${name}" / rwp
+               ceph_adm fs volume create ${name}
+               ceph_adm fs authorize ${name} "client.fs_${name}" / rwp
                 fs=$(($fs + 1))
                 [ $fs -eq $CEPH_NUM_FS ] && break
             done