Skip to content

Commit

Permalink
longhorn: use longhorn recovery-backend
Browse files Browse the repository at this point in the history
Longhorn 2293

Signed-off-by: Derek Su <derek.su@suse.com>
  • Loading branch information
derekbit authored and innobead committed Aug 25, 2022
1 parent 2854196 commit 640be93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ RUN zypper -n install autoconf bison curl cmake doxygen make git gcc-c++ flex Me
tar gzip dbus-1-devel lsb-release graphviz-devel libnsl-devel libcurl-devel libjson-c-devel && \
rm -rf /var/cache/zypp/*

RUN curl -L https://github.com/longhorn/nfs-ganesha/archive/refs/tags/v4_20220803.tar.gz | tar zx \
RUN curl -L https://github.com/longhorn/nfs-ganesha/archive/refs/tags/v4_20220824.tar.gz | tar zx \
&& curl -L https://github.com/nfs-ganesha/ntirpc/archive/v4.0.tar.gz | tar zx \
&& mv nfs-ganesha-4_20220803 nfs-ganesha-4.0 \
&& mv nfs-ganesha-4_20220824 nfs-ganesha-4.0 \
&& rm -r nfs-ganesha-4.0/src/libntirpc \
&& mv ntirpc-4.0 nfs-ganesha-4.0/src/libntirpc
WORKDIR /nfs-ganesha-4.0
Expand Down
6 changes: 2 additions & 4 deletions pkg/server/nfs/nfs_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,9 @@ LOG {
NFSV4
{
Lease_Lifetime = 60;
Graceless = true;
Grace_Period = 0;
Grace_Period = 90;
Minor_Versions = 1, 2;
RecoveryBackend = fs_ng;
RecoveryRoot = /tmp;
RecoveryBackend = longhorn;
Only_Numeric_Owners = true;
}
Expand Down

0 comments on commit 640be93

Please sign in to comment.