Add check for free space on /data, dynamically determine required space