mirror of
https://github.com/ceph/ceph
synced 2024-12-23 20:03:56 +00:00
4580cf5d79
Signed-off-by: Yan, Zheng <zyan@redhat.com>
12 lines
301 B
Bash
Executable File
12 lines
301 B
Bash
Executable File
#!/bin/sh -ex
|
|
|
|
ceph mds set 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
|
|
mkdir foo/.snap/barsnap
|
|
rm foo/linux*
|
|
diff -q foo/.snap/barsnap/linux* linux* && echo "passed: files are identical"
|
|
rmdir foo/.snap/barsnap
|
|
echo OK
|