]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: remove use of obsolete mds commands
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 2 Oct 2017 00:07:05 +0000 (17:07 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 2 Oct 2017 00:22:36 +0000 (17:22 -0700)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
27 files changed:
qa/suites/fs/basic_workload/inline/yes.yaml
qa/suites/kcephfs/cephfs/inline/yes.yaml
qa/tasks/cephfs/filesystem.py
qa/tasks/cephfs/test_failover.py
qa/tasks/cephfs/test_strays.py
qa/tasks/mds_creation_failure.py
qa/workunits/cephtool/test.sh
qa/workunits/fs/misc/mkpool_layout_vxattrs.sh
qa/workunits/fs/snaps/snap-rm-diff.sh
qa/workunits/fs/snaps/snaptest-0.sh
qa/workunits/fs/snaps/snaptest-1.sh
qa/workunits/fs/snaps/snaptest-2.sh
qa/workunits/fs/snaps/snaptest-authwb.sh
qa/workunits/fs/snaps/snaptest-capwb.sh
qa/workunits/fs/snaps/snaptest-dir-rename.sh
qa/workunits/fs/snaps/snaptest-double-null.sh
qa/workunits/fs/snaps/snaptest-estale.sh
qa/workunits/fs/snaps/snaptest-git-ceph.sh
qa/workunits/fs/snaps/snaptest-intodir.sh
qa/workunits/fs/snaps/snaptest-multiple-capsnaps.sh
qa/workunits/fs/snaps/snaptest-parents.sh
qa/workunits/fs/snaps/snaptest-snap-rename.sh
qa/workunits/fs/snaps/snaptest-snap-rm-cmp.sh
qa/workunits/fs/snaps/snaptest-upchildrealms.sh
qa/workunits/fs/snaps/snaptest-xattrwb.sh
qa/workunits/fs/snaps/untar_snap_rm.sh
qa/workunits/hadoop/repl.sh

index ae5222f6bcba2f22a5c61fa110a229524a2146c5..da8677a5cdb3c45f4b59a80fa245d08a5b45ebca 100644 (file)
@@ -1,4 +1,4 @@
 tasks:
 - exec:
     client.0:
-      - sudo ceph mds set inline_data true --yes-i-really-mean-it
+      - sudo ceph fs set cephfs inline_data true --yes-i-really-mean-it
index fce64c6c11d7ad3a7efa43f2620e73e3aed8889d..6f79dd5d7cb797168b27e0d1004f2b3df3da9ebf 100644 (file)
@@ -3,4 +3,4 @@ tasks:
 - ceph:
 - exec:
     client.0:
-      - sudo ceph mds set inline_data true --yes-i-really-mean-it
+      - sudo ceph fs set cephfs inline_data true --yes-i-really-mean-it
index 44f6cbaf16dbf0e9e9e2418dfed9f5dd9ca4acbd..2cee8f963519ad9babf4e92e2bb316905162381a 100644 (file)
@@ -441,6 +441,9 @@ class Filesystem(MDSCluster):
     def set_allow_dirfrags(self, yes):
         self.mon_manager.raw_cluster_cmd("fs", "set", self.name, "allow_dirfrags", str(yes).lower(), '--yes-i-really-mean-it')
 
+    def set_allow_new_snaps(self, yes):
+        self.mon_manager.raw_cluster_cmd("fs", "set", self.name, "allow_new_snaps", str(yes).lower(), '--yes-i-really-mean-it')
+
     def get_pgs_per_fs_pool(self):
         """
         Calculate how many PGs to use when creating a pool, in order to avoid raising any
index 9d3392c6953834c286c0ad010db0d85a027e76b3..3dfb29889904fa7d2ff56c32b4244896d13507fe 100644 (file)
@@ -277,7 +277,7 @@ class TestStandbyReplay(CephFSTestCase):
 
         # Shrink the cluster
         fs_a.set_max_mds(1)
-        fs_a.mon_manager.raw_cluster_cmd("mds", "stop", "{0}:1".format(fs_a.name))
+        fs_a.mon_manager.raw_cluster_cmd("mds", "deactivate", "{0}:1".format(fs_a.name))
         self.wait_until_equal(
             lambda: fs_a.get_active_names(), [mds_a],
             60
index b64f3e931dca692e6e3681cf2e270c04f3987c5d..3c2a86993f2da71c0272be1f9f65664e8392be4d 100644 (file)
@@ -638,8 +638,8 @@ class TestStrays(CephFSTestCase):
                                mds_id=rank_1_id)
 
         # Shut down rank 1
-        self.fs.mon_manager.raw_cluster_cmd_result('mds', 'set', "max_mds", "1")
-        self.fs.mon_manager.raw_cluster_cmd_result('mds', 'deactivate', "1")
+        self.fs.set_max_mds(1)
+        self.fs.deactivate(1)
 
         # Wait til we get to a single active MDS mdsmap state
         self.wait_until_true(lambda: self._is_stopped(1), timeout=120)
@@ -744,8 +744,7 @@ class TestStrays(CephFSTestCase):
         in purging on the stray for the file.
         """
         # Enable snapshots
-        self.fs.mon_manager.raw_cluster_cmd("mds", "set", "allow_new_snaps", "true",
-                                            "--yes-i-really-mean-it")
+        self.fs.set_allow_new_snaps(True)
 
         # Create a dir with a file in it
         size_mb = 8
index d1de15694421dee557cb6b37bafc308c29f5cac0..16422929adb9a8f8070736013c64826198c8bfdf 100644 (file)
@@ -29,10 +29,9 @@ def task(ctx, config):
     )
 
     # Stop MDS
-    manager.raw_cluster_cmd('mds', 'set', "max_mds", "0")
-    mds = ctx.daemons.get_daemon('mds', mds_id)
-    mds.stop()
-    manager.raw_cluster_cmd('mds', 'fail', mds_id)
+    self.fs.set_max_mds(0)
+    self.fs.mds_stop(mds_id)
+    self.fs.mds_fail(mds_id)
 
     # Reset the filesystem so that next start will go into CREATING
     manager.raw_cluster_cmd('fs', 'rm', "default", "--yes-i-really-mean-it")
index dee202f3bfb6dbd0e3b05fdde1aaf535a5212d30..fdb12ac1c902e8bcfde871cf81ea522b245bd73f 100755 (executable)
@@ -614,7 +614,7 @@ function test_auth_profiles()
   ceph -n client.xx-profile-ro -k client.xx.keyring osd dump
   ceph -n client.xx-profile-ro -k client.xx.keyring pg dump
   ceph -n client.xx-profile-ro -k client.xx.keyring mon dump
-  ceph -n client.xx-profile-ro -k client.xx.keyring mds dump
+  ceph -n client.xx-profile-ro -k client.xx.keyring fs get cephfs
   # read-only gets access denied for rw commands or auth commands
   ceph -n client.xx-profile-ro -k client.xx.keyring log foo >& $TMPFILE || true
   check_response "EACCES: access denied"
@@ -628,7 +628,7 @@ function test_auth_profiles()
   ceph -n client.xx-profile-rw -k client.xx.keyring osd dump
   ceph -n client.xx-profile-rw -k client.xx.keyring pg dump
   ceph -n client.xx-profile-rw -k client.xx.keyring mon dump
-  ceph -n client.xx-profile-rw -k client.xx.keyring mds dump
+  ceph -n client.xx-profile-rw -k client.xx.keyring fs dump
   ceph -n client.xx-profile-rw -k client.xx.keyring log foo
   ceph -n client.xx-profile-rw -k client.xx.keyring osd set noout
   ceph -n client.xx-profile-rw -k client.xx.keyring osd unset noout
@@ -650,7 +650,7 @@ function test_auth_profiles()
   # but read-write 'mon' commands are not
   ceph -n client.xx-profile-rd -k client.xx.keyring mon add foo 1.1.1.1 >& $TMPFILE || true
   check_response "EACCES: access denied"
