forked from DDNStorage/xfstests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.redfs.passthrough_ll
30 lines (26 loc) · 1.04 KB
/
README.redfs.passthrough_ll
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Note: passthrough_ll is very very slow in testing therefore passthrugh_hp
is preferred for redfs which completes within couple of hrs. We are
adding this example for future references if any.
Here are instructions for testing redfs using the passthrough_ll example
filesystem provided in the red-libfuse source tree:
git clone [email protected]:DDNStorage/red-libfuse.git
cd red-libfuse
meson build
cd build
ninja
cat << EOF | sudo tee /sbin/mount.redfs.passthrough_ll
#!/bin/bash
ulimit -n 1048576
exec $(pwd)/example/passthrough_ll -ofsname="\$@" -o subtype=passthrough_ll
EOF
sudo chmod +x /sbin/mount.redfs.passthrough_ll
mkdir -p /mnt/test /mnt/scratch /home/test/test /home/test/scratch
Use the following local.config file:
export TEST_DEV=non1
export TEST_DIR=/mnt/test
export SCRATCH_DEV=non2
export SCRATCH_MNT=/mnt/scratch
export FSTYP=redfs
export FUSE_SUBTYP=.passthrough_ll
export MOUNT_OPTIONS="-osource=/home/test/scratch,allow_other,default_permissions"
export TEST_FS_MOUNT_OPTS="-osource=/home/test/test,allow_other,default_permissions"