Skip to content

Commit

Permalink
added missing preunmount
Browse files Browse the repository at this point in the history
  • Loading branch information
bdevcich committed Nov 13, 2024
1 parent 24af96b commit 7315219
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/controller/filesystem_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,9 @@ func newLustreFileSystem(ctx context.Context, c client.Client, nnfNodeStorage *n
"lfs setstripe -E 64K -L mdt -E 16m -c 1 -S 16m -E 1G -c 2 -E 4G -c 4 -E 16G -c 8 -E 64G -c 16 -E -1 -c -1 $MOUNT_PATH",
}
// TODO
fs.CommandArgs.PreUnmount = []string{}
fs.CommandArgs.PreUnmount = []string{
"touch $MOUNT_PATH/preunmount",
}

fs.CommandArgs.Vars = map[string]string{
"$USERID": fmt.Sprintf("%d", nnfNodeStorage.Spec.UserID),
Expand Down

0 comments on commit 7315219

Please sign in to comment.