We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12404fb commit ee48ce2Copy full SHA for ee48ce2
ydb/deploy/local_binary/linux/start.sh
@@ -42,11 +42,15 @@ elif [[ $1 = "disk" ]]; then
42
echo Data file ydb.data not found, creating ...
43
fallocate -l 80G ydb.data
44
if [[ $? -ge 1 ]]; then
45
- if [ -f ydb.data ]; then
46
- rm ydb.data
+ echo fallocate failed. Proably not supported by FS, trying to use dd ...
+ dd if=/dev/zero of=ydb.data bs=1G count=0 seek=80
47
+ if [[ $? -ge 1 ]]; then
48
+ if [ -f ydb.data ]; then
49
+ rm ydb.data
50
+ fi
51
+ echo Error creating data file
52
+ exit
53
fi
- echo Error creating data file
- exit
54
55
need_init=1
56
0 commit comments