Maybe use something like:

```
while [ ! -e $DATA_PARTITION ]; do
    sleep 1
done
```