-  ceph -n client.xx-profile-rd -k client.xx.keyring mds dump >& $TMPFILE || true
+  ceph -n client.xx-profile-rd -k client.xx.keyring fs dump >& $TMPFILE || true
   check_response "EACCES: access denied"
   ceph -n client.xx-profile-rd -k client.xx.keyring log foo >& $TMPFILE || true
   check_response "EACCES: access denied"
@@ -892,10 +892,6 @@ function test_mon_mds()
   ceph fs set $FS_NAME cluster_down true
   ceph fs set $FS_NAME cluster_down false
 
-  # Legacy commands, act on default fs
-  ceph mds cluster_down
-  ceph mds cluster_up
-
   ceph mds compat rm_incompat 4
   ceph mds compat rm_incompat 4
 
@@ -905,7 +901,6 @@ function test_mon_mds()
 
   ceph mds compat show
   expect_false ceph mds deactivate 2
-  ceph mds dump
   ceph fs dump
   ceph fs get $FS_NAME
   for mds_gid in $(get_mds_gids $FS_NAME) ; do
@@ -917,7 +912,7 @@ function test_mon_mds()
 
   # XXX mds fail, but how do you undo it?
   mdsmapfile=$TEMP_DIR/mdsmap.$$
-  current_epoch=$(ceph mds getmap -o $mdsmapfile --no-log-to-stderr 2>&1 | grep epoch | sed 's/.*epoch //')
+  current_epoch=$(ceph fs dump -o $mdsmapfile --no-log-to-stderr 2>&1 | grep epoch | sed 's/.*epoch //')
   [ -s $mdsmapfile ]
   rm $mdsmapfile
 
@@ -925,52 +920,52 @@ function test_mon_mds()
   ceph osd pool create data3 10
   data2_pool=$(ceph osd dump | grep "pool.*'data2'" | awk '{print $2;}')
   data3_pool=$(ceph osd dump | grep "pool.*'data3'" | awk '{print $2;}')
-  ceph mds add_data_pool $data2_pool
-  ceph mds add_data_pool $data3_pool
-  ceph mds add_data_pool 100 >& $TMPFILE || true
+  ceph fs add_data_pool cephfs $data2_pool
+  ceph fs add_data_pool cephfs $data3_pool
+  ceph fs add_data_pool cephfs 100 >& $TMPFILE || true
   check_response "Error ENOENT"
-  ceph mds add_data_pool foobarbaz >& $TMPFILE || true
+  ceph fs add_data_pool cephfs foobarbaz >& $TMPFILE || true
   check_response "Error ENOENT"
-  ceph mds remove_data_pool $data2_pool
-  ceph mds remove_data_pool $data3_pool
+  ceph fs remove_data_pool cephfs $data2_pool
+  ceph fs remove_data_pool cephfs $data3_pool
   ceph osd pool delete data2 data2 --yes-i-really-really-mean-it
   ceph osd pool delete data3 data3 --yes-i-really-really-mean-it
