Skip to content

Commit

Permalink
[fix]curvefs:make image/create fs error
Browse files Browse the repository at this point in the history
Signed-off-by: Cyber-SiKu <[email protected]>
  • Loading branch information
Cyber-SiKu authored and wuhongsong committed Jan 10, 2023
1 parent 740debe commit 4f20898
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions curvefs/conf/tools.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ volumeName=volume
volumeUser=user
volumePassword=password
volumeBlockGroupSize=134217728
volumeCluster=127.0.0.1:6666,127.0.0.1:6667,127.0.0.1:6668
# support |AtStart| and |AtEnd|
volumeBitmapLocation=AtStart
# s3
Expand Down
1 change: 1 addition & 0 deletions curvefs/src/tools/create/curvefs_create_fs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ void CreateFsTool::AddUpdateFlags() {
AddUpdateFlagsFunc(curvefs::tools::SetVolumePassword);
AddUpdateFlagsFunc(curvefs::tools::SetVolumeBlockSize);
AddUpdateFlagsFunc(curvefs::tools::SetVolumeBitmapLocation);
AddUpdateFlagsFunc(curvefs::tools::SetVolumeCluster);
AddUpdateFlagsFunc(curvefs::tools::SetS3_ak);
AddUpdateFlagsFunc(curvefs::tools::SetS3_sk);
AddUpdateFlagsFunc(curvefs::tools::SetS3_endpoint);
Expand Down
2 changes: 2 additions & 0 deletions util/image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,7 @@ do
tmpl $dsv "$dir/$file" "$prefix/conf/$dst"
done

cp conf/client.conf $prefix/conf/curvebs-client.conf

docker pull opencurvedocker/curve-base:$3
docker build -t "$2" "$docker_prefix"

0 comments on commit 4f20898

Please sign in to comment.