mirror of
https://github.com/ceph/ceph
synced 2024-12-21 10:54:42 +00:00
4580cf5d79
Signed-off-by: Yan, Zheng <zyan@redhat.com>
19 lines
235 B
Bash
Executable File
19 lines
235 B
Bash
Executable File
#!/bin/sh -x
|
|
|
|
set -e
|
|
|
|
ceph mds set allow_new_snaps true --yes-i-really-mean-it
|
|
|
|
#
|
|
# make sure we keep an existing dn's seq
|
|
#
|
|
|
|
mkdir a
|
|
mkdir .snap/bar
|
|
mkdir a/.snap/foo
|
|
rmdir a/.snap/foo
|
|
rmdir a
|
|
stat .snap/bar/a
|
|
rmdir .snap/bar
|
|
|
|
echo OK |