-  ceph mds set allow_multimds false
-  expect_false ceph mds set_max_mds 4
-  ceph mds set allow_multimds true
-  ceph mds set_max_mds 4
-  ceph mds set_max_mds 3
-  ceph mds set_max_mds 256
-  expect_false ceph mds set_max_mds 257
-  ceph mds set max_mds 4
-  ceph mds set max_mds 256
-  expect_false ceph mds set max_mds 257
-  expect_false ceph mds set max_mds asdf
-  expect_false ceph mds set inline_data true
-  ceph mds set inline_data true --yes-i-really-mean-it
-  ceph mds set inline_data yes --yes-i-really-mean-it
-  ceph mds set inline_data 1 --yes-i-really-mean-it
-  expect_false ceph mds set inline_data --yes-i-really-mean-it
-  ceph mds set inline_data false
-  ceph mds set inline_data no
-  ceph mds set inline_data 0
-  expect_false ceph mds set inline_data asdf
-  ceph mds set max_file_size 1048576
-  expect_false ceph mds set max_file_size 123asdf
-
-  expect_false ceph mds set allow_new_snaps
-  expect_false ceph mds set allow_new_snaps true
-  ceph mds set allow_new_snaps true --yes-i-really-mean-it
-  ceph mds set allow_new_snaps 0
-  ceph mds set allow_new_snaps false
-  ceph mds set allow_new_snaps no
-  expect_false ceph mds set allow_new_snaps taco
+  ceph fs set cephfs allow_multimds false
+  expect_false ceph fs set cephfs max_mds 4
+  ceph fs set cephfs allow_multimds true
+  ceph fs set cephfs max_mds 4
+  ceph fs set cephfs max_mds 3
+  ceph fs set cephfs max_mds 256
+  expect_false ceph fs set cephfs max_mds 257
+  ceph fs set cephfs max_mds 4
+  ceph fs set cephfs max_mds 256
+  expect_false ceph fs set cephfs max_mds 257
+  expect_false ceph fs set cephfs max_mds asdf
+  expect_false ceph fs set cephfs inline_data true
+  ceph fs set cephfs inline_data true --yes-i-really-mean-it
+  ceph fs set cephfs inline_data yes --yes-i-really-mean-it
+  ceph fs set cephfs inline_data 1 --yes-i-really-mean-it
+  expect_false ceph fs set cephfs inline_data --yes-i-really-mean-it
+  ceph fs set cephfs inline_data false
+  ceph fs set cephfs inline_data no
+  ceph fs set cephfs inline_data 0
+  expect_false ceph fs set cephfs inline_data asdf
+  ceph fs set cephfs max_file_size 1048576
+  expect_false ceph fs set cephfs max_file_size 123asdf
+
+  expect_false ceph fs set cephfs allow_new_snaps
+  expect_false ceph fs set cephfs allow_new_snaps true
+  ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
+  ceph fs set cephfs allow_new_snaps 0
+  ceph fs set cephfs allow_new_snaps false
+  ceph fs set cephfs allow_new_snaps no
+  expect_false ceph fs set cephfs allow_new_snaps taco
 
   # we should never be able to add EC pools as data or metadata pools
   # create an ec-pool...
   ceph osd pool create mds-ec-pool 10 10 erasure
   set +e
-  ceph mds add_data_pool mds-ec-pool 2>$TMPFILE
+  ceph fs add_data_pool cephfs mds-ec-pool 2>$TMPFILE
   check_response 'erasure-code' $? 22
   set -e
   ec_poolnum=$(ceph osd dump | grep "pool.* 'mds-ec-pool" | awk '{print $2;}')
@@ -985,8 +980,8 @@ function test_mon_mds()
   ceph mds rmfailed 0 --yes-i-really-mean-it
   set -e
 
-  # Check that `newfs` is no longer permitted
-  expect_false ceph mds newfs $metadata_poolnum $data_poolnum --yes-i-really-mean-it 2>$TMPFILE
+  # Check that `fs new` is no longer permitted
+  expect_false ceph fs new cephfs $metadata_poolnum $data_poolnum --yes-i-really-mean-it 2>$TMPFILE
 
   # Check that 'fs reset' runs
   ceph fs reset $FS_NAME --yes-i-really-mean-it
@@ -1119,7 +1114,6 @@ function test_mon_mds()
   # ceph mds rm
   # ceph mds rmfailed
   # ceph mds set_state
-  # ceph mds stop
 
   ceph osd pool delete fs_data fs_data --yes-i-really-really-mean-it
   ceph osd pool delete fs_metadata fs_metadata --yes-i-really-really-mean-it
@@ -1130,7 +1124,7 @@ function test_mon_mds_metadata()
   local nmons=$(ceph tell 'mon.*' version | grep -c 'version')
   test "$nmons" -gt 0
 
-  ceph mds dump |
+  ceph fs dump |
   sed -nEe "s/^([0-9]+):.*'([a-z])' mds\\.([0-9]+)\\..*/\\1 \\2 \\3/p" |
   while read gid id rank; do
     ceph mds metadata ${gid} | grep '"hostname":'
index 119386b3eb86c25a55217e7713d156c7f64ba092..0d543dce8a9eb39dc932ac25bc4a23a259dc12ec 100755 (executable)
@@ -4,12 +4,12 @@ set -e
 
 touch foo.$$
 rados mkpool foo.$$
