dWarn("free data disk size: %f GB, not sufficient, expected %f GB at least",(double)tsDataSpace.size.avail/1024.0/1024.0/1024.0,(double)tsDataSpace.reserved/1024.0/1024.0/1024.0);
dWarn("free temp disk size: %f GB, not sufficient, expected %f GB at least",(double)tsTempSpace.size.avail/1024.0/1024.0/1024.0,(double)tsTempSpace.reserved/1024.0/1024.0/1024.0);
}
returntrue;
// availability
boolret=true;
if(!osDataSpaceAvailable()){
dError("data disk space unavailable, i.e. %s",tsDataDir);
terrno=TSDB_CODE_VND_NO_DISKSPACE;
ret=false;
}
if(!osLogSpaceAvailable()){
dError("log disk space unavailable, i.e. %s",tsLogDir);
terrno=TSDB_CODE_VND_NO_DISKSPACE;
ret=false;
}
if(!osTempSpaceAvailable()){
dError("temp disk space unavailable, i.e. %s",tsTempDir);