-ceph mds add_data_pool foo.$$
+ceph fs add_data_pool cephfs foo.$$
 setfattr -n ceph.file.layout.pool -v foo.$$ foo.$$
 
 # cleanup
 rm foo.$$
-ceph mds remove_data_pool foo.$$
+ceph fs remove_data_pool cephfs foo.$$
 rados rmpool foo.$$ foo.$$ --yes-i-really-really-mean-it
 
 echo OK
index c1b6c24b70392c38816845846da98ab4edd26764..63f642878bee957b48deca2a8fad6c81933ca382 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh -ex
 
-ceph mds set allow_new_snaps true --yes-i-really-mean-it
+ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
 wget -q http://download.ceph.com/qa/linux-2.6.33.tar.bz2
 mkdir foo
 cp linux* foo
index b57763aeba919558487b80c08be36a4fee0d83cf..791caf9ec19b9d3e6b390fa13dd02780699ff7ab 100755 (executable)
@@ -5,9 +5,9 @@ expect_failure() {
 }
 set -e
 
-ceph mds set allow_new_snaps false
+ceph fs set cephfs allow_new_snaps false
 expect_failure mkdir .snap/foo
-ceph mds set allow_new_snaps true --yes-i-really-mean-it
+ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
 
 echo asdf > foo
 mkdir .snap/foo
@@ -21,7 +21,7 @@ grep asdf .snap/bar/bar
 rmdir .snap/bar
 rm foo
 
-ceph mds set allow_new_snaps false
+ceph fs set cephfs allow_new_snaps false
 expect_failure mkdir .snap/baz
 
 echo OK
index 4d892ca38a997f16be7f0a22f80e3b4b3178b34e..476531fc4d8fb14eafc89f123cf47ef02abc80ea 100755 (executable)
@@ -2,7 +2,7 @@
 
 set -ex
 
-ceph mds set allow_new_snaps true --yes-i-really-mean-it
+ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
 
 echo 1 > file1
 echo 2 > file2
index a4438f729466adb59f775eb34f81f50b964adc20..6ded7b66990d2b2a17c4620b2563e5505bb0b4e1 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 
-ceph mds set allow_new_snaps true --yes-i-really-mean-it
+ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
 
 echo "Create dir 100 to 199 ..."
 for i in $(seq 100 199); do
index 9dd98458f6be3ad3e74948c71473b8bc397d5e18..2c53e2a6117cb0eb7bbadcee9c860fdd58ebea22 100755 (executable)
@@ -2,7 +2,7 @@
 
 set -e
 
-ceph mds set allow_new_snaps true --yes-i-really-mean-it
+ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
 
 touch foo
 chmod +x foo
index 3b6a01a44f65e7ca661877fcbb34bfe1942568f2..f36d38ab5c056c2d0317b753f14e27dbf8b7c410 100755 (executable)
@@ -4,7 +4,7 @@ set -e
 
 mkdir foo
 
-ceph mds set allow_new_snaps true --yes-i-really-mean-it
+ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
 
 # make sure mds handles it when the client does not send flushsnap
 echo x > foo/x
index b98358a48e360d06e2917b6ab84317907596ef1a..85b929a25b07c9ab0b854567e6279a6d474a26c8 100755 (executable)
@@ -2,7 +2,7 @@
 
 set -e
 
-ceph mds set allow_new_snaps true --yes-i-really-mean-it
+ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
 
 #
 # make sure we keep an existing dn's seq
index b5472138781488206263b8e46ad0529c87307f42..49a1b271c50ff798b35b4de7dad279a3dae5dd65 100755 (executable)
@@ -2,7 +2,7 @@
 
 set -e
 
-ceph mds set allow_new_snaps true --yes-i-really-mean-it
+ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
 
 # multiple intervening snapshots with no modifications, and thus no
 # snapflush client_caps messages.  make sure the mds can handle this.
index 1465a35682f7f7ca1eede8753bf3f5d707acb316..e005b9a820bdfb89b454ccae5334b47e845a64d0 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh -x
 
-ceph mds set allow_new_snaps true --yes-i-really-mean-it
+ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
 
 mkdir .snap/foo
 
index 1769fe82efb157e31e3e1e271d9feac2e686ed38..50b854a5583d8839b1e007a0ef066f6ce137da60 100755 (executable)
@@ -2,7 +2,7 @@
 
 set -e
 
-ceph mds set allow_new_snaps true --yes-i-really-mean-it
+ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
 
 git clone git://git.ceph.com/ceph.git
 cd ceph
index 729baa1dc56ce476d23259d318f37d97a01996fe..94af442278bbfaf050c20271dc6eea29acce5087 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh -ex
 
-ceph mds set allow_new_snaps true --yes-i-really-mean-it
+ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
 
 # this tests fix for #1399
 mkdir foo
index bc58bac35b4ed720a08818904f42f5da2776db46..56ceaa8a95e10c19e7c5db2afcbc65f90ac5a9f9 100755 (executable)
@@ -2,7 +2,7 @@
 
 set -e
 
-ceph mds set allow_new_snaps true --yes-i-really-mean-it
+ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
 
 echo asdf > a
 mkdir .snap/1
index 6b76fdb2a971a34724334ca1f91e08d28fa9a39d..3e9b85c51a11d30a6100fcb4b9c74ebd08560f7f 100755 (executable)
@@ -2,7 +2,7 @@
 
 set -e
 
-ceph mds set allow_new_snaps true --yes-i-really-mean-it
+ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
 
 echo "making directory tree and files"
 mkdir -p 1/a/b/c/
index e48b10b3877c68d313c5f8a9e7718765946b1277..414ba0e35ef486b53f7961f3a6b2ba11e680d958 100755 (executable)
@@ -5,7 +5,7 @@ expect_failure() {
 }
 set -e
 
-ceph mds set allow_new_snaps true --yes-i-really-mean-it
+ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
 
 mkdir -p d1/d2
 mkdir -p d1/d3
index 8b1ca5bffff8802fe6ad793993fffaa45116f823..c5bd65e9a8f7e308de0710dbe6b7f4995089064f 100755 (executable)
@@ -2,7 +2,7 @@
 
 set -e
 
-ceph mds set allow_new_snaps true --yes-i-really-mean-it
+ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
 
 file=linux-2.6.33.tar.bz2
 wget -q http://download.ceph.com/qa/$file
index 64a99ea0ecc46e824109dadda2bc3e115770f2b0..a4cc9ab304b69cfe5e54918467585d14a7c6c1f9 100755 (executable)
@@ -2,7 +2,7 @@
 
 set -e
 
-ceph mds set allow_new_snaps true --yes-i-really-mean-it
+ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
 
 #
 # verify that a snap update on a parent realm will induce
index af28b6379170354b94c1be79935b7f67b00af3d4..09398878092fa8715558a0e0ab7c1e5507e65308 100755 (executable)
@@ -2,7 +2,7 @@
 
 set -e
 
-ceph mds set allow_new_snaps true --yes-i-really-mean-it
+ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
 
 echo "testing simple xattr wb"
 touch x
index b337aea7e99f0a6a604a7b2c4ba6c15ea5bdbd03..928e8911ba846a6eddaee124fc5e1aeae2527caf 100755 (executable)
@@ -2,7 +2,7 @@
 
 set -e
 
-ceph mds set allow_new_snaps true --yes-i-really-mean-it
+ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
 
 do_tarball() {
     wget http://download.ceph.com/qa/$1
index 060091c3006cd6f12bede0bea90ad1157a8fdda1..84f6150ab78e0bf6fdb7ca905f99e712fc0ca36f 100755 (executable)
@@ -16,7 +16,7 @@ for repl in 2 3 7 8 9; do
   ceph osd pool set $name size $repl
 
   id=`ceph osd dump | sed -n "s/^pool \([0-9]*\) '$name'.*/\1/p"`
-  ceph mds add_data_pool $id
+  ceph fs add_data_pool cephfs $id
 done
 
 # create a file in each of